|
QuickServer v1.4.5 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClientHandler | |
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. |
Uses of ClientHandler in org.quickserver.net.qsadmin |
Methods in org.quickserver.net.qsadmin with parameters of type ClientHandler | |
void |
CommandHandler.gotConnected(ClientHandler handler)
|
void |
CommandHandler.lostConnection(ClientHandler handler)
|
void |
CommandHandler.closingConnection(ClientHandler handler)
|
void |
CommandHandler.handleCommand(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. |
boolean |
Authenticator.askAuthorisation(ClientHandler clientHandler)
|
Uses of ClientHandler in org.quickserver.net.server |
Fields in org.quickserver.net.server declared as ClientHandler | |
protected ClientHandler |
ServerAuthenticator.handler
|
Methods in org.quickserver.net.server that return ClientHandler | |
ClientHandler |
ServerAuthenticator.getClientHandler()
Returns ClientHandler object associated with Client being authenticated. |
ClientHandler |
ClientIdentifier.findFirstClientById(java.lang.String id)
|
ClientHandler |
ClientIdentifier.findClientByKey(java.lang.String key)
|
ClientHandler |
QuickServer.findFirstClientById(java.lang.String id)
Tries to find the Client by the Id passed. |
ClientHandler |
QuickServer.findClientByKey(java.lang.String key)
Tries to find the Client by the Key passed. |
Methods in org.quickserver.net.server with parameters of type ClientHandler | |
boolean |
ServerAuthenticator.askAuthorisation(ClientHandler clientHandler)
|
void |
ServerAuthenticator.setClientHandler(ClientHandler handler)
Sets ClientHandler object associated with Client being authenticated. |
void |
ClientCommandHandler.handleCommand(ClientHandler handler,
java.lang.String command)
Method called every time client sends a line of data. |
void |
ClientObjectHandler.handleObject(ClientHandler handler,
java.lang.Object command)
Method called every time client sends an Object. |
void |
ClientWriteHandler.handleWrite(ClientHandler handler)
Method called every time client is ready to receive for more data. |
abstract boolean |
QuickAuthenticator.askAuthorisation(ClientHandler clientHandler)
|
void |
QuickAuthenticator.sendString(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client. |
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 |
QuickAuthenticator.sendObject(ClientHandler clientHandler,
java.lang.Object msg)
Sends the given object to the client. |
java.lang.Object |
QuickAuthenticator.askObjectInput(ClientHandler clientHandler,
java.lang.Object msg)
Prints the given message to the client and reads a Object from input. |
void |
QuickAuthenticator.sendByte(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client. |
java.lang.String |
QuickAuthenticator.askByteInput(ClientHandler clientHandler,
java.lang.String msg)
Prints the given message to the client and reads a line of input. |
void |
QuickAuthenticator.sendBinary(ClientHandler clientHandler,
byte[] msg)
Sends the given binary data to the client. |
byte[] |
QuickAuthenticator.askBinaryInput(ClientHandler clientHandler,
byte[] msg)
Sends the given binary data to the client and reads binary data input. |
void |
ClientBinaryHandler.handleBinary(ClientHandler handler,
byte[] command)
Method called every time client sends an binary data. |
protected void |
QuickServer.returnClientHandlerToPool(ClientHandler clientHandler)
Returns ClientHandler to pool |
boolean |
Authenticator.askAuthorisation(ClientHandler clientHandler)
This method is called by QuickServer
if ServerAuthenticator was set, to authenticate any client
connection. |
void |
ClientEventHandler.gotConnected(ClientHandler handler)
Method called when there is a new client connects to the QuickServer. |
void |
ClientEventHandler.lostConnection(ClientHandler handler)
Method called when client connection is lost. |
void |
ClientEventHandler.closingConnection(ClientHandler handler)
Method called when client connection is closed. |
Uses of ClientHandler in org.quickserver.net.server.impl |
Methods in org.quickserver.net.server.impl that return ClientHandler | |
ClientHandler |
SyncClientIdentifier.findFirstClientById(java.lang.String id)
|
ClientHandler |
SyncClientIdentifier.findClientByKey(java.lang.String key)
|
ClientHandler |
OptimisticClientIdentifier.findFirstClientById(java.lang.String id)
|
ClientHandler |
OptimisticClientIdentifier.findClientByKey(java.lang.String key)
|
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.lang.String id)
|
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern)
|
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.lang.String key)
|
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern)
|
Methods in org.quickserver.net.server.impl with parameters of type ClientHandler | |
protected ClientIdentifiable |
BasicClientIdentifier.getClientIdentifiable(ClientHandler foundClientHandler)
|
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.lang.String id)
|
protected ClientHandler |
BasicClientIdentifier.checkClientId(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern)
|
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.lang.String key)
|
protected ClientHandler |
BasicClientIdentifier.checkClientKey(ClientHandler foundClientHandler,
java.util.regex.Pattern pattern)
|
Uses of ClientHandler in org.quickserver.util.io |
Constructors in org.quickserver.util.io with parameters of type ClientHandler | |
ByteBufferOutputStream(java.util.ArrayList bufferList,
ClientHandler handler)
Creates a new ByteBufferOutputStream using the given list as its base and ClientHandler as the target channel. |
|
ByteBufferInputStream(java.util.ArrayList bufferList,
ClientHandler handler,
java.lang.String charset)
|
|
QuickServer v1.4.5 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |