|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsun.rmi.server.UnicastRef
sun.rmi.server.UnicastServerRef
org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef
Class JUnicastServerRef implements the remote reference layer
server-side behavior for remote objects exported with the JUnicastRef
reference type.
| Field Summary | |
protected JClientRequestInterceptor[] |
cis
ClientRequestInterceptor array |
protected JServerRequestInterceptor[] |
sis
ServerRequestInterceptor array |
| Fields inherited from class sun.rmi.server.UnicastServerRef |
callLog, logCalls, serverRefLog |
| Fields inherited from class sun.rmi.server.UnicastRef |
clientCallLog, clientRefLog, ref |
| Fields inherited from interface java.rmi.server.RemoteRef |
packagePrefix |
| Constructor Summary | |
JUnicastServerRef()
constructor |
|
JUnicastServerRef(int port,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
Constructor with interceptor |
|
JUnicastServerRef(sun.rmi.transport.LiveRef ref,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
Constructor with interceptor |
|
| Method Summary | |
void |
dispatch(java.rmi.Remote obj,
java.rmi.server.RemoteCall call)
override dispatch to use a specific thread factory |
java.rmi.Remote |
exportObject(java.rmi.Remote obj,
java.lang.Object object,
int localId)
|
protected java.rmi.server.RemoteRef |
getClientRef()
use a different kind of RemoteRef instance. |
java.lang.String |
getRefClass(java.io.ObjectOutput out)
get the ref class name |
protected void |
unmarshalCustomCallData(java.io.ObjectInput in)
override unmarshalCustomCallData to receive and establish contexts sent by the client |
| Methods inherited from class sun.rmi.server.UnicastServerRef |
clearStackTraces, exportObject, exportObject, getClientHost, oldDispatch, readExternal, setSkeleton, writeExternal |
| Methods inherited from class sun.rmi.server.UnicastRef |
done, invoke, invoke, marshalCustomCallData, marshalValue, newCall, remoteEquals, remoteHashCode, remoteToString, unmarshalValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.rmi.server.RemoteRef |
done, invoke, invoke, newCall, remoteEquals, remoteHashCode, remoteToString |
| Field Detail |
protected JServerRequestInterceptor[] sis
protected JClientRequestInterceptor[] cis
| Constructor Detail |
public JUnicastServerRef()
public JUnicastServerRef(sun.rmi.transport.LiveRef ref,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
ref - the live referencesis - the server interceptor arraycis - the client interceptor array
public JUnicastServerRef(int port,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
port - the port referencesis - the server interceptor arraycis - the client interceptor array| Method Detail |
public java.lang.String getRefClass(java.io.ObjectOutput out)
protected java.rmi.server.RemoteRef getClientRef()
public java.rmi.Remote exportObject(java.rmi.Remote obj,
java.lang.Object object,
int localId)
throws java.rmi.RemoteException
obj - localId - object -
java.rmi.RemoteException
protected void unmarshalCustomCallData(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
in - the object input
java.io.IOException
java.lang.ClassNotFoundException
public void dispatch(java.rmi.Remote obj,
java.rmi.server.RemoteCall call)
throws java.io.IOException
obj - the remote objectcall - the remote call on this object
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||