|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cindy.session.SessionFactory
public final class SessionFactory
Session factory. The session factory's behavior may be affected by configuration.
Constructor Summary | |
---|---|
SessionFactory()
|
Method Summary | |
---|---|
static Session |
createDatagramSession()
Deprecated. use createSession(SessionType.UDP) instead. |
static Session |
createSession(SessionType type)
Create a new session. |
static SessionAcceptor |
createSessionAcceptor()
Deprecated. use createSessionAcceptor(SessionType.TCP) instead. |
static SessionAcceptor |
createSessionAcceptor(SessionType type)
Create a session acceptor. |
static Session |
createSocketSession()
Deprecated. use createSession(SessionType.TCP) instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionFactory()
Method Detail |
---|
public static Session createSession(SessionType type)
type
- session type
public static Session createSocketSession()
public static Session createDatagramSession()
public static SessionAcceptor createSessionAcceptor(SessionType type)
type
- session type
public static SessionAcceptor createSessionAcceptor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |