net.captp.jcomm
Class CapTPReviver
java.lang.Object
|
+--org.erights.e.elib.serial.Reviver
|
+--net.captp.jcomm.CapTPReviver
- class CapTPReviver
- extends Reviver
Used to specialize the UnserializationStream for receiving state serialized
over a CapTP connection.
- Author:
- Mark S. Miller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myConn
private final CapTPConnection myConn
- The connection over which we are communicating
CapTPReviver
CapTPReviver(CapTPConnection conn)
substitute
public Object substitute(Object ref)
- Replace ObjectRefDescs in the input stream with the object reference
they
dereference
to.
- Specified by:
substitute
in class Reviver
- Parameters:
ref
- The object that was reconstructed from the serialization
stream.
- Returns:
- The object to return in its stead -- as its revival.
comments?