Java Doc for AbstractPollingIoAcceptor.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
org.apache.mina.common
.AbstractPollingIoAcceptor
AbstractPollingIoAcceptor
abstract
public
class AbstractPollingIoAcceptor extends
AbstractIoAcceptor
(Code)
author:
The Apache MINA Project (dev@mina.apache.org)
version:
$Rev: 605069 $, $Date: 2007-12-17 19:47:03 -0700 (Mon, 17 Dec 2007) $
Constructor Summary
protected
AbstractPollingIoAcceptor
(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass)
protected
AbstractPollingIoAcceptor
(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass, int processorCount)
protected
AbstractPollingIoAcceptor
(
IoSessionConfig
sessionConfig,
IoProcessor
<T> processor)
protected
AbstractPollingIoAcceptor
(
IoSessionConfig
sessionConfig,
Executor
executor,
IoProcessor
<T> processor)
Method Summary
abstract
protected
T
accept
(
IoProcessor
<T> processor, H handle)
final
protected
Set
<
SocketAddress
>
bind0
(
List
<? extends
SocketAddress
> localAddresses)
abstract
protected
void
close
(H handle)
abstract
protected
void
destroy
()
protected
IoFuture
dispose0
()
abstract
protected
void
init
()
abstract
protected
SocketAddress
localAddress
(H handle)
final
public
IoSession
newSession
(
SocketAddress
remoteAddress,
SocketAddress
localAddress)
abstract
protected
H
open
(
SocketAddress
localAddress)
abstract
protected
boolean
select
()
abstract
protected
Iterator
<H>
selectedHandles
()
final
protected
void
unbind0
(
List
<? extends
SocketAddress
> localAddresses)
abstract
protected
void
wakeup
()
Constructor Detail
AbstractPollingIoAcceptor
protected
AbstractPollingIoAcceptor(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass)
(Code)
Create an acceptor with a single processing thread using a NewThreadExecutor
AbstractPollingIoAcceptor
protected
AbstractPollingIoAcceptor(
IoSessionConfig
sessionConfig,
Class
<? extends
IoProcessor
<T>> processorClass, int processorCount)
(Code)
AbstractPollingIoAcceptor
protected
AbstractPollingIoAcceptor(
IoSessionConfig
sessionConfig,
IoProcessor
<T> processor)
(Code)
AbstractPollingIoAcceptor
protected
AbstractPollingIoAcceptor(
IoSessionConfig
sessionConfig,
Executor
executor,
IoProcessor
<T> processor)
(Code)
Method Detail
accept
abstract
protected
T accept(
IoProcessor
<T> processor, H handle) throws
Exception
(Code)
bind0
final
protected
Set
<
SocketAddress
> bind0(
List
<? extends
SocketAddress
> localAddresses) throws
Exception
(Code)
close
abstract
protected
void close(H handle) throws
Exception
(Code)
destroy
abstract
protected
void destroy() throws
Exception
(Code)
dispose0
protected
IoFuture
dispose0() throws
Exception
(Code)
init
abstract
protected
void init() throws
Exception
(Code)
localAddress
abstract
protected
SocketAddress
localAddress(H handle) throws
Exception
(Code)
newSession
final
public
IoSession
newSession(
SocketAddress
remoteAddress,
SocketAddress
localAddress)
(Code)
open
abstract
protected
H open(
SocketAddress
localAddress) throws
Exception
(Code)
select
abstract
protected
boolean select() throws
Exception
(Code)
selectedHandles
abstract
protected
Iterator
<H> selectedHandles()
(Code)
unbind0
final
protected
void unbind0(
List
<? extends
SocketAddress
> localAddresses) throws
Exception
(Code)
wakeup
abstract
protected
void wakeup()
(Code)
Fields inherited from
org.apache.mina.common.AbstractIoAcceptor
final
protected
Object
bindLock
(Code)
(Java Doc)
Methods inherited from
org.apache.mina.common.AbstractIoAcceptor
final
public
void bind() throws
IOException
(Code)
(Java Doc)
final
public
void bind(
SocketAddress
localAddress) throws
IOException
(Code)
(Java Doc)
final
public
void bind(
SocketAddress
firstLocalAddress,
SocketAddress
... otherLocalAddresses) throws
IOException
(Code)
(Java Doc)
final
public
void bind(
Iterable
<? extends
SocketAddress
> localAddresses) throws
IOException
(Code)
(Java Doc)
abstract
protected
Set
<
SocketAddress
> bind0(
List
<? extends
SocketAddress
> localAddresses) throws
Exception
(Code)
(Java Doc)
public
SocketAddress
getDefaultLocalAddress()
(Code)
(Java Doc)
final
public
List
<
SocketAddress
> getDefaultLocalAddresses()
(Code)
(Java Doc)
public
SocketAddress
getLocalAddress()
(Code)
(Java Doc)
final
public
Set
<
SocketAddress
> getLocalAddresses()
(Code)
(Java Doc)
final
public
boolean isCloseOnDeactivation()
(Code)
(Java Doc)
final
public
void setCloseOnDeactivation(boolean disconnectClientsOnUnbind)
(Code)
(Java Doc)
final
public
void setDefaultLocalAddress(
SocketAddress
localAddress)
(Code)
(Java Doc)
final
public
void setDefaultLocalAddresses(
List
<? extends
SocketAddress
> localAddresses)
(Code)
(Java Doc)
final
public
void setDefaultLocalAddresses(
Iterable
<? extends
SocketAddress
> localAddresses)
(Code)
(Java Doc)
final
public
void setDefaultLocalAddresses(
SocketAddress
firstLocalAddress,
SocketAddress
... otherLocalAddresses)
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final
public
void unbind()
(Code)
(Java Doc)
final
public
void unbind(
SocketAddress
localAddress)
(Code)
(Java Doc)
final
public
void unbind(
SocketAddress
firstLocalAddress,
SocketAddress
... otherLocalAddresses)
(Code)
(Java Doc)
final
public
void unbind(
Iterable
<? extends
SocketAddress
> localAddresses)
(Code)
(Java Doc)
abstract
protected
void unbind0(
List
<? extends
SocketAddress
> localAddresses) throws
Exception
(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.