Methods Summary |
---|
public void | close()Close and shutdown this connection.
|
public void | connect(ConnectionListener listener)Connect this connection's transport, i.e. establish the peer connection.
If this connection is already established (from an incoming connection for example),
then this provides a mechanism to register the connection listener, in which case
connectSuccess() will be called immediately.
|
public IncomingMessageQueue | getIncomingMessageQueue()Get the connection's incoming message queue.
|
public OutgoingMessageQueue | getOutgoingMessageQueue()Get the connection's outgoing message queue.
|
public void | startMessageProcessing()Begin processing incoming and outgoing message queues.
|