|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connector
Common base interface for acceptors and initiators.
Method Summary | |
---|---|
void |
block()
Start accepting connections. |
java.util.ArrayList<SessionID> |
getSessions()
Returns the sessions managed by this acceptor. |
boolean |
isLoggedOn()
Checks the logged on status of the session. |
void |
start()
Start accepting connections. |
void |
stop()
Logout existing sessions, close their connections, and stop accepting new connections. |
void |
stop(boolean force)
Stops all sessions, optionally waiting for logout completion. |
Method Detail |
---|
void start() throws ConfigError, RuntimeError
ConfigError
- Problem with acceptor configuration.
RuntimeError
- Other unspecified errorvoid stop()
void stop(boolean force)
force
- don't wait for logout before disconnect.void block() throws ConfigError, RuntimeError
ConfigError
- Problem with acceptor configuration.
RuntimeError
- Other unspecified errorboolean isLoggedOn()
java.util.ArrayList<SessionID> getSessions()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |