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


java.lang.Object
   org.apache.mina.common.AbstractIoService
      org.apache.mina.common.AbstractIoConnector

All known Subclasses:   org.apache.mina.common.AbstractPollingIoConnector,  org.apache.mina.transport.vmpipe.VmPipeConnector,
AbstractIoConnector
abstract public class AbstractIoConnector extends AbstractIoService implements IoConnector(Code)
A base implementation of IoConnector .
author:
   The Apache MINA Project (dev@mina.apache.org)
version:
   $Rev: 607163 $, $Date: 2007-12-27 20:20:07 -0700 (Thu, 27 Dec 2007) $



Constructor Summary
protected  AbstractIoConnector(IoSessionConfig sessionConfig)
    

Method Summary
final public  ConnectFutureconnect()
    
public  ConnectFutureconnect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
    
final public  ConnectFutureconnect(SocketAddress remoteAddress)
    
public  ConnectFutureconnect(SocketAddress remoteAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
    
public  ConnectFutureconnect(SocketAddress remoteAddress, SocketAddress localAddress)
    
final public  ConnectFutureconnect(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
    
abstract protected  ConnectFutureconnect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
     Implement this method to perform the actual connect operation.
final protected  voidfinishSessionInitialization0(IoSession session, IoFuture future)
     Adds required internal attributes and IoFutureListener s related with event notifications to the specified session and future .
final public  intgetConnectTimeout()
    
final public  longgetConnectTimeoutMillis()
    
public  SocketAddressgetDefaultRemoteAddress()
    
final public  voidsetConnectTimeout(int connectTimeout)
    
final public  voidsetDefaultRemoteAddress(SocketAddress defaultRemoteAddress)
    
public  StringtoString()
    


Constructor Detail
AbstractIoConnector
protected AbstractIoConnector(IoSessionConfig sessionConfig)(Code)




Method Detail
connect
final public ConnectFuture connect()(Code)



connect
public ConnectFuture connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer)(Code)



connect
final public ConnectFuture connect(SocketAddress remoteAddress)(Code)



connect
public ConnectFuture connect(SocketAddress remoteAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)(Code)



connect
public ConnectFuture connect(SocketAddress remoteAddress, SocketAddress localAddress)(Code)



connect
final public ConnectFuture connect(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)(Code)



connect0
abstract protected ConnectFuture connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)(Code)
Implement this method to perform the actual connect operation.
Parameters:
  localAddress - null if no local address is specified



finishSessionInitialization0
final protected void finishSessionInitialization0(IoSession session, IoFuture future)(Code)
Adds required internal attributes and IoFutureListener s related with event notifications to the specified session and future . Do not call this method directly; AbstractIoConnector.finishSessionInitialization(IoSession,IoFuture,IoSessionInitializer) will call this method instead.



getConnectTimeout
final public int getConnectTimeout()(Code)



getConnectTimeoutMillis
final public long getConnectTimeoutMillis()(Code)



getDefaultRemoteAddress
public SocketAddress getDefaultRemoteAddress()(Code)



setConnectTimeout
final public void setConnectTimeout(int connectTimeout)(Code)



setDefaultRemoteAddress
final public void setDefaultRemoteAddress(SocketAddress defaultRemoteAddress)(Code)



toString
public String toString()(Code)



Methods inherited from org.apache.mina.common.AbstractIoService
final public void addListener(IoServiceListener listener)(Code)(Java Doc)
final public Set<WriteFuture> broadcast(Object message)(Code)(Java Doc)
final protected void decreaseScheduledWriteMessages()(Code)(Java Doc)
final public void dispose()(Code)(Java Doc)
abstract protected IoFuture dispose0() throws Exception(Code)(Java Doc)
final protected void finishSessionInitialization(IoSession session, IoFuture future, IoSessionInitializer sessionInitializer)(Code)(Java Doc)
protected void finishSessionInitialization0(IoSession session, IoFuture future)(Code)(Java Doc)
final public long getActivationTime()(Code)(Java Doc)
final public int getBothIdleCount()(Code)(Java Doc)
final public int getBothIdleTime()(Code)(Java Doc)
final public long getBothIdleTimeInMillis()(Code)(Java Doc)
final public long getCumulativeManagedSessionCount()(Code)(Java Doc)
final public DefaultIoFilterChainBuilder getFilterChain()(Code)(Java Doc)
final public IoFilterChainBuilder getFilterChainBuilder()(Code)(Java Doc)
final public IoHandler getHandler()(Code)(Java Doc)
final public int getIdleCount(IdleStatus status)(Code)(Java Doc)
final public int getIdleTime(IdleStatus status)(Code)(Java Doc)
final public long getIdleTimeInMillis(IdleStatus status)(Code)(Java Doc)
final public int getLargestManagedSessionCount()(Code)(Java Doc)
final public double getLargestReadBytesThroughput()(Code)(Java Doc)
final public double getLargestReadMessagesThroughput()(Code)(Java Doc)
final public double getLargestWrittenBytesThroughput()(Code)(Java Doc)
final public double getLargestWrittenMessagesThroughput()(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)
final protected IoServiceListenerSupport getListeners()(Code)(Java Doc)
final public int getManagedSessionCount()(Code)(Java Doc)
final public Set<IoSession> getManagedSessions()(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 int getReaderIdleTime()(Code)(Java Doc)
final public long getReaderIdleTimeInMillis()(Code)(Java Doc)
final public long getScheduledWriteBytes()(Code)(Java Doc)
final public long getScheduledWriteMessages()(Code)(Java Doc)
public IoSessionConfig getSessionConfig()(Code)(Java Doc)
final public IoSessionDataStructureFactory getSessionDataStructureFactory()(Code)(Java Doc)
final public int getThroughputCalculationInterval()(Code)(Java Doc)
final public long getThroughputCalculationIntervalInMillis()(Code)(Java Doc)
final public int getWriterIdleCount()(Code)(Java Doc)
final public int getWriterIdleTime()(Code)(Java Doc)
final public long getWriterIdleTimeInMillis()(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 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 increaseWrittenBytes(long increment, long currentTime)(Code)(Java Doc)
final protected void increaseWrittenMessages(long currentTime)(Code)(Java Doc)
final public boolean isActive()(Code)(Java Doc)
final public boolean isBothIdle()(Code)(Java Doc)
final public boolean isDisposed()(Code)(Java Doc)
final public boolean isDisposing()(Code)(Java Doc)
final public boolean isIdle(IdleStatus status)(Code)(Java Doc)
final public boolean isReaderIdle()(Code)(Java Doc)
final public boolean isWriterIdle()(Code)(Java Doc)
final protected void notifyIdleness(long currentTime)(Code)(Java Doc)
final public void removeListener(IoServiceListener listener)(Code)(Java Doc)
final public void setBothIdleTime(int idleTime)(Code)(Java Doc)
final public void setFilterChainBuilder(IoFilterChainBuilder builder)(Code)(Java Doc)
final public void setHandler(IoHandler handler)(Code)(Java Doc)
final public void setIdleTime(IdleStatus status, int idleTime)(Code)(Java Doc)
final protected void setLastReadTime(long lastReadTime)(Code)(Java Doc)
final protected void setLastWriteTime(long lastWriteTime)(Code)(Java Doc)
final public void setReaderIdleTime(int idleTime)(Code)(Java Doc)
final public void setSessionDataStructureFactory(IoSessionDataStructureFactory sessionDataStructureFactory)(Code)(Java Doc)
final public void setThroughputCalculationInterval(int throughputCalculationInterval)(Code)(Java Doc)
final public void setWriterIdleTime(int idleTime)(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.