|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiplexConnectionIfc
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 |
---|
void finish()
void setDisconnectionEventListener(DisconnectionEventListener listener)
listener
- - the disconnection event listenervoid run()
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
void deregister(java.lang.String label)
label
- The channelname to unregistervoid disconnected()
java.lang.String getHost()
int getPort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |