public interface DisposableServer extends DisposableChannel
Disposable.Composite, Disposable.Swap| Modifier and Type | Method and Description | 
|---|---|
default SocketAddress | 
address()
When on the server, returns the bind address,
 when on the client, returns the remote address. 
 | 
default String | 
host()
Returns the server's host string. 
 | 
default String | 
path()
Returns the server's path to the domain socket. 
 | 
default int | 
port()
Returns this server's port. 
 | 
channel, dispose, disposeNow, disposeNow, disposeSubscriber, isDisposed, onDispose, onDisposedefault SocketAddress address()
DisposableChanneladdress in interface DisposableChannelSocketAddressdefault String host()
UnsupportedOperationException - when Unix Domain SocketsDisposableChannel.address(), 
InetSocketAddress.getHostString()default String path()
null in case it is not Unix Domain Sockets.UnsupportedOperationException - when it is not Unix Domain Socketsdefault int port()
UnsupportedOperationException - when Unix Domain Sockets