|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.geronimo.messaging.BaseEndPoint
Base class for EndPoint implementations.
Field Summary | |
protected Object |
id
EndPoint identifier. |
protected Node |
node
Node which has mounted this EndPoint. |
protected MsgOutInterceptor |
out
Used to communicate with remote EndPoints. |
protected RequestSender |
sender
To send requests. |
Constructor Summary | |
BaseEndPoint(Node aNode,
Object anID)
Creates an EndPoint, which is mounted by the specified Node and having the specified identifier. |
Method Summary | |
Object |
getID()
Gets the identifier of this EndPoint. |
MsgOutInterceptor |
getMsgConsumerOut()
Gets a mean to push Msgs to this instance. |
protected void |
handleRequest(Msg aMsg)
Handles a request Msg. |
protected void |
handleResponse(Msg aMsg)
Handles a response Msg. |
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 final Node node
protected final Object id
protected final RequestSender sender
protected MsgOutInterceptor out
Constructor Detail |
public BaseEndPoint(Node aNode, Object anID)
aNode
- Node owning this connector.anID
- EndPoint identifier.Method Detail |
public final Object getID()
EndPoint
getID
in interface EndPoint
public MsgOutInterceptor getMsgConsumerOut()
MsgConsumer
getMsgConsumerOut
in interface MsgConsumer
public void setMsgProducerOut(MsgOutInterceptor aMsgOut)
MsgProducer
setMsgProducerOut
in interface MsgProducer
aMsgOut
- Used by this instance to push Msgs to other components.protected void handleRequest(Msg aMsg)
aMsg
- Request Msg to be processed.protected void handleResponse(Msg aMsg)
aMsg
- Response to be handled.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |