|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.messaging.remotenode.AbstractRemoteNode
Abstract implememtation for the RemoteNode contracts.
| Field Summary | |
protected IOContext |
ioContext
|
protected NodeInfo |
localNodeInfo
Local node meta-data. |
protected RemoteNodeManager |
manager
Manager of this remote node. |
protected MsgOutInterceptor |
producerOut
Incoming Msgs (coming from remote nodes) are pushed to this output. |
protected NodeInfo |
remoteNodeInfo
Remote node meta-data. |
| Constructor Summary | |
AbstractRemoteNode(NodeInfo aLocalNode,
IOContext anIOContext)
|
|
AbstractRemoteNode(NodeInfo aLocalNodeInfo,
NodeInfo aRemoteNodeInfo,
IOContext anIOContext)
|
|
| Method Summary | |
MsgOutInterceptor |
getMsgConsumerOut()
Gets a mean to push Msgs to this instance. |
NodeInfo |
getNodeInfo()
Gets the NodeInfo of this remote node. |
void |
leave()
Leaves the remote node. |
protected void |
setConnection(RemoteNodeConnection aConnection)
|
void |
setManager(RemoteNodeManager aManager)
Sets the manager of this remote node. |
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 |
| Methods inherited from interface org.apache.geronimo.messaging.remotenode.RemoteNode |
join |
| Field Detail |
protected final NodeInfo localNodeInfo
protected RemoteNodeManager manager
protected NodeInfo remoteNodeInfo
protected final IOContext ioContext
protected MsgOutInterceptor producerOut
| Constructor Detail |
public AbstractRemoteNode(NodeInfo aLocalNode,
IOContext anIOContext)
public AbstractRemoteNode(NodeInfo aLocalNodeInfo,
NodeInfo aRemoteNodeInfo,
IOContext anIOContext)
| Method Detail |
public void setManager(RemoteNodeManager aManager)
RemoteNode
setManager in interface RemoteNodeaManager - Manager.public void setMsgProducerOut(MsgOutInterceptor aMsgOut)
MsgProducer
setMsgProducerOut in interface MsgProduceraMsgOut - Used by this instance to push Msgs to other components.public MsgOutInterceptor getMsgConsumerOut()
MsgConsumer
getMsgConsumerOut in interface MsgConsumerpublic NodeInfo getNodeInfo()
RemoteNode
getNodeInfo in interface RemoteNode
protected void setConnection(RemoteNodeConnection aConnection)
throws NodeException
NodeExceptionpublic void leave()
RemoteNode
leave in interface RemoteNode
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||