org.objectweb.carol.rmi.jrmp.server
Class JUnicastRefSf
public class JUnicastRefSf
Class JUnicastRefSf
is the CAROL JRMP UnicastRef with context
propagation Unicast Reference ensuring context propagation with custom
sockets
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
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
|
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.
liveRef
- the live referencecis
- the client interceptor array
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
override readExternal to initialise localRef We could actually receive
anything from the server on lookup
- readExternal in interface JUnicastRef
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
- writeExternal in interface JUnicastRef
out
- the object output stream