public class JUnicastRefSf extends JUnicastRef
JUnicastRefSf
is the CAROL JRMP UnicastRef with context
propagation Unicast Reference ensuring context propagation with custom
socketscis, initializers
Constructor and Description |
---|
JUnicastRefSf()
Create a new (empty) Unicast remote reference.
|
JUnicastRefSf(sun.rmi.transport.LiveRef liveRef,
JClientRequestInterceptor[] cis,
java.lang.String[] initial,
int local)
Create a new Unicast RemoteRef.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(java.io.ObjectInput in)
override readExternal to initialise localRef We could actually receive
anything from the server on lookup
|
void |
writeExternal(java.io.ObjectOutput out)
override writeExternal to send spaceID We could actually send anything to
the client on lookup
|
getLocalId, getRefClass, invoke, invoke, marshalCustomCallData, newCall, readExternal, writeExternal
public JUnicastRefSf()
public JUnicastRefSf(sun.rmi.transport.LiveRef liveRef, JClientRequestInterceptor[] cis, java.lang.String[] initial, int local)
liveRef
- the live referencecis
- the client interceptor arraypublic void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class JUnicastRef
in
- the object inputjava.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class JUnicastRef
out
- the object output streamjava.io.IOException