org.objectweb.carol.rmi.jrmp.server

Class JUnicastRefSf


public class JUnicastRefSf
extends JUnicastRef

Class JUnicastRefSf is the CAROL JRMP UnicastRef with context propagation Unicast Reference ensuring context propagation with custom sockets

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.JUnicastRef

cis, initializers

Constructor Summary

JUnicastRefSf()
Create a new (empty) Unicast remote reference.
JUnicastRefSf(Object liveRef, JClientRequestInterceptor[] cis, String[] initial, int local)
Create a new Unicast RemoteRef.

Method Summary

void
readExternal(ObjectInput in)
override readExternal to initialise localRef We could actually receive anything from the server on lookup
void
writeExternal(ObjectOutput out)
override writeExternal to send spaceID We could actually send anything to the client on lookup

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

getLocalId, getRefClass, invoke, invoke, marshalCustomCallData, newCall, readExternal, readExternal, writeExternal, writeExternal

Constructor Details

JUnicastRefSf

public JUnicastRefSf()
Create a new (empty) Unicast remote reference.


JUnicastRefSf

public JUnicastRefSf(Object liveRef,
                     JClientRequestInterceptor[] cis,
                     String[] initial,
                     int local)
Create a new Unicast RemoteRef.

Parameters:
liveRef - the live reference
cis - the client interceptor array

Method Details

readExternal

public void readExternal(ObjectInput in)
            throws IOException,
                   ClassNotFoundException
override readExternal to initialise localRef We could actually receive anything from the server on lookup
Overrides:
readExternal in interface JUnicastRef

Parameters:
in - the object input


writeExternal

public void writeExternal(ObjectOutput out)
            throws IOException
override writeExternal to send spaceID We could actually send anything to the client on lookup
Overrides:
writeExternal in interface JUnicastRef

Parameters:
out - the object output stream