ref_send API 2.17
defensive programming in Java

Serialized Form


Package org.joe_e

Class org.joe_e.Token extends java.lang.Object implements Serializable

serialVersionUID: 1L


Package org.joe_e.array

Class org.joe_e.array.BooleanArray extends PowerlessArray<java.lang.Boolean> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.ByteArray extends PowerlessArray<java.lang.Byte> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.CharArray extends PowerlessArray<java.lang.Character> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.ConstArray extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.DoubleArray extends PowerlessArray<java.lang.Double> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.FloatArray extends PowerlessArray<java.lang.Float> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.ImmutableArray extends ConstArray<E> implements Serializable

serialVersionUID: 1L

Class org.joe_e.array.IntArray extends PowerlessArray<java.lang.Integer> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.LongArray extends PowerlessArray<java.lang.Long> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class org.joe_e.array.PowerlessArray extends ImmutableArray<E> implements Serializable

serialVersionUID: 1L

Class org.joe_e.array.ShortArray extends PowerlessArray<java.lang.Short> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Package org.joe_e.file

Class org.joe_e.file.InvalidFilenameException extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1L


Package org.joe_e.var

Class org.joe_e.var.Milestone extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

marker

java.lang.Object marker
current state


Package org.ref_send.brand

Class org.ref_send.brand.Amount extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

unit

Brand<T> unit
unit of Amount.value


value

long value
number of units

Class org.ref_send.brand.Brand extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class org.ref_send.brand.WrongBrand extends java.lang.ClassCastException implements Serializable

serialVersionUID: 1L

Serialized Fields

expected

Brand<T> expected
expected brand


actual

Brand<T> actual
actual brand


Package org.ref_send.list

Class org.ref_send.list.List extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

first

Promise<T> first
first element link


last

org.ref_send.list.List.Link<T> last
first unused link


capacity

long capacity
link count


size

long size
element count

Class org.ref_send.list.List.Appender extends Struct implements Serializable

serialVersionUID: 1L

Class org.ref_send.list.List.IteratorX extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

current

org.ref_send.list.List.Link<T> current

Class org.ref_send.list.List.Link extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

next

Promise<T> next

value

java.lang.Object value

Package org.ref_send.log

Class org.ref_send.log.Anchor extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

turn

Turn turn
event loop turn in which the event originated


number

long number
intra-turn event number

Class org.ref_send.log.CallSite extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

name

java.lang.String name
call site's human meaningful name within the CallSite.source


source

java.lang.String source
path to the source code containing the call site


span

PowerlessArray<E> span
call site's position within the CallSite.source (optional)

The expected structure of this table defines a span from the start of the relevant source code to the end. The first row in the table is the start of the span and the second row is the end of the span. Each row lists the line number followed by the column number. For example, a span of code starting on line 5, column 8 and ending on line 6, column 12 is encoded as:

[ [ 5, 8 ], [ 6, 12 ] ]

The delimited span is inclusive, meaning the character at line 6, column 12 is included in the span defined above.

If the end of the span is unknown, it may be omitted. If the column number is unknown, it may also be omitted. For example, in the case where only the starting line number is known:

[ [ 5 ] ]

If source span information is unknown, this member is null.

Both lines and columns are numbered starting from one, so the first character in a source file is at [ 1, 1 ]. A column is a UTF-16 code unit, the same unit represented by a Java char. Lines are separated by any character sequence considered a Unicode line terminator.

Class org.ref_send.log.Comment extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

text

java.lang.String text
comment text

Class org.ref_send.log.Event extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

anchor

Anchor anchor
event identifier


timestamp

java.lang.Long timestamp
difference, measured in milliseconds, between the time the event occurred and midnight, January 1, 1970 UTC (optional)


trace

Trace trace
trace of the call site that produced the event (optional)

Class org.ref_send.log.Fulfilled extends Resolved implements Serializable

serialVersionUID: 1L

Class org.ref_send.log.Got extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

message

java.lang.String message
globally unique identifier for the message

Class org.ref_send.log.Pipelined extends SentIf implements Serializable

serialVersionUID: 1L

Class org.ref_send.log.Problem extends Comment implements Serializable

serialVersionUID: 1L

Serialized Fields

reason

java.lang.Exception reason
uncaught exception

Class org.ref_send.log.Progressed extends Resolved implements Serializable

serialVersionUID: 1L

Class org.ref_send.log.Rejected extends Resolved implements Serializable

serialVersionUID: 1L

Serialized Fields

reason

java.lang.Exception reason
reason for rejecting the promise

Class org.ref_send.log.Resolved extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

condition

java.lang.String condition
globally unique identifier for the condition

Class org.ref_send.log.Returned extends Sent implements Serializable

serialVersionUID: 1L

Class org.ref_send.log.Sent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

message

java.lang.String message
globally unique identifier for the message

Class org.ref_send.log.SentIf extends Sent implements Serializable

serialVersionUID: 1L

Serialized Fields

condition

java.lang.String condition
globally unique identifier for the condition

Class org.ref_send.log.Trace extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

calls

PowerlessArray<E> calls
list of call sites

Class org.ref_send.log.Turn extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

loop

java.lang.String loop
URI for the event loop


number

long number
local turn number


Package org.ref_send.promise

Class org.ref_send.promise.Deferred extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

promise

Promise<T> promise
permission to access the referent


resolver

Resolver<T> resolver
permission to resolve the referent

Class org.ref_send.promise.Eventual extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

local

Token local
trusted promise permission


enqueue

Receiver<T> enqueue
raw event loop


here

java.lang.String here
URI for the event loop


log

Log log
debugging output


destruct

Receiver<T> destruct
destruct the vat

call like: destruct.apply(null)


stats

org.ref_send.promise.Fulfilled<T> stats
mutable statistics about eventual operations

Class org.ref_send.promise.Eventual.Compose extends Do<P,java.lang.Void> implements Serializable

serialVersionUID: 1L

Serialized Fields

conditional

Do<P,R> conditional
conditional code block to execute


resolver

Resolver<T> resolver
return value resolver

Class org.ref_send.promise.Eventual.Invoke extends Do<T,java.lang.Object> implements Serializable

serialVersionUID: 1L

Serialized Fields

method

java.lang.reflect.Method method
method to invoke


argv

ConstArray<E> argv
invocation arguments, or null if none

Class org.ref_send.promise.Eventual.Local extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class org.ref_send.promise.Eventual.When extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

condition

long condition

message

long message

observer

Do<P,R> observer

next

Promise<T> next

Class org.ref_send.promise.Failure extends java.lang.NullPointerException implements Serializable

serialVersionUID: 1L

Serialized Fields

status

java.lang.String status
HTTP status code


phrase

java.lang.String phrase
HTTP reason phrase

Class org.ref_send.promise.Log extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class org.ref_send.promise.NotAMaker extends java.lang.NullPointerException implements Serializable

serialVersionUID: 1L

Class org.ref_send.promise.Unresolved extends java.lang.NullPointerException implements Serializable

serialVersionUID: 1L

Class org.ref_send.promise.Vat extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

top

java.lang.Object top
object created by the vat's maker


destruct

Receiver<T> destruct
destruct the vat

call like: destruct.apply(null)


Package org.ref_send.scope

Class org.ref_send.scope.Layout extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

names

PowerlessArray<E> names
each member name

A member name MUST NOT be either null or "@", and MUST be unique within the list of member names.

Class org.ref_send.scope.Scope extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

meta

Layout<T> meta
structural type


values

ConstArray<E> values
each corresponding value

Class org.ref_send.scope.Unavailable extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

name

java.lang.String name
name that is unavailable


Package org.waterken.bang

Class org.waterken.bang.DrumFactory extends Struct implements Serializable

serialVersionUID: 1L


Package org.waterken.bounce

Class org.waterken.bounce.AllTypes extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

b

BooleanArray b
boolean


c

CharArray c
char


f

FloatArray f
float


d

DoubleArray d
double


o

ByteArray o
byte


s

ShortArray s
short


i

IntArray i
int


l

LongArray l
long


t

java.lang.String t
string


r

ConstArray<E> r
pass-by-reference


p

ConstArray<E> p
promise


k

ConstArray<E> k
known nested type


a

java.lang.Object a
unknown type


Package org.waterken.serial

Class org.waterken.serial.Link extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

value

Promise<T> value
element value


next

Element<T> next
next element

Class org.waterken.serial.SeriesFactory extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

_

Eventual _

Package org.waterken.syntax

Class org.waterken.syntax.BadSyntax extends java.lang.Exception implements Serializable

serialVersionUID: 1L

Serialized Fields

source

java.lang.String source
path to the source code


span

PowerlessArray<E> span
location within BadSyntax.source

Class org.waterken.syntax.Export extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

replacement

java.lang.Object replacement
object to transmit instead of the exported reference


href

java.lang.String href
URI for the exported reference

Class org.waterken.syntax.MissingDeserializer extends java.lang.ClassCastException implements Serializable

serialVersionUID: 1L

Serialized Fields

typename

java.lang.String typename
name of type that is missing a deserializer

Class org.waterken.syntax.NonFinalRecordField extends java.lang.NullPointerException implements Serializable

serialVersionUID: 1L

Class org.waterken.syntax.Syntax extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

ext

java.lang.String ext
file extension


serializer

Serializer serializer
serializer


deserializer

Deserializer deserializer
deserializer

Class org.waterken.syntax.WrongToken extends java.lang.RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

expected

java.lang.String expected
expected token


Package org.waterken.syntax.json

Class org.waterken.syntax.json.JSONDeserializer extends Struct implements Serializable

serialVersionUID: 1L

Class org.waterken.syntax.json.JSONSerializer extends Struct implements Serializable

serialVersionUID: 1L


Package org.waterken.trace

Class org.waterken.trace.TurnCounter extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

loop

java.lang.String loop
URI for the event loop


flip

Receiver<T> flip
increment the turn counter


mark

Marker mark
increment the anchor counter

Class org.waterken.trace.Verbose extends Struct implements Serializable

serialVersionUID: 1L

Serialized Fields

out

java.io.PrintStream out

next

Receiver<T> next


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.