org.objectweb.carol.rmi.jrmp.server
Class JUnicastServerRefSf

java.lang.Object
  extended by sun.rmi.server.UnicastRef
      extended by sun.rmi.server.UnicastServerRef
          extended by org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef
              extended by 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

Field Summary
 
Fields inherited from class org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef
cis, sis
 
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
 
Constructor Summary
JUnicastServerRefSf()
          constructor
JUnicastServerRefSf(int port, java.rmi.server.RMIClientSocketFactory csf, java.rmi.server.RMIServerSocketFactory ssf, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
          Constructor with interceptor and custum sckets factories
JUnicastServerRefSf(sun.rmi.transport.LiveRef ref, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
          Constructor with interceptor Create a new Unicast Server RemoteRef.
 
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 org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef
dispatch, exportObject, unmarshalCustomCallData
 
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
 

Constructor Detail

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 reference
sis - the server interceptor array
cis - 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 reference
csf - the client socket factory
sf - the server socket factory
sis - the server interceptor array
cis - the client interceptor array
Method Detail

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