Java Doc for AprSession.java in  » Net » mina-2.0.0-M1 » org » apache » mina » transport » socket » apr » 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 » mina 2.0.0 M1 » org.apache.mina.transport.socket.apr 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.mina.common.AbstractIoSession
      org.apache.mina.transport.socket.apr.AprSession

All known Subclasses:   org.apache.mina.transport.socket.apr.AprSocketSession,  org.apache.mina.transport.socket.apr.AprDatagramSession,
AprSession
abstract class AprSession extends AbstractIoSession (Code)
IoSession for the AprSocketConnector
author:
   The Apache MINA Project (dev@mina.apache.org)
version:
   $Rev: 597276 $, $Date: 2007-11-21 17:44:09 -0700 (Wed, 21 Nov 2007) $



Constructor Summary
 AprSession(IoService service, IoProcessor<AprSession> processor, long descriptor)
     Creates a new instance.
 AprSession(IoService service, IoProcessor<AprSession> processor, long descriptor, InetSocketAddress remoteAddress)
    

Method Summary
 longgetDescriptor()
    
public  IoFilterChaingetFilterChain()
    
public  IoHandlergetHandler()
    
public  InetSocketAddressgetLocalAddress()
    
protected  IoProcessor<AprSession>getProcessor()
    
public  InetSocketAddressgetRemoteAddress()
    
public  IoServicegetService()
    
public  InetSocketAddressgetServiceAddress()
    
 booleanisInterestedInRead()
    
 booleanisInterestedInWrite()
    
 booleanisReadable()
    
 booleanisWritable()
    
 voidsetInterestedInRead(boolean isOpRead)
    
 voidsetInterestedInWrite(boolean isOpWrite)
    
 voidsetReadable(boolean readable)
    
 voidsetWritable(boolean writable)
    


Constructor Detail
AprSession
AprSession(IoService service, IoProcessor<AprSession> processor, long descriptor) throws Exception(Code)
Creates a new instance.



AprSession
AprSession(IoService service, IoProcessor<AprSession> processor, long descriptor, InetSocketAddress remoteAddress) throws Exception(Code)




Method Detail
getDescriptor
long getDescriptor()(Code)



getFilterChain
public IoFilterChain getFilterChain()(Code)



getHandler
public IoHandler getHandler()(Code)



getLocalAddress
public InetSocketAddress getLocalAddress()(Code)



getProcessor
protected IoProcessor<AprSession> getProcessor()(Code)



getRemoteAddress
public InetSocketAddress getRemoteAddress()(Code)



getService
public IoService getService()(Code)



getServiceAddress
public InetSocketAddress getServiceAddress()(Code)



isInterestedInRead
boolean isInterestedInRead()(Code)



isInterestedInWrite
boolean isInterestedInWrite()(Code)



isReadable
boolean isReadable()(Code)



isWritable
boolean isWritable()(Code)



setInterestedInRead
void setInterestedInRead(boolean isOpRead)(Code)



setInterestedInWrite
void setInterestedInWrite(boolean isOpWrite)(Code)



setReadable
void setReadable(boolean readable)(Code)



setWritable
void setWritable(boolean writable)(Code)



Methods inherited from org.apache.mina.common.AbstractIoSession
final public CloseFuture close(boolean rightNow)(Code)(Java Doc)
final public CloseFuture close()(Code)(Java Doc)
final public CloseFuture closeOnFlush()(Code)(Java Doc)
final public boolean containsAttribute(Object key)(Code)(Java Doc)
final protected void decreaseReadBufferSize()(Code)(Java Doc)
final protected void decreaseScheduledBytesAndMessages(WriteRequest request)(Code)(Java Doc)
final public boolean equals(Object o)(Code)(Java Doc)
final public Object getAttachment()(Code)(Java Doc)
final public Object getAttribute(Object key)(Code)(Java Doc)
final public Object getAttribute(Object key, Object defaultValue)(Code)(Java Doc)
final public Set<Object> getAttributeKeys()(Code)(Java Doc)
final protected IoSessionAttributeMap getAttributeMap()(Code)(Java Doc)
final public int getBothIdleCount()(Code)(Java Doc)
final public CloseFuture getCloseFuture()(Code)(Java Doc)
final public long getCreationTime()(Code)(Java Doc)
final protected WriteRequest getCurrentWriteRequest()(Code)(Java Doc)
final public long getId()(Code)(Java Doc)
final public int getIdleCount(IdleStatus status)(Code)(Java Doc)
final public long getLastBothIdleTime()(Code)(Java Doc)
final public long getLastIdleTime(IdleStatus status)(Code)(Java Doc)
final public long getLastIoTime()(Code)(Java Doc)
final public long getLastReadTime()(Code)(Java Doc)
final public long getLastReaderIdleTime()(Code)(Java Doc)
final public long getLastWriteTime()(Code)(Java Doc)
final public long getLastWriterIdleTime()(Code)(Java Doc)
abstract protected IoProcessor getProcessor()(Code)(Java Doc)
final public long getReadBytes()(Code)(Java Doc)
final public double getReadBytesThroughput()(Code)(Java Doc)
final public long getReadMessages()(Code)(Java Doc)
final public double getReadMessagesThroughput()(Code)(Java Doc)
final public int getReaderIdleCount()(Code)(Java Doc)
final public long getScheduledWriteBytes()(Code)(Java Doc)
final public int getScheduledWriteMessages()(Code)(Java Doc)
public SocketAddress getServiceAddress()(Code)(Java Doc)
final public TrafficMask getTrafficMask()(Code)(Java Doc)
final protected WriteRequestQueue getWriteRequestQueue()(Code)(Java Doc)
final public int getWriterIdleCount()(Code)(Java Doc)
final public long getWrittenBytes()(Code)(Java Doc)
final public double getWrittenBytesThroughput()(Code)(Java Doc)
final public long getWrittenMessages()(Code)(Java Doc)
final public double getWrittenMessagesThroughput()(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
final protected void increaseIdleCount(IdleStatus status, long currentTime)(Code)(Java Doc)
final protected void increaseReadBufferSize()(Code)(Java Doc)
final protected void increaseReadBytes(long increment, long currentTime)(Code)(Java Doc)
final protected void increaseReadMessages(long currentTime)(Code)(Java Doc)
final protected void increaseScheduledWriteBytes(long increment)(Code)(Java Doc)
final protected void increaseScheduledWriteMessages()(Code)(Java Doc)
final protected void increaseWrittenBytesAndMessages(WriteRequest request, long currentTime)(Code)(Java Doc)
final public boolean isBothIdle()(Code)(Java Doc)
final public boolean isClosing()(Code)(Java Doc)
final public boolean isConnected()(Code)(Java Doc)
final public boolean isIdle(IdleStatus status)(Code)(Java Doc)
final public boolean isReaderIdle()(Code)(Java Doc)
final protected boolean isScheduledForFlush()(Code)(Java Doc)
final public boolean isWriterIdle()(Code)(Java Doc)
final protected void offerClosedReadFuture()(Code)(Java Doc)
final protected void offerFailedReadFuture(Throwable exception)(Code)(Java Doc)
final protected void offerReadFuture(Object message)(Code)(Java Doc)
final public ReadFuture read()(Code)(Java Doc)
final public Object removeAttribute(Object key)(Code)(Java Doc)
final public boolean removeAttribute(Object key, Object value)(Code)(Java Doc)
final public boolean replaceAttribute(Object key, Object oldValue, Object newValue)(Code)(Java Doc)
final public void resumeRead()(Code)(Java Doc)
final public void resumeWrite()(Code)(Java Doc)
final public Object setAttachment(Object attachment)(Code)(Java Doc)
final public Object setAttribute(Object key, Object value)(Code)(Java Doc)
final public Object setAttribute(Object key)(Code)(Java Doc)
final public Object setAttributeIfAbsent(Object key, Object value)(Code)(Java Doc)
final public Object setAttributeIfAbsent(Object key)(Code)(Java Doc)
final protected void setAttributeMap(IoSessionAttributeMap attributes)(Code)(Java Doc)
final protected void setCurrentWriteRequest(WriteRequest currentWriteRequest)(Code)(Java Doc)
final protected boolean setScheduledForFlush(boolean flag)(Code)(Java Doc)
protected void setScheduledWriteBytes(long byteCount)(Code)(Java Doc)
protected void setScheduledWriteMessages(int messages)(Code)(Java Doc)
final public void setTrafficMask(TrafficMask trafficMask)(Code)(Java Doc)
final protected void setTrafficMaskNow(TrafficMask trafficMask)(Code)(Java Doc)
final protected void setWriteRequestQueue(WriteRequestQueue writeRequestQueue)(Code)(Java Doc)
final public void suspendRead()(Code)(Java Doc)
final public void suspendWrite()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final protected void updateThroughput(long currentTime, boolean force)(Code)(Java Doc)
final public WriteFuture write(Object message)(Code)(Java Doc)
final public WriteFuture write(Object message, SocketAddress remoteAddress)(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.