|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Connection
| Method Summary | |
|---|---|
void |
addAuthenticationListener(AuthenticationListener listener)
Adds an AuthenticationListener to this connection. |
void |
addConnectionListener(ConnectionListener listener)
Adds a ConnectionListener to this Connection instance. |
void |
connect(Node node,
int port)
|
void |
disconnect()
|
Node |
getNode()
|
int |
getPort()
|
boolean |
isActive()
|
void |
removeAuthenticationListener(AuthenticationListener listener)
Removes an AuthenticationListener from this connection. |
void |
removeConnectionListener(ConnectionListener listener)
Removes a ConnectionListener from this Connection instance. |
void |
sendMessage(ControlMessage msg,
CommandHandler handler)
|
| Method Detail |
|---|
void sendMessage(ControlMessage msg,
CommandHandler handler)
throws java.io.IOException
java.io.IOExceptionvoid disconnect()
Node getNode()
boolean isActive()
int getPort()
void addConnectionListener(ConnectionListener listener)
ConnectionListenervoid removeConnectionListener(ConnectionListener listener)
ConnectionListenervoid addAuthenticationListener(AuthenticationListener listener)
AuthenticationListenervoid removeAuthenticationListener(AuthenticationListener listener)
AuthenticationListener
void connect(Node node,
int port)
throws java.io.IOException,
SecureConnectionRequiredException,
LoginFailedException,
UntrustedAgentControllerException
java.io.IOException
SecureConnectionRequiredException
LoginFailedException
UntrustedAgentControllerException
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||