|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsun.rmi.server.UnicastRef
org.objectweb.carol.rmi.jrmp.server.JUnicastRef
Class JUnicastRef is the CAROL JRMP UnicastRef with context
propagation
| Field Summary | |
protected JClientRequestInterceptor[] |
cis
Client Interceptor for context propagation |
protected java.lang.String[] |
initializers
Interceptors initialisers for this References |
| Fields inherited from class sun.rmi.server.UnicastRef |
clientCallLog, clientRefLog, ref |
| Fields inherited from interface java.rmi.server.RemoteRef |
packagePrefix, serialVersionUID |
| Constructor Summary | |
JUnicastRef()
empty constructor |
|
JUnicastRef(sun.rmi.transport.LiveRef liveRef)
Constructor without Interceptor |
|
JUnicastRef(sun.rmi.transport.LiveRef liveRef,
JClientRequestInterceptor[] cis,
java.lang.String[] initial,
int local)
Constructor with interceptor |
|
| Method Summary | |
int |
getLocalId()
|
java.lang.String |
getRefClass(java.io.ObjectOutput out)
get the ref class always return null |
void |
invoke(java.rmi.server.RemoteCall call)
Deprecated. |
java.lang.Object |
invoke(java.rmi.Remote obj,
java.lang.reflect.Method method,
java.lang.Object[] params,
long opnum)
wrap the call to send the contexts |
protected void |
marshalCustomCallData(java.io.ObjectOutput out)
override marshalCustomCallData to pass and disociate contexts on the client |
java.rmi.server.RemoteCall |
newCall(java.rmi.server.RemoteObject obj,
java.rmi.server.Operation[] ops,
int opnum,
long hash)
Deprecated. |
void |
readExternal(java.io.ObjectInput in)
override readExternal to initialise localRef We could actually receive anything from the server on lookup |
void |
readExternal(java.io.ObjectInput in,
boolean newFormat)
override readExternal to initialise localRef We could actually receive anything from the server on lookup |
void |
writeExternal(java.io.ObjectOutput out)
override writeExternal to send spaceID We could actually send anything to the client on lookup |
void |
writeExternal(java.io.ObjectOutput out,
boolean newFormat)
override writeExternal to send spaceID And the interceptor We could actually send anything to the client on lookup |
| Methods inherited from class sun.rmi.server.UnicastRef |
done, marshalValue, remoteEquals, remoteHashCode, remoteToString, unmarshalValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected transient JClientRequestInterceptor[] cis
protected transient java.lang.String[] initializers
| Constructor Detail |
public JUnicastRef()
public JUnicastRef(sun.rmi.transport.LiveRef liveRef)
liveRef - the live reference
public JUnicastRef(sun.rmi.transport.LiveRef liveRef,
JClientRequestInterceptor[] cis,
java.lang.String[] initial,
int local)
liveRef - the live referencecis - the client interceptor array| Method Detail |
public java.lang.String getRefClass(java.io.ObjectOutput out)
out - the output stream
public java.lang.Object invoke(java.rmi.Remote obj,
java.lang.reflect.Method method,
java.lang.Object[] params,
long opnum)
throws java.lang.Exception
obj - the remote object to invokemethod - the method to invoqueparams - the methid paramettersopnum - the operation number
java.lang.Exception
public void invoke(java.rmi.server.RemoteCall call)
throws java.lang.Exception
call - the remote call
java.lang.Exception
public java.rmi.server.RemoteCall newCall(java.rmi.server.RemoteObject obj,
java.rmi.server.Operation[] ops,
int opnum,
long hash)
throws java.rmi.RemoteException
obj - the remote objectops - the operationopnum - the operation numberhash - the hash code
java.rmi.RemoteException
protected void marshalCustomCallData(java.io.ObjectOutput out)
throws java.io.IOException
out - the ObjectOutput for the call marchalling
java.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - the ObjectInput
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
out - the object output stream
java.io.IOException
public void readExternal(java.io.ObjectInput in,
boolean newFormat)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - the object inputnewFormat - the new format boolean
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out,
boolean newFormat)
throws java.io.IOException
out - the object outputnewFormat - the boolean new format
java.io.IOExceptionpublic int getLocalId()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||