public interface DataServer extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
DataServer.Factory
Factory for
DataServer . |
Modifier and Type | Method and Description |
---|---|
void |
awaitTermination()
Waits for server to terminate.
|
SocketAddress |
getBindAddress()
Gets the actual bind socket address.
|
boolean |
isClosed()
Checks if the
DataServer is closed. |
SocketAddress getBindAddress()
InetSocketAddress
or a
DomainSocketAddress
.boolean isClosed()
DataServer
is closed.DataServer
is closed, false otherwisevoid awaitTermination()
Copyright © 2023. All Rights Reserved.