protected class StdStubFactory.RequestSessionImpl extends Object implements org.objectweb.jonathan.protocols.api.RequestSession
request session
.Modifier | Constructor and Description |
---|---|
protected |
StdStubFactory.RequestSessionImpl(Object target)
Builds a new RequestSessionImpl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Object |
getTarget()
Returns this session's target.
|
int |
hashCode() |
void |
send(org.objectweb.jonathan.presentation.api.UnMarshaller message,
org.objectweb.jonathan.protocols.api.ReplySession session)
Sends a message to the session target.
|
protected StdStubFactory.RequestSessionImpl(Object target)
target
- the session target.public void send(org.objectweb.jonathan.presentation.api.UnMarshaller message, org.objectweb.jonathan.protocols.api.ReplySession session) throws org.objectweb.jonathan.apis.kernel.JonathanException
send
in interface org.objectweb.jonathan.protocols.api.RequestSession
message
- the message to be sent;session
- the reply session to be used for answering the request.org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.public Object getTarget()
getTarget
in interface org.objectweb.jonathan.protocols.api.RequestSession