org.objectweb.carol.rmi.jrmp.server
Class JUnicastServerRefSf
java.lang.Object
sun.rmi.server.UnicastRef
sun.rmi.server.UnicastServerRef
org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef
org.objectweb.carol.rmi.jrmp.server.JUnicastServerRefSf
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.rmi.server.RemoteRef, java.rmi.server.ServerRef, sun.rmi.server.Dispatcher
public class JUnicastServerRefSf
- extends JUnicastServerRef
Class JUnicastServerRefSf
implements the remote reference
layer server-side behavior for remote objects exported with the JUnicastRefSf
reference type.
- Version:
- 1.0, 15/07/2002
- Author:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
- See Also:
- Serialized Form
Fields inherited from class sun.rmi.server.UnicastServerRef |
callLog, logCalls |
Fields inherited from class sun.rmi.server.UnicastRef |
clientCallLog, clientRefLog, ref |
Fields inherited from interface java.rmi.server.RemoteRef |
packagePrefix |
Method Summary |
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 |
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 |
JUnicastServerRefSf
public JUnicastServerRefSf()
- constructor
JUnicastServerRefSf
public JUnicastServerRefSf(sun.rmi.transport.LiveRef ref,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
- Constructor with interceptor Create a new Unicast Server RemoteRef.
- Parameters:
liveRef
- the live referencesis
- the server interceptor arraycis
- the client interceptor array
JUnicastServerRefSf
public JUnicastServerRefSf(int port,
java.rmi.server.RMIClientSocketFactory csf,
java.rmi.server.RMIServerSocketFactory ssf,
JServerRequestInterceptor[] sis,
JClientRequestInterceptor[] cis)
- Constructor with interceptor and custum sckets factories
- Parameters:
port
- the port referencecsf
- the client socket factorysf
- the server socket factorysis
- the server interceptor arraycis
- the client interceptor array
getRefClass
public java.lang.String getRefClass(java.io.ObjectOutput out)
- get the ref class name
- Specified by:
getRefClass
in interface java.rmi.server.RemoteRef
- Overrides:
getRefClass
in class JUnicastServerRef
- Returns:
- String the class name
getClientRef
protected java.rmi.server.RemoteRef getClientRef()
- use a different kind of RemoteRef instance
- Overrides:
getClientRef
in class JUnicastServerRef
- Returns:
- remoet Ref the remote reference