ref_send API 2.17
defensive programming in Java

org.ref_send.promise
Class Vat<T>

java.lang.Object
  extended by org.joe_e.Struct
      extended by org.ref_send.promise.Vat<T>
All Implemented Interfaces:
java.io.Serializable, Selfless, Record

public class Vat<T>
extends Struct
implements Record, java.io.Serializable

A return from a vat creation.

See Also:
Serialized Form

Field Summary
 Receiver<?> destruct
          destruct the vat
 T top
          object created by the vat's maker
 
Constructor Summary
Vat(T top, Receiver<?> destruct)
          Constructs an instance.
 
Method Summary
 
Methods inherited from class org.joe_e.Struct
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.joe_e.Selfless
hashCode
 

Field Detail

top

public final T top
object created by the vat's maker


destruct

public final Receiver<?> destruct
destruct the vat

call like: destruct.apply(null)

Constructor Detail

Vat

public Vat(T top,
           Receiver<?> destruct)
Constructs an instance.

Parameters:
top - top
destruct - destruct

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.