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

Field Summary
private  CapTPConnection myConn
          The connection over which we are communicating
 
Constructor Summary
(package private) CapTPReviver(CapTPConnection conn)
           
 
Method Summary
 Object substitute(Object ref)
          Replace ObjectRefDescs in the input stream with the object reference they dereference to.
 
Methods inherited from class org.erights.e.elib.serial.Reviver
getUnserializationStream, play, playFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myConn

private final CapTPConnection myConn
The connection over which we are communicating

Constructor Detail

CapTPReviver

CapTPReviver(CapTPConnection conn)
Method Detail

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?