|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cindy.session.AbstractSessionAcceptor
net.sf.cindy.session.nio.NonBlockingSessionAcceptor
public class NonBlockingSessionAcceptor
Non-blocking session acceptor.
Constructor Summary | |
---|---|
NonBlockingSessionAcceptor()
|
Method Summary | |
---|---|
void |
close()
Close acceptor. |
int |
getAcceptedCount()
Get accepted session count. |
java.net.SocketAddress |
getListenAddress()
Get the listen address which the accpetor bind with. |
int |
getListenPort()
Get the listen port which the acceptor bind with. |
SessionType |
getSessionType()
Get the session type of the session accepted by the acceptor. |
boolean |
isStarted()
Acceptor is started. |
void |
start()
Start acceptor. |
Methods inherited from class net.sf.cindy.session.AbstractSessionAcceptor |
---|
exceptionCaught, getAcceptorHandler, getBacklog, isReuseAddress, sessionAccepted, setAcceptorHandler, setBacklog, setListenAddress, setListenPort, setReuseAddress, setServerSocketOptions, setSocketOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonBlockingSessionAcceptor()
Method Detail |
---|
public SessionType getSessionType()
SessionAcceptor
public boolean isStarted()
SessionAcceptor
public java.net.SocketAddress getListenAddress()
SessionAcceptor
getListenAddress
in interface SessionAcceptor
getListenAddress
in class AbstractSessionAcceptor
public int getListenPort()
SessionAcceptor
getListenPort
in interface SessionAcceptor
getListenPort
in class AbstractSessionAcceptor
public void start()
SessionAcceptor
public int getAcceptedCount()
SessionAcceptor
public void close()
SessionAcceptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |