| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AFGenericSocket | accept()
Overrides org. Listens for a connection to be made to this socket and accepts it. |
| public static AFGenericServerSocket | Returns: The new, boundAFServerSocket.The socket file to bind to. addr)Returns a new unkown-type |
| public static AFGenericServerSocket | Returns: The new, boundAFServerSocket.The socket file to bind to. addr, boolean If deleteOnClose)true, the socket file (if the address points to a file) will be
deleted upon close.Returns a new unkown-type |
| public static AFGenericServerSocket | Returns: The new, yet unboundAFServerSocket.The address to use. forceAddr)Returns a new, unbound unkown-type |
| public AFGenericServerSocketChannel | getChannel()
Overrides org. Returns the unique |
| protected AFServerSocketChannel | newChannel()
Implements abstract org. Creates a new AFServerSocketChannel for this socket. |
| protected AFSocketImpl | newImpl(FileDescriptor
The file descriptor. fdObj)Implements abstract org. Creates a new AFSocketImpl. |
| public static AFGenericServerSocket | Returns: The new, unboundAFServerSocket.Returns a new, unbound unkown-type |
| pack-priv static AFGenericServerSocket | |
| protected AFSocket | newSocketInstance()
Implements abstract org. Returns a new |
| AFGenericServerSocket | back to summary |
|---|---|
| pack-priv AFGenericServerSocket(FileDescriptor fdObj) throws IOException | |
| accept | back to summary |
|---|---|
| public AFGenericSocket accept() throws IOException Overrides org. Doc from java. Listens for a connection to be made to this socket and accepts it. The method blocks until a connection is made. This method is interruptible in the following circumstances:
| |
| bindOn | back to summary |
|---|---|
| public static AFGenericServerSocket bindOn(final AFGenericSocketAddress addr) throws IOException Returns a new unkown-type
| |
| bindOn | back to summary |
|---|---|
| public static AFGenericServerSocket bindOn(final AFGenericSocketAddress addr, boolean deleteOnClose) throws IOException Returns a new unkown-type
| |
| forceBindOn | back to summary |
|---|---|
| public static AFGenericServerSocket forceBindOn(final AFGenericSocketAddress forceAddr) throws IOException Returns a new, unbound unkown-type
| |
| getChannel | back to summary |
|---|---|
| public AFGenericServerSocketChannel getChannel() Overrides org. Doc from java. Returns the unique A server socket will have a channel if, and only if, the channel
itself was created via the
| |
| newChannel | back to summary |
|---|---|
| protected AFServerSocketChannel Implements abstract org. Doc from org. Creates a new AFServerSocketChannel for this socket.
| |
| newImpl | back to summary |
|---|---|
| protected AFSocketImpl Implements abstract org. Doc from org. Creates a new AFSocketImpl.
| |
| newInstance | back to summary |
|---|---|
| public static AFGenericServerSocket newInstance() throws IOException Returns a new, unbound unkown-type
| |
| newInstance | back to summary |
|---|---|
| pack-priv static AFGenericServerSocket newInstance(FileDescriptor fdObj, int localPort, int remotePort) throws IOException | |
| newSocketInstance | back to summary |
|---|---|
| protected AFSocket Implements abstract org. Doc from org. Returns a new
| |