org.objectweb.carol.rmi.jrmp.server
Class JUnicastRefSf
java.lang.Object
sun.rmi.server.UnicastRef
org.objectweb.carol.rmi.jrmp.server.JUnicastRef
org.objectweb.carol.rmi.jrmp.server.JUnicastRefSf
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.rmi.server.RemoteRef
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)
- See Also:
- Serialized Form
Fields inherited from class sun.rmi.server.UnicastRef |
clientCallLog, clientRefLog, ref |
Fields inherited from interface java.rmi.server.RemoteRef |
packagePrefix, serialVersionUID |
Method Summary |
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 |
Methods inherited from class sun.rmi.server.UnicastRef |
done, getLiveRef, marshalValue, remoteEquals, remoteHashCode, remoteToString, unmarshalValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnicastRefSf
public JUnicastRefSf()
- Create a new (empty) Unicast remote reference.
JUnicastRefSf
public JUnicastRefSf(sun.rmi.transport.LiveRef liveRef,
JClientRequestInterceptor[] cis,
java.lang.String[] initial,
int local)
- Create a new Unicast RemoteRef.
- Parameters:
liveRef
- the live referencecis
- the client interceptor array
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- override readExternal to initialise localRef We could actually receive
anything from the server on lookup
- Specified by:
readExternal
in interface java.io.Externalizable
- Overrides:
readExternal
in class JUnicastRef
- Parameters:
in
- the object input
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- override writeExternal to send spaceID We could actually send anything to
the client on lookup
- Specified by:
writeExternal
in interface java.io.Externalizable
- Overrides:
writeExternal
in class JUnicastRef
- Parameters:
out
- the object output stream
- Throws:
java.io.IOException