Module datarush.commons
Class GenericTCPServer.ServerContext
- java.lang.Object
-
- com.pervasive.datarush.commons.util.GenericTCPServer.ServerContext
-
- Enclosing class:
- GenericTCPServer
public final class GenericTCPServer.ServerContext extends Object
Information passed to a server implementation to provide execution context.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddress
getListenAddress()
Returns the address on which the server is listening.void
startShutdown()
Can be invoked to start shutdown of the server
-
-
-
Method Detail
-
getListenAddress
public InetSocketAddress getListenAddress()
Returns the address on which the server is listening.- Returns:
- the listening address for the server
-
startShutdown
public void startShutdown()
Can be invoked to start shutdown of the server
-
-