org.objectweb.jeremie.stub_factories.std

Class StdStubFactory.DynamicRequestSession

Enclosing Class:
StdStubFactory
Implemented Interfaces:
RequestSession

protected class StdStubFactory.DynamicRequestSession
extends Object
implements RequestSession

Provides an implementation of a request session.

Constructor Summary

DynamicRequestSession(DynamicRemote target, Class stub_class)
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

DynamicRequestSession

protected DynamicRequestSession(DynamicRemote target,
                                Class stub_class)
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.