A D G I N O S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AFUNIXSocketServer - Class in org.newsclub.net.unix.server
-
A base implementation for a simple, multi-threaded socket server.
- AFUNIXSocketServer(ServerSocket) - Constructor for class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Creates a server using the given, bound
ServerSocket. - AFUNIXSocketServer(SocketAddress) - Constructor for class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Creates a server using the given
SocketAddress.
D
- doServeSocket(Socket) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when a socket is ready to be served.
G
- getMaxConcurrentConnections() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- getServerBusyTimeout() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- getServerTimeout() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- getSocketTimeout() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
I
- isReady() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Checks if the server is running and accepting new connections.
- isRunning() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Checks if the server is running.
N
- newServerSocket() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
O
- onAfterServingSocket(Socket) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called after the socket has been served.
- onBeforeServingSocket(Socket) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called before serving the socket.
- onListenException(Exception) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when an exception was thrown while listening on the server socket.
- onServerBound(SocketAddress) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when the server has been bound to a socket.
- onServerBusy(long) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when the server is busy / not ready to accept a new connection.
- onServerReady(int) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when the server is ready to accept a new connection.
- onServerShuttingDown() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when the server is shutting down.
- onServerStarting() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when the server is starting up.
- onServerStopped(ServerSocket) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when the server has been stopped.
- onServingException(Socket, Exception) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when an exception was thrown while serving a socket.
- onSocketExceptionAfterAccept(Socket, SocketException) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when a
SocketExceptionwas thrown during "accept". - onSocketExceptionDuringAccept(SocketException) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when a
SocketExceptionwas thrown during "accept". - onSubmitted(Socket, Future<?>) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Called when a socket gets submitted into the process queue.
- org.newsclub.net.unix.server - module org.newsclub.net.unix.server
- org.newsclub.net.unix.server - package org.newsclub.net.unix.server
S
- setMaxConcurrentConnections(int) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- setServerBusyTimeout(int) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- setServerTimeout(int) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- setSocketTimeout(int) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
- start() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Starts the server, and returns immediately.
- startAndWait(long, TimeUnit) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Starts the server and waits until it is ready or had to shop due to an error.
- stop() - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Stops the server.
- stopAfter(long, TimeUnit) - Method in class org.newsclub.net.unix.server.AFUNIXSocketServer
-
Requests that the server will be stopped after the given time delay.
All Classes All Packages