Java Doc for AbstractIoAcceptor.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.AbstractIoAcceptor

All known Subclasses:   org.apache.mina.common.AbstractPollingIoAcceptor,  org.apache.mina.common.AbstractPollingConnectionlessIoAcceptor,  org.apache.mina.transport.vmpipe.VmPipeAcceptor,
AbstractIoAcceptor
abstract public class AbstractIoAcceptor extends AbstractIoService implements IoAcceptor(Code)
A base implementation of IoAcceptor .
author:
   The Apache MINA Project (dev@mina.apache.org)
version:
   $Rev: 601236 $, $Date: 2007-12-05 00:53:03 -0700 (Wed, 05 Dec 2007) $

Inner Class :protected static class AcceptorOperationFuture extends ServiceOperationFuture

Field Summary
final protected  ObjectbindLock
     The lock object which is acquired while bind or unbind operation is performed.

Constructor Summary
protected  AbstractIoAcceptor(IoSessionConfig sessionConfig)
    

Method Summary
final public  voidbind()
    
final public  voidbind(SocketAddress localAddress)
    
final public  voidbind(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses)
    
final public  voidbind(Iterable<? extends SocketAddress> localAddresses)
    
abstract protected  Set<SocketAddress>bind0(List<? extends SocketAddress> localAddresses)
     Implement this method to perform the actual bind operation.
public  SocketAddressgetDefaultLocalAddress()
    
final public  List<SocketAddress>getDefaultLocalAddresses()
    
public  SocketAddressgetLocalAddress()
    
final public  Set<SocketAddress>getLocalAddresses()
    
final public  booleanisCloseOnDeactivation()
    
final public  voidsetCloseOnDeactivation(boolean disconnectClientsOnUnbind)
    
final public  voidsetDefaultLocalAddress(SocketAddress localAddress)
    
final public  voidsetDefaultLocalAddresses(List<? extends SocketAddress> localAddresses)
    
final public  voidsetDefaultLocalAddresses(Iterable<? extends SocketAddress> localAddresses)
    
final public  voidsetDefaultLocalAddresses(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses)
    
public  StringtoString()
    
final public  voidunbind()
    
final public  voidunbind(SocketAddress localAddress)
    
final public  voidunbind(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses)
    
final public  voidunbind(Iterable<? extends SocketAddress> localAddresses)
    
abstract protected  voidunbind0(List<? extends SocketAddress> localAddresses)
     Implement this method to perform the actual unbind operation.

Field Detail
bindLock
final protected Object bindLock(Code)
The lock object which is acquired while bind or unbind operation is performed. Acquire this lock in your property setters which shouldn't be changed while the service is bound.




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




Method Detail
bind
final public void bind() throws IOException(Code)



bind
final public void bind(SocketAddress localAddress) throws IOException(Code)



bind
final public void bind(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses) throws IOException(Code)



bind
final public void bind(Iterable<? extends SocketAddress> localAddresses) throws IOException(Code)



bind0
abstract protected Set<SocketAddress> bind0(List<? extends SocketAddress> localAddresses) throws Exception(Code)
Implement this method to perform the actual bind operation. the Set of the local addresses which is bound actually



getDefaultLocalAddress
public SocketAddress getDefaultLocalAddress()(Code)



getDefaultLocalAddresses
final public List<SocketAddress> getDefaultLocalAddresses()(Code)



getLocalAddress
public SocketAddress getLocalAddress()(Code)



getLocalAddresses
final public Set<SocketAddress> getLocalAddresses()(Code)



isCloseOnDeactivation
final public boolean isCloseOnDeactivation()(Code)



setCloseOnDeactivation
final public void setCloseOnDeactivation(boolean disconnectClientsOnUnbind)(Code)



setDefaultLocalAddress
final public void setDefaultLocalAddress(SocketAddress localAddress)(Code)



setDefaultLocalAddresses
final public void setDefaultLocalAddresses(List<? extends SocketAddress> localAddresses)(Code)



setDefaultLocalAddresses
final public void setDefaultLocalAddresses(Iterable<? extends SocketAddress> localAddresses)(Code)



setDefaultLocalAddresses
final public void setDefaultLocalAddresses(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses)(Code)



toString
public String toString()(Code)



unbind
final public void unbind()(Code)



unbind
final public void unbind(SocketAddress localAddress)(Code)



unbind
final public void unbind(SocketAddress firstLocalAddress, SocketAddress... otherLocalAddresses)(Code)



unbind
final public void unbind(Iterable<? extends SocketAddress> localAddresses)(Code)



unbind0
abstract protected void unbind0(List<? extends SocketAddress> localAddresses) throws Exception(Code)
Implement this method to perform the actual unbind operation.



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.