|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.messaging.remotenode.network.AbstractRemoteNodeConnection
Abstract implememtation for the RemoteNodeConnection contracts.
Nested Class Summary |
Nested classes inherited from class org.apache.geronimo.messaging.remotenode.RemoteNodeConnection |
RemoteNodeConnection.LifecycleListener |
Field Summary | |
protected org.apache.geronimo.network.protocol.Protocol |
protocol
|
Constructor Summary | |
AbstractRemoteNodeConnection(IOContext anIOContext)
|
Method Summary | |
void |
close()
Closes the connection. |
MsgOutInterceptor |
getMsgConsumerOut()
Gets a mean to push Msgs to this instance. |
protected abstract org.apache.geronimo.network.protocol.Protocol |
newProtocol()
|
void |
open()
Opens the connection. |
void |
setLifecycleListener(RemoteNodeConnection.LifecycleListener aListener)
Sets the listener to be notified when the connection is closed. |
void |
setMsgProducerOut(MsgOutInterceptor aMsgOut)
Sets a mean to this instance to push Msgs to the outside world. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.geronimo.network.protocol.Protocol protocol
Constructor Detail |
public AbstractRemoteNodeConnection(IOContext anIOContext)
Method Detail |
public void setMsgProducerOut(MsgOutInterceptor aMsgOut)
MsgProducer
setMsgProducerOut
in interface MsgProducer
aMsgOut
- Used by this instance to push Msgs to other components.public MsgOutInterceptor getMsgConsumerOut()
MsgConsumer
getMsgConsumerOut
in interface MsgConsumer
public void open() throws NodeException
RemoteNodeConnection
open
in interface RemoteNodeConnection
NodeException
- Indicates that the connection can not be opened.protected abstract org.apache.geronimo.network.protocol.Protocol newProtocol() throws org.apache.geronimo.network.protocol.ProtocolException
org.apache.geronimo.network.protocol.ProtocolException
public void close()
RemoteNodeConnection
close
in interface RemoteNodeConnection
public void setLifecycleListener(RemoteNodeConnection.LifecycleListener aListener)
RemoteNodeConnection
setLifecycleListener
in interface RemoteNodeConnection
aListener
- Listener.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |