org.objectweb.jeremie.stub_factories.std

Class StdStubFactory.RequestSessionImpl

Enclosing Class:
StdStubFactory
Implemented Interfaces:
RequestSession

protected class StdStubFactory.RequestSessionImpl
extends Object
implements RequestSession

Provides an implementation of a request session.

Constructor Summary

RequestSessionImpl(Object target)
Builds a new RequestSessionImpl.

Method Summary

boolean
equals(Object other)
Object
getTarget()
Returns this session's target.
int
hashCode()
void
send(UnMarshaller message, ReplySession session)
Sends a message to the session target.

Constructor Details

RequestSessionImpl

protected RequestSessionImpl(Object target)
Builds a new RequestSessionImpl.

Parameters:
target - the session target.

Method Details

equals

public boolean equals(Object other)


getTarget

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

Returns:
this session's target.


hashCode

public int hashCode()


send

public void send(UnMarshaller message,
                 ReplySession session)
            throws JonathanException
Sends a message to the session target.

Parameters:
message - the message to be sent;
session - the reply session to be used for answering the request.