Package | Description |
---|---|
org.quickserver.net.qsadmin |
Contains all of the classes for creating QSAdminServer.
|
org.quickserver.net.server |
Contains all of the classes for creating QuickServer.
|
org.quickserver.net.server.impl |
Contains all of the implementation classes for interface in server package.
|
org.quickserver.util.io |
Support classes for IO operation.
|
Modifier and Type | Method and Description |
---|---|
AuthStatus |
Authenticator.askAuthentication(ClientHandler handler) |
void |
CommandHandler.closingConnection(ClientHandler handler) |
void |
CommandHandler.gotConnected(ClientHandler handler) |
AuthStatus |
Authenticator.handleAuthentication(ClientHandler handler,
java.lang.String command) |
boolean |
CommandPlugin.handleCommand(ClientHandler handler,
java.lang.String command)
Method called every time client sends a command to QsAdminServer.
|
void |
CommandHandler.handleCommand(ClientHandler handler,
java.lang.String command) |
void |
CommandHandler.lostConnection(ClientHandler handler) |
Modifier and Type | Method and Description |
---|---|
ClientHandler |
QuickServer.findClientByKey(java.lang.String key)
Tries to find the Client by the Key passed.
|
ClientHandler |
ClientIdentifier.findClientByKey(java.lang.String key) |
ClientHandler |
QuickServer.findFirstClientById(java.lang.String id)
Tries to find the Client by the Id passed.
|
ClientHandler |
ClientIdentifier.findFirstClientById(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
AuthStatus |
QuickAuthenticationHandler.askAuthentication(ClientHandler handler) |
AuthStatus |
ClientAuthenticationHandler.askAuthentication(ClientHandler handler)
Method called first time after gotConnected() method is caled on
ClientEventHandler, if Authenticator is set.
|
abstract boolean |
QuickAuthenticator.askAuthorisation(ClientHandler clientHandler) |
boolean |
Authenticator.askAuthorisation(ClientHandler clientHandler)
Deprecated.
This method is called by
QuickServer
if Authenticator was set, to authenticate any client
connection. |
byte[] |
QuickAuthenticator.askBinaryInput(ClientHandler clientHandler,
byte[] msg)
Sends the given binary data to the client and reads binary data input.
|
java.lang.String |
QuickAuthenticator.askByteInput(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client and reads a line of input.
|
java.lang.Object |
QuickAuthenticator.askObjectInput(ClientHandler clientHandler,
java.lang.Object msg)
Prints the given message to the client and reads a Object from input.
|
java.lang.String |
QuickAuthenticator.askStringInput(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client and reads a line of input.
|
void |
ClientEventHandler.closingConnection(ClientHandler handler)
Method called when client connection is closed.
|
void |
ClientEventHandler.gotConnected(ClientHandler handler)
Method called when there is a new client connects
to the QuickServer.
|
AuthStatus |
QuickAuthenticationHandler.handleAuthentication(ClientHandler handler,
byte[] data) |
AuthStatus |
ClientAuthenticationHandler.handleAuthentication(ClientHandler handler,
byte[] data)
Method called when ever a client sends binary data
before authentication.
|
AuthStatus |
QuickAuthenticationHandler.handleAuthentication(ClientHandler handler,
java.lang.Object data) |
AuthStatus |
ClientAuthenticationHandler.handleAuthentication(ClientHandler handler,
java.lang.Object data)
Method called when ever a client sends Object data
before authentication.
|
AuthStatus |
QuickAuthenticationHandler.handleAuthentication(ClientHandler handler,
java.lang.String data) |
AuthStatus |
ClientAuthenticationHandler.handleAuthentication(ClientHandler handler,
java.lang.String data)
Method called when ever a client sends character/string data
before authentication.
|
void |
ClientBinaryHandler.handleBinary(ClientHandler handler,
byte[] command)
Method called every time client sends an binary data.
|
void |
ClientCommandHandler.handleCommand(ClientHandler handler,
java.lang.String command)
Method called every time client sends character/string data.
|
void |
ClientExtendedEventHandler.handleMaxAuthTry(ClientHandler handler)
Method called when client has reached maximum auth tries.
|
boolean |
ClientExtendedEventHandler.handleMaxConnection(ClientHandler handler)
Method called when maximum number of clients has been reached and
a new client connects.
|
void |
ClientObjectHandler.handleObject(ClientHandler handler,
java.lang.Object command)
Method called every time client sends an Object.
|
void |
ClientExtendedEventHandler.handleTimeout(ClientHandler handler)
Method called when client timeouts.
|
void |
ClientWriteHandler.handleWrite(ClientHandler handler)
Method called every time client is ready to receive for more data.
|
void |
ClientEventHandler.lostConnection(ClientHandler handler)
Method called when client connection is lost.
|
void |
QuickAuthenticator.sendBinary(ClientHandler clientHandler,
byte[] msg)
Sends the given binary data to the client.
|
void |
QuickAuthenticator.sendByte(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client.
|
void |
QuickAuthenticator.sendObject(ClientHandler clientHandler,
java.lang.Object msg)
Sends the given object to the client.
|
void |
QuickAuthenticator.sendString(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicClientHandler
Basic implementation of ClientHandler that handles clients for QuickServer.
|
class |
BlockingClientHandler |
class |
NonBlockingClientHandler |
Modifier and Type | Method and Description |
---|---|
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern) |
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.lang.String id) |
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern) |
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.lang.String key) |
ClientHandler |
SyncClientIdentifier.findClientByKey(java.lang.String key) |
ClientHandler |
OptimisticClientIdentifier.findClientByKey(java.lang.String key) |
ClientHandler |
SyncClientIdentifier.findFirstClientById(java.lang.String id) |
ClientHandler |
OptimisticClientIdentifier.findFirstClientById(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern) |
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.lang.String id) |
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern) |
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.lang.String key) |
void |
DefaultClientEventHandler.closingConnection(ClientHandler handler) |
protected ClientIdentifiable |
BasicClientIdentifier.getClientIdentifiable(ClientHandler foundClientHandler) |
protected static java.lang.String |
BasicClientHandler.getClientIdentifiable(ClientHandler foundClientHandler) |
void |
DefaultClientEventHandler.gotConnected(ClientHandler handler) |
void |
DefaultClientEventHandler.lostConnection(ClientHandler handler) |
Constructor and Description |
---|
ByteBufferInputStream(java.util.ArrayList bufferList,
ClientHandler handler,
java.lang.String charset) |
ByteBufferOutputStream(java.util.ArrayList bufferList,
ClientHandler handler)
Creates a new ByteBufferOutputStream using the given list as its base
and ClientHandler as the target channel.
|
Copyright © 2003-2014 QuickServer.org