|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sun.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.ServerRef |
serialVersionUID |
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 |
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 arraypublic JUnicastServerRef(int port, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
port
- the port referencesis
- the server interceptor arraycis
- the client interceptor arrayMethod Detail |
public java.lang.String getRefClass(java.io.ObjectOutput out)
getRefClass
in interface java.rmi.server.RemoteRef
getRefClass
in class sun.rmi.server.UnicastServerRef
protected java.rmi.server.RemoteRef getClientRef()
getClientRef
in class sun.rmi.server.UnicastServerRef
protected void unmarshalCustomCallData(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
unmarshalCustomCallData
in class sun.rmi.server.UnicastServerRef
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
dispatch
in interface sun.rmi.server.Dispatcher
dispatch
in class sun.rmi.server.UnicastServerRef
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 |