class MuxServerSocket extends DelegatingServerSocket
ServerSocket
associated with a
MuxServerSocketChannel
.channel, delegate
Constructor and Description |
---|
MuxServerSocket(MuxingServerSocket delegate,
MuxServerSocketChannel channel)
Initializes a new
MuxServerSocket instance which delegates (its
method calls) to a specific MuxingServerSocket and is associated
with a specific MuxServerSocketChannel . |
accept, bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSoTimeout, toString
implAccept, setSocketFactory
public MuxServerSocket(MuxingServerSocket delegate, MuxServerSocketChannel channel) throws IOException
MuxServerSocket
instance which delegates (its
method calls) to a specific MuxingServerSocket
and is associated
with a specific MuxServerSocketChannel
.delegate
- the MuxingServerSocket
the new instance is to
delegate (its method calls) to. Technically, it is the socket
of
the delegate
of channel
.channel
- the MuxServerSocketChannel
associated with the new
instanceIOException
- if an I/O error occursCopyright © 2018. All rights reserved.