org.objectweb.carol.rmi.jrmp.server

Class JUnicastServerRefSf

Implemented Interfaces:
RemoteRef

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)

Field Summary

Fields inherited from class org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef

cis, sis

Constructor Summary

JUnicastServerRefSf()
constructor
JUnicastServerRefSf(Object ref, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
Constructor with interceptor Create a new Unicast Server RemoteRef.
JUnicastServerRefSf(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, JServerRequestInterceptor[] sis, JClientRequestInterceptor[] cis)
Constructor with interceptor and custum sckets factories

Method Summary

protected RemoteRef
getClientRef()
use a different kind of RemoteRef instance
String
getRefClass(ObjectOutput out)
get the ref class name

Methods inherited from class org.objectweb.carol.rmi.jrmp.server.JUnicastServerRef

dispatch, done, exportObject, getClientRef, getRefClass, invoke, invoke, newCall, readExternal, remoteEquals, remoteHashCode, remoteToString, unmarshalCustomCallData, writeExternal

Constructor Details

JUnicastServerRefSf

public JUnicastServerRefSf()
constructor


JUnicastServerRefSf

public JUnicastServerRefSf(Object ref,
                           JServerRequestInterceptor[] sis,
                           JClientRequestInterceptor[] cis)
Constructor with interceptor Create a new Unicast Server RemoteRef.

Parameters:
sis - the server interceptor array
cis - the client interceptor array


JUnicastServerRefSf

public JUnicastServerRefSf(int port,
                           RMIClientSocketFactory csf,
                           RMIServerSocketFactory ssf,
                           JServerRequestInterceptor[] sis,
                           JClientRequestInterceptor[] cis)
Constructor with interceptor and custum sckets factories

Parameters:
port - the port reference
csf - the client socket factory
sis - the server interceptor array
cis - the client interceptor array

Method Details

getClientRef

protected RemoteRef getClientRef()
use a different kind of RemoteRef instance
Overrides:
getClientRef in interface JUnicastServerRef

Returns:
remoet Ref the remote reference


getRefClass

public String getRefClass(ObjectOutput out)
get the ref class name
Overrides:
getRefClass in interface JUnicastServerRef

Returns:
String the class name