|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Connection to a remote node.
Nested Class Summary | |
static interface |
RemoteNodeConnection.LifecycleListener
Callback interface to be notified when the connection is closed. |
Method Summary | |
void |
close()
Closes the connection. |
void |
open()
Opens the connection. |
void |
setLifecycleListener(RemoteNodeConnection.LifecycleListener aListener)
Sets the listener to be notified when the connection is closed. |
Methods inherited from interface org.apache.geronimo.messaging.MsgProducer |
setMsgProducerOut |
Methods inherited from interface org.apache.geronimo.messaging.MsgConsumer |
getMsgConsumerOut |
Method Detail |
public void open() throws NodeException
NodeException
- Indicates that the connection can not be opened.public void close()
public void setLifecycleListener(RemoteNodeConnection.LifecycleListener aListener)
aListener
- Listener.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |