Java Doc for BlockingClientHandler.java in  » Net » QuickServer » org » quickserver » net » server » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » QuickServer » org.quickserver.net.server.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.quickserver.net.server.impl.BasicClientHandler
      org.quickserver.net.server.impl.BlockingClientHandler

BlockingClientHandler
public class BlockingClientHandler extends BasicClientHandler (Code)



Constructor Summary
public  BlockingClientHandler(int instanceCount)
    
public  BlockingClientHandler()
    

Method Summary
protected  booleancheckReturnClientHandler()
    
public  voidclean()
    
public synchronized  voidcloseConnection()
    
protected  voidfinalize()
    
public  BufferedReadergetBufferedReader()
    
public  SelectionKeygetSelectionKey()
    
public  SocketChannelgetSocketChannel()
    
public  voidhandleClient(TheClient theClient)
    
protected  byte[]readInputStream()
    
public  voidregisterForRead()
    
public  voidregisterForWrite()
    
protected  voidreturnClientHandler()
    
public  voidrun()
    
protected  voidsetClientWriteHandler(ClientWriteHandler handler)
    
public  voidsetDataMode(DataMode dataMode, DataType dataType)
    
protected  voidsetInputStream(InputStream in)
    
public  voidsetSelectionKey(SelectionKey selectionKey)
    
public  voidsetSocketChannel(SocketChannel socketChannel)
    
public  voidupdateInputOutputStreams()
    


Constructor Detail
BlockingClientHandler
public BlockingClientHandler(int instanceCount)(Code)



BlockingClientHandler
public BlockingClientHandler()(Code)




Method Detail
checkReturnClientHandler
protected boolean checkReturnClientHandler()(Code)



clean
public void clean()(Code)



closeConnection
public synchronized void closeConnection()(Code)



finalize
protected void finalize() throws Throwable(Code)



getBufferedReader
public BufferedReader getBufferedReader()(Code)



getSelectionKey
public SelectionKey getSelectionKey()(Code)



getSocketChannel
public SocketChannel getSocketChannel()(Code)



handleClient
public void handleClient(TheClient theClient)(Code)



readInputStream
protected byte[] readInputStream() throws IOException(Code)



registerForRead
public void registerForRead() throws IOException, ClosedChannelException(Code)



registerForWrite
public void registerForWrite() throws IOException, ClosedChannelException(Code)



returnClientHandler
protected void returnClientHandler()(Code)



run
public void run()(Code)



setClientWriteHandler
protected void setClientWriteHandler(ClientWriteHandler handler)(Code)



setDataMode
public void setDataMode(DataMode dataMode, DataType dataType) throws IOException(Code)



setInputStream
protected void setInputStream(InputStream in) throws IOException(Code)



setSelectionKey
public void setSelectionKey(SelectionKey selectionKey)(Code)



setSocketChannel
public void setSocketChannel(SocketChannel socketChannel)(Code)



updateInputOutputStreams
public void updateInputOutputStreams() throws IOException(Code)



Fields inherited from org.quickserver.net.server.impl.BasicClientHandler
final protected static String NEW_LINE(Code)(Java Doc)
final protected static byte NEW_LINE_BYTES(Code)(Java Doc)
protected Logger appLogger(Code)(Java Doc)
protected Authenticator authenticator(Code)(Java Doc)
protected volatile boolean authorised(Code)(Java Doc)
protected BufferedInputStream b_in(Code)(Java Doc)
protected BufferedOutputStream b_out(Code)(Java Doc)
protected BufferedReader bufferedReader(Code)(Java Doc)
protected String charset(Code)(Java Doc)
protected ClientAuthenticationHandler clientAuthenticationHandler(Code)(Java Doc)
protected ClientBinaryHandler clientBinaryHandler(Code)(Java Doc)
protected ClientCommandHandler clientCommandHandler(Code)(Java Doc)
protected Date clientConnectedTime(Code)(Java Doc)
protected ClientData clientData(Code)(Java Doc)
protected ClientEventHandler clientEventHandler(Code)(Java Doc)
protected Set clientEvents(Code)(Java Doc)
protected ClientExtendedEventHandler clientExtendedEventHandler(Code)(Java Doc)
protected ClientObjectHandler clientObjectHandler(Code)(Java Doc)
protected volatile boolean closeOrLostNotified(Code)(Java Doc)
protected boolean communicationLogging(Code)(Java Doc)
protected volatile boolean connection(Code)(Java Doc)
protected int counAuthTry(Code)(Java Doc)
protected DataMode dataModeIN(Code)(Java Doc)
protected DataMode dataModeOUT(Code)(Java Doc)
protected InputStream in(Code)(Java Doc)
protected Date lastCommunicationTime(Code)(Java Doc)
protected Object lockObj(Code)(Java Doc)
protected boolean lost(Code)(Java Doc)
protected int maxAuthTry(Code)(Java Doc)
protected String maxAuthTryMsg(Code)(Java Doc)
protected String maxConnectionMsg(Code)(Java Doc)
protected ObjectInputStream o_in(Code)(Java Doc)
protected ObjectOutputStream o_out(Code)(Java Doc)
protected OutputStream out(Code)(Java Doc)
protected QuickServer quickServer(Code)(Java Doc)
protected boolean secure(Code)(Java Doc)
protected Socket socket(Code)(Java Doc)
protected int socketTimeout(Code)(Java Doc)
final protected static ThreadLocal threadEvent(Code)(Java Doc)
protected String timeoutMsg(Code)(Java Doc)
protected List unprocessedClientEvents(Code)(Java Doc)
protected volatile boolean willClean(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.