| |
|
| java.lang.Object org.quickserver.net.server.impl.BasicClientHandler org.quickserver.net.server.impl.NonBlockingClientHandler
threadAccessCount | protected volatile int threadAccessCount(Code) | | |
waitingForFinalWrite | protected volatile boolean waitingForFinalWrite(Code) | | |
willReturn | protected volatile boolean willReturn(Code) | | |
NonBlockingClientHandler | public NonBlockingClientHandler(int instanceCount)(Code) | | |
NonBlockingClientHandler | public NonBlockingClientHandler()(Code) | | |
checkReturnClientHandler | protected boolean checkReturnClientHandler()(Code) | | |
clean | public void clean()(Code) | | |
closeConnection | public void closeConnection()(Code) | | |
getMaxThreadAccessCount | public static int getMaxThreadAccessCount()(Code) | | Returns the maximum count of thread allowed to run objects of this class at a time.
since: 1.4.7 |
getThreadAccessCount | public int getThreadAccessCount()(Code) | | Returns number of thread currently in this object.
since: 1.4.6 |
getWakeupSelectorAfterRegisterRead | public static boolean getWakeupSelectorAfterRegisterRead()(Code) | | Returns wakeupSelectorAfterRegisterRead the flag that controls if wakeup is called on Selector
after RegisterForRead is called.
since: 1.4.7 |
getWakeupSelectorAfterRegisterWrite | public static boolean getWakeupSelectorAfterRegisterWrite()(Code) | | Returns wakeupSelectorAfterRegisterWrite the flag that controls if wakeup is called on Selector
after RegisterForWrite is called.
since: 1.4.7 |
registerForRead | public void registerForRead() throws IOException, ClosedChannelException(Code) | | |
registerForWrite | public void registerForWrite() throws IOException, ClosedChannelException(Code) | | |
returnClientHandler | protected void returnClientHandler()(Code) | | |
returnThread | protected void returnThread()(Code) | | |
setMaxThreadAccessCount | public static void setMaxThreadAccessCount(int count)(Code) | | Sets the maximum count of thread allowed to run objects of this class at a time.
since: 1.4.7 |
setWakeupSelectorAfterRegisterRead | public static void setWakeupSelectorAfterRegisterRead(boolean flag)(Code) | | Sets the flag to wakeup Selector After RegisterForRead is called.
since: 1.4.7 |
setWakeupSelectorAfterRegisterWrite | public static void setWakeupSelectorAfterRegisterWrite(boolean flag)(Code) | | Sets the flag to wakeup Selector After RegisterForWrite is called.
since: 1.4.7 |
updateInputOutputStreams | public void updateInputOutputStreams() throws IOException(Code) | | |
waitTillFullyWritten | public void waitTillFullyWritten()(Code) | | waitTillFullyWritten
since: 1.4.7 |
Methods inherited from org.quickserver.net.server.impl.BasicClientHandler | public void addEvent(ClientEvent event)(Code)(Java Doc) protected void assertionSystemExit()(Code)(Java Doc) protected void checkDataModeSet(DataMode dataMode, DataType dataType)(Code)(Java Doc) public void clean()(Code)(Java Doc) abstract public void closeConnection()(Code)(Java Doc) protected void finalize() throws Throwable(Code)(Java Doc) public synchronized void forceClose() throws IOException(Code)(Java Doc) public Logger getAppLogger()(Code)(Java Doc) public BufferedInputStream getBufferedInputStream()(Code)(Java Doc) public BufferedOutputStream getBufferedOutputStream()(Code)(Java Doc) abstract public BufferedReader getBufferedReader()(Code)(Java Doc) public BufferedWriter getBufferedWriter()(Code)(Java Doc) public String getCharset()(Code)(Java Doc) public Date getClientConnectedTime()(Code)(Java Doc) public ClientData getClientData()(Code)(Java Doc) protected static String getClientIdentifiable(ClientHandler foundClientHandler)(Code)(Java Doc) public boolean getCommunicationLogging()(Code)(Java Doc) public java.sql.Connection getConnection(String id) throws Exception(Code)(Java Doc) public DataMode getDataMode(DataType dataType)(Code)(Java Doc) public String getHostAddress()(Code)(Java Doc) public InputStream getInputStream()(Code)(Java Doc) public int getInstanceCount()(Code)(Java Doc) public Date getLastCommunicationTime()(Code)(Java Doc) public String getMaxConnectionMsg()(Code)(Java Doc) public String getName()(Code)(Java Doc) public ObjectInputStream getObjectInputStream()(Code)(Java Doc) public ObjectOutputStream getObjectOutputStream()(Code)(Java Doc) public OutputStream getOutputStream()(Code)(Java Doc) abstract public SelectionKey getSelectionKey()(Code)(Java Doc) public QuickServer getServer()(Code)(Java Doc) public Socket getSocket()(Code)(Java Doc) abstract public SocketChannel getSocketChannel()(Code)(Java Doc) protected ClientEvent getThreadEvent()(Code)(Java Doc) public int getTimeout()(Code)(Java Doc) public boolean getWillClean()(Code)(Java Doc) public void handleClient(TheClient theClient)(Code)(Java Doc) protected void handleTimeout(SocketTimeoutException e) throws SocketException, IOException(Code)(Java Doc) public boolean hasEvent(ClientEvent event)(Code)(Java Doc) public String info()(Code)(Java Doc) public boolean isClientEventNext(ClientEvent clientEvent)(Code)(Java Doc) public boolean isClosed()(Code)(Java Doc) public boolean isConected() throws SocketException(Code)(Java Doc) public boolean isConnected() throws SocketException(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) public boolean isSecure()(Code)(Java Doc) public void makeSecure() throws IOException, NoSuchAlgorithmException, KeyManagementException(Code)(Java Doc) public void makeSecure(String protocol) throws IOException, NoSuchAlgorithmException, KeyManagementException(Code)(Java Doc) public void makeSecure(boolean useClientMode, boolean needClientAuth, boolean autoClose, String protocol) throws IOException, NoSuchAlgorithmException, KeyManagementException(Code)(Java Doc) protected void notifyCloseOrLost() throws IOException(Code)(Java Doc) protected void prepareForRun() throws SocketException, IOException(Code)(Java Doc) protected AuthStatus processAuthorisation() throws SocketException, IOException, AppException(Code)(Java Doc) protected void processMaxConnection(ClientEvent currentEvent) throws IOException(Code)(Java Doc) public byte[] readBinary() throws IOException(Code)(Java Doc) public String readBytes() throws IOException(Code)(Java Doc) abstract protected byte[] readInputStream() throws IOException(Code)(Java Doc) protected static byte[] readInputStream(InputStream _in) throws IOException(Code)(Java Doc) abstract public void registerForRead() throws IOException, ClosedChannelException(Code)(Java Doc) abstract public void registerForWrite() throws IOException, ClosedChannelException(Code)(Java Doc) public void removeEvent(ClientEvent event)(Code)(Java Doc) protected synchronized void returnClientData()(Code)(Java Doc) protected void returnClientHandler()(Code)(Java Doc) abstract public void run()(Code)(Java Doc) public void sendClientBinary(byte data) throws IOException(Code)(Java Doc) public void sendClientBinary(byte data, int off, int len) throws IOException(Code)(Java Doc) public void sendClientBytes(String msg) throws IOException(Code)(Java Doc) public void sendClientMsg(String msg) throws IOException(Code)(Java Doc) public void sendClientObject(Object msg) throws IOException(Code)(Java Doc) public void sendSystemMsg(String msg)(Code)(Java Doc) public void sendSystemMsg(String msg, Level level)(Code)(Java Doc) public void sendSystemMsg(String msg, boolean newline)(Code)(Java Doc) protected void setAuthenticator(Authenticator authenticator)(Code)(Java Doc) public void setCharset(String charset)(Code)(Java Doc) protected void setClientAuthenticationHandler(ClientAuthenticationHandler clientAuthenticationHandler)(Code)(Java Doc) protected void setClientBinaryHandler(ClientBinaryHandler handler)(Code)(Java Doc) protected void setClientCommandHandler(ClientCommandHandler handler)(Code)(Java Doc) protected void setClientData(ClientData data)(Code)(Java Doc) protected void setClientEventHandler(ClientEventHandler handler)(Code)(Java Doc) protected void setClientExtendedEventHandler(ClientExtendedEventHandler handler)(Code)(Java Doc) protected void setClientObjectHandler(ClientObjectHandler handler)(Code)(Java Doc) abstract protected void setClientWriteHandler(ClientWriteHandler handler)(Code)(Java Doc) public void setCommunicationLogging(boolean communicationLogging)(Code)(Java Doc) abstract public void setDataMode(DataMode dataMode, DataType dataType) throws IOException(Code)(Java Doc) abstract protected void setInputStream(InputStream in) throws IOException(Code)(Java Doc) public void setMaxConnectionMsg(String msg)(Code)(Java Doc) public void setOutputStream(OutputStream out) throws IOException(Code)(Java Doc) public void setSecure(boolean secure)(Code)(Java Doc) abstract public void setSelectionKey(SelectionKey selectionKey)(Code)(Java Doc) protected void setServer(QuickServer server)(Code)(Java Doc) public void setSocket(Socket socket)(Code)(Java Doc) abstract public void setSocketChannel(SocketChannel socketChannel)(Code)(Java Doc) public void setTimeout(int time)(Code)(Java Doc) public String toString()(Code)(Java Doc) abstract public void updateInputOutputStreams() throws IOException(Code)(Java Doc) public void updateLastCommunicationTime()(Code)(Java Doc)
|
|
|
|