org.objectweb.jeremie.libs.stub_factories.std
Class StdStubFactory.RequestSessionImpl

java.lang.Object
  extended byorg.objectweb.jeremie.libs.stub_factories.std.StdStubFactory.RequestSessionImpl
All Implemented Interfaces:
RequestSession
Enclosing class:
StdStubFactory

protected class StdStubFactory.RequestSessionImpl
extends java.lang.Object
implements RequestSession

Provides an implementation of a request session.


Constructor Summary
protected StdStubFactory.RequestSessionImpl(java.lang.Object target)
          Builds a new RequestSessionImpl.
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.Object getTarget()
          Returns this session's target.
 int hashCode()
           
 void send(UnMarshaller message, ReplySession session)
          Sends a message to the session target.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdStubFactory.RequestSessionImpl

protected StdStubFactory.RequestSessionImpl(java.lang.Object target)
Builds a new RequestSessionImpl.

Parameters:
target - the session target.
Method Detail

send

public void send(UnMarshaller message,
                 ReplySession session)
          throws org.objectweb.jonathan.apis.kernel.JonathanException
Sends a message to the session target.

Specified by:
send in interface RequestSession
Parameters:
message - the message to be sent;
session - the reply session to be used for answering the request.
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.

getTarget

public java.lang.Object getTarget()
Returns this session's target.

Specified by:
getTarget in interface RequestSession
Returns:
this session's target.

equals

public boolean equals(java.lang.Object other)

hashCode

public int hashCode()