|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.jeremie.libs.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 java.lang.ClassLoader |
class_loader
the class loader use to create this skeleton - may be used to load classes needed by the skeleton. |
protected java.lang.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(java.lang.Object target)
Creates an optimised Jeremie skeleton with the given target. |
| Method Summary | |
boolean |
equals(java.lang.Object other)
Tests for skeleton equality, defined as object equality (equals) of the target objects. |
java.lang.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(UnMarshaller unmarshaller,
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 java.lang.Object target
protected transient java.lang.ClassLoader class_loader
| Constructor Detail |
protected OptSkeleton()
protected OptSkeleton(java.lang.Object target)
| Method Detail |
public abstract void send(UnMarshaller unmarshaller,
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 RequestSessionunmarshaller - 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 java.lang.Object getTarget()
getTarget in interface RequestSessionpublic boolean equals(java.lang.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 | ||||||||||