QuickServer
v1.4.7

Uses of Interface
org.quickserver.net.server.ClientHandler

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)
           
 AuthStatus Authenticator.askAuthentication(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.
 

Uses of ClientHandler in org.quickserver.net.server
 

Methods in org.quickserver.net.server that return ClientHandler
 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
 void ClientBinaryHandler.handleBinary(ClientHandler handler, byte[] command)
          Method called every time client sends an binary data.
 void ClientWriteHandler.handleWrite(ClientHandler handler)
          Method called every time client is ready to receive for more data.
 AuthStatus ClientAuthenticationHandler.askAuthentication(ClientHandler handler)
          Method called first time after gotConnected() method is caled on ClientEventHandler, if Authenticator is set.
 AuthStatus ClientAuthenticationHandler.handleAuthentication(ClientHandler handler, java.lang.String data)
          Method called when ever a client sends character/string data before authentication.
 AuthStatus ClientAuthenticationHandler.handleAuthentication(ClientHandler handler, java.lang.Object data)
          Method called when ever a client sends Object data before authentication.
 AuthStatus ClientAuthenticationHandler.handleAuthentication(ClientHandler handler, byte[] data)
          Method called when ever a client sends binary data before authentication.
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.
 boolean Authenticator.askAuthorisation(ClientHandler clientHandler)
          Deprecated. This method is called by QuickServer if Authenticator was set, to authenticate any client connection.
 void ClientCommandHandler.handleCommand(ClientHandler handler, java.lang.String command)
          Method called every time client sends character/string data.
 AuthStatus QuickAuthenticationHandler.askAuthentication(ClientHandler handler)
           
 AuthStatus QuickAuthenticationHandler.handleAuthentication(ClientHandler handler, java.lang.String data)
           
 AuthStatus QuickAuthenticationHandler.handleAuthentication(ClientHandler handler, java.lang.Object data)
           
 AuthStatus QuickAuthenticationHandler.handleAuthentication(ClientHandler handler, byte[] data)
           
 void ClientExtendedEventHandler.handleTimeout(ClientHandler handler)
          Method called when client timeouts.
 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 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
 

Classes in org.quickserver.net.server.impl that implement ClientHandler
 class BasicClientHandler
          Basic implementation of ClientHandler that handles clients for QuickServer.
 class BlockingClientHandler
           
 class NonBlockingClientHandler
           
 

Methods in org.quickserver.net.server.impl that return ClientHandler
 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)
           
 ClientHandler SyncClientIdentifier.findFirstClientById(java.lang.String id)
           
 ClientHandler SyncClientIdentifier.findClientByKey(java.lang.String key)
           
 

Methods in org.quickserver.net.server.impl with parameters of type ClientHandler
 void DefaultClientEventHandler.gotConnected(ClientHandler handler)
           
 void DefaultClientEventHandler.lostConnection(ClientHandler handler)
           
 void DefaultClientEventHandler.closingConnection(ClientHandler handler)
           
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)
           
protected static java.lang.String BasicClientHandler.getClientIdentifiable(ClientHandler foundClientHandler)
           
 

Uses of ClientHandler in org.quickserver.util.io
 

Constructors in org.quickserver.util.io with parameters of type ClientHandler
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.
 


QuickServer
v1.4.7

Copyright © 2003-2006 QuickServer.org