|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
deregister(java.lang.String label)
Deregister a multiplex channel. |
void |
disconnected()
This is called by the demultiplexer when the channel has been abnormally terminated. |
void |
finish()
Gracefully stop the MultiplexSSLConnection thread. |
java.lang.String |
getHost()
Return the hostname that this connection bound too |
int |
getPort()
Return the port that this connection is bound too |
org.exolab.core.mipc.MessageOutput |
register(java.lang.String label,
org.exolab.core.mipc.MessageOutput messageOutput)
Register a new multiplex channel. |
void |
run()
The workhorse for the MultiplexConnection. |
void |
setDisconnectionEventListener(DisconnectionEventListener listener)
Set the listener that will be called back when the multiplex connection is dropped |
Method Detail |
public void finish()
public void setDisconnectionEventListener(DisconnectionEventListener listener)
listener
- - the disconnection event listenerpublic void run()
public org.exolab.core.mipc.MessageOutput register(java.lang.String label, org.exolab.core.mipc.MessageOutput messageOutput)
label
- The channel name to register formessageOutput
- Inbound messages are placed here
public void deregister(java.lang.String label)
label
- The channelname to unregisterpublic void disconnected()
public java.lang.String getHost()
public int getPort()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |