|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jeremie.stub_factories.std.OptSkeleton
Provides an abstract implementation of a Jeremie server-side skeleton.
A skeleton is a request session
and represents the target object of an invocation.
Field Summary | |
protected ClassLoader |
class_loader
the class loader use to create this skeleton - may be used to load classes needed by the skeleton. |
protected Object |
target
The target object held by this skeleton. |
Constructor Summary | |
protected |
OptSkeleton()
Creates an optimised Jeremie skeleton with itself as the target. |
protected |
OptSkeleton(Object target)
Creates an optimised Jeremie skeleton with the given target. |
Method Summary | |
boolean |
equals(Object other)
Tests for skeleton equality, defined as object equality (equals) of the target objects. |
Object |
getTarget()
Returns the target object represented by this skeleton. |
int |
hashCode()
Returns a hashcode for this skeleton, defined as the hashcode of its target object. |
abstract void |
send(org.objectweb.jonathan.presentation.api.UnMarshaller unmarshaller,
org.objectweb.jonathan.protocols.api.ReplySession session)
Sends an invocation to the target object represented by this skeleton. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient Object target
protected transient ClassLoader class_loader
Constructor Detail |
protected OptSkeleton()
protected OptSkeleton(Object target)
Method Detail |
public abstract void send(org.objectweb.jonathan.presentation.api.UnMarshaller unmarshaller, org.objectweb.jonathan.protocols.api.ReplySession session) throws org.objectweb.jonathan.apis.kernel.JonathanException
A reply session is sent to the target object along with the invocation (represented by an unmarshaller). The target object must use the reply session to send back a reply.
send
in interface org.objectweb.jonathan.protocols.api.RequestSession
unmarshaller
- an unmarshaller representing the invocation;session
- a reply session to which the result of the invocation
is to be sent;
org.objectweb.jonathan.apis.kernel.JonathanException
- if something goes wrong.public Object getTarget()
getTarget
in interface org.objectweb.jonathan.protocols.api.RequestSession
public boolean equals(Object other)
other
- the skeleton to be compared with.
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |