Java Doc for AbstractPollingIoConnector.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
org.apache.mina.common
.AbstractPollingIoConnector
AbstractPollingIoConnector
abstract
public
class AbstractPollingIoConnector extends
AbstractIoConnector
(Code)
author:
The Apache MINA Project (dev@mina.apache.org)
version:
$Rev: 607163 $, $Date: 2007-12-27 20:20:07 -0700 (Thu, 27 Dec 2007) $
Inner Class :final
protected
class ConnectionRequest extends
DefaultConnectFuture
Constructor Summary
protected
AbstractPollingIoConnector
(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass)
protected
AbstractPollingIoConnector
(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass, int processorCount)
protected
AbstractPollingIoConnector
(
IoSessionConfig
sessionConfig,
IoProcessor
<T> processor)
protected
AbstractPollingIoConnector
(
IoSessionConfig
sessionConfig,
Executor
executor,
IoProcessor
<T> processor)
Method Summary
abstract
protected
Iterator
<H>
allHandles
()
abstract
protected
void
close
(H handle)
abstract
protected
boolean
connect
(H handle,
SocketAddress
remoteAddress)
final
protected
ConnectFuture
connect0
(
SocketAddress
remoteAddress,
SocketAddress
localAddress,
IoSessionInitializer
<? extends
ConnectFuture
> sessionInitializer)
abstract
protected
ConnectionRequest
connectionRequest
(H handle)
abstract
protected
void
destroy
()
final
protected
IoFuture
dispose0
()
abstract
protected
boolean
finishConnect
(H handle)
abstract
protected
void
init
()
abstract
protected
H
newHandle
(
SocketAddress
localAddress)
abstract
protected
T
newSession
(
IoProcessor
<T> processor, H handle)
abstract
protected
void
register
(H handle, ConnectionRequest request)
abstract
protected
boolean
select
(int timeout)
abstract
protected
Iterator
<H>
selectedHandles
()
abstract
protected
void
wakeup
()
Constructor Detail
AbstractPollingIoConnector
protected
AbstractPollingIoConnector(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass)
(Code)
AbstractPollingIoConnector
protected
AbstractPollingIoConnector(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass, int processorCount)
(Code)
AbstractPollingIoConnector
protected
AbstractPollingIoConnector(
IoSessionConfig
sessionConfig,
IoProcessor
<T> processor)
(Code)
AbstractPollingIoConnector
protected
AbstractPollingIoConnector(
IoSessionConfig
sessionConfig,
Executor
executor,
IoProcessor
<T> processor)
(Code)
Method Detail
allHandles
abstract
protected
Iterator
<H> allHandles()
(Code)
close
abstract
protected
void close(H handle) throws
Exception
(Code)
connect
abstract
protected
boolean connect(H handle,
SocketAddress
remoteAddress) throws
Exception
(Code)
connect0
final
protected
ConnectFuture
connect0(
SocketAddress
remoteAddress,
SocketAddress
localAddress,
IoSessionInitializer
<? extends
ConnectFuture
> sessionInitializer)
(Code)
connectionRequest
abstract
protected
ConnectionRequest connectionRequest(H handle)
(Code)
destroy
abstract
protected
void destroy() throws
Exception
(Code)
dispose0
final
protected
IoFuture
dispose0() throws
Exception
(Code)
finishConnect
abstract
protected
boolean finishConnect(H handle) throws
Exception
(Code)
init
abstract
protected
void init() throws
Exception
(Code)
newHandle
abstract
protected
H newHandle(
SocketAddress
localAddress) throws
Exception
(Code)
newSession
abstract
protected
T newSession(
IoProcessor
<T> processor, H handle) throws
Exception
(Code)
register
abstract
protected
void register(H handle, ConnectionRequest request) throws
Exception
(Code)
select
abstract
protected
boolean select(int timeout) throws
Exception
(Code)
selectedHandles
abstract
protected
Iterator
<H> selectedHandles()
(Code)
wakeup
abstract
protected
void wakeup()
(Code)
Methods inherited from
org.apache.mina.common.AbstractIoConnector
final
public
ConnectFuture
connect()
(Code)
(Java Doc)
public
ConnectFuture
connect(
IoSessionInitializer
<? extends
ConnectFuture
> sessionInitializer)
(Code)
(Java Doc)
final
public
ConnectFuture
connect(
SocketAddress
remoteAddress)
(Code)
(Java Doc)
public
ConnectFuture
connect(
SocketAddress
remoteAddress,
IoSessionInitializer
<? extends
ConnectFuture
> sessionInitializer)
(Code)
(Java Doc)
public
ConnectFuture
connect(
SocketAddress
remoteAddress,
SocketAddress
localAddress)
(Code)
(Java Doc)
final
public
ConnectFuture
connect(
SocketAddress
remoteAddress,
SocketAddress
localAddress,
IoSessionInitializer
<? extends
ConnectFuture
> sessionInitializer)
(Code)
(Java Doc)
abstract
protected
ConnectFuture
connect0(
SocketAddress
remoteAddress,
SocketAddress
localAddress,
IoSessionInitializer
<? extends
ConnectFuture
> sessionInitializer)
(Code)
(Java Doc)
final
protected
void finishSessionInitialization0(
IoSession
session,
IoFuture
future)
(Code)
(Java Doc)
final
public
int getConnectTimeout()
(Code)
(Java Doc)
final
public
long getConnectTimeoutMillis()
(Code)
(Java Doc)
public
SocketAddress
getDefaultRemoteAddress()
(Code)
(Java Doc)
final
public
void setConnectTimeout(int connectTimeout)
(Code)
(Java Doc)
final
public
void setDefaultRemoteAddress(
SocketAddress
defaultRemoteAddress)
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
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.