Serialized Form


Package osl.examples.exception

Class osl.examples.exception.CatchActor implements Serializable

Serialized Fields

target

ActorName target

theCause

ActorRequest theCause

Class osl.examples.exception.ThrowActor implements Serializable


Package osl.examples.fairthreads

Class osl.examples.fairthreads.FairthreadActor implements Serializable

Class osl.examples.fairthreads.FairthreadsBoot implements Serializable


Package osl.examples.fibonacci

Class osl.examples.fibonacci.FibActor implements Serializable

Serialized Fields

client

ActorName client
The name of the receiving client (if we are a worker fib actor)

meth

java.lang.String meth
The method to invoke on the receiving client (if we are a worker fib actor)

numResponses

int numResponses
The number of responses we have received if we are a worker fib actor

partialResponse

int partialResponse
The first response we have received from a child fib actor. We save this value until we receive the second response, and send our client the sum of both values.

Class osl.examples.fibonacci.FibSuicide implements Serializable


Package osl.examples.helloworld

Class osl.examples.helloworld.HelloActor implements Serializable

Class osl.examples.helloworld.HelloBoot implements Serializable

Class osl.examples.helloworld.WorldActor implements Serializable


Package osl.examples.migrate

Class osl.examples.migrate.MigrateActor implements Serializable

Class osl.examples.migrate.MigrateActor2 implements Serializable


Package osl.examples.performance

Class osl.examples.performance.CreationTimer implements Serializable

Serialized Fields

endTime

long endTime

newActor

ActorName newActor

numToCreate

int numToCreate

startTime

long startTime

where

ActorManagerName where

Class osl.examples.performance.FibTimer implements Serializable

Serialized Fields

caller

ActorName caller
The name of the actor which called us and made the original fib request.

fibActor

ActorName fibActor
The name of the FinActor we should should send requests to.

receiveMethod

java.lang.String receiveMethod
The method to invoke on the caller with the result. This method should accept two Integers as arguments.

startTime

long startTime
Temporary var to hold start time of request.

Class osl.examples.performance.PingTimer implements Serializable

Serialized Fields

endTime

long endTime

me

ActorName me

numPongs

int numPongs

numToSend

int numToSend

startTime

long startTime

target

ActorName target


Package osl.examples.ping

Class osl.examples.ping.PingActor implements Serializable

Serialized Fields

otherPinger

ActorName otherPinger

Class osl.examples.ping.PingBoot implements Serializable


Package osl.examples.pingpong

Class osl.examples.pingpong.PingActor implements Serializable

Serialized Fields

numPongs

int numPongs
The number of pong's we've received.

numReceived

int numReceived
The number of ping messages we have received.

numToSend

int numToSend
The number of pings we will send. Used to determine termination.


Package osl.examples.remoteping

Class osl.examples.remoteping.PingBoot implements Serializable


Package osl.examples.rpcping

Class osl.examples.rpcping.PingActor implements Serializable

Serialized Fields

otherPinger

ActorName otherPinger

Class osl.examples.rpcping.PingBoot implements Serializable


Package osl.examples.tester

Class osl.examples.tester.Tester implements Serializable

Serialized Fields

N1_cycles

int N1_cycles
Number of test steps to run

N1_cycleTime

int N1_cycleTime
Test cycle times, milliseconds

N1_testCount

int N1_testCount
Number of test steps to run

N2_cycles

int N2_cycles

N2_cycleTime

int N2_cycleTime

N2_testCount

int N2_testCount

noClass

java.lang.Class[] noClass

noObject

java.lang.Object[] noObject

notes1

Tester.TestStep[] notes1
notes1 is array of TestSteps for single-node tests

notes2

Tester.TestStep[] notes2
notes2 is array of TestSteps for two-node tests

otherNode

java.lang.String otherNode
Node name (IP name) of other node for testSet2

stage1

int stage1
Progress indicators for test sets

stage2

int stage2
Progress indicators for test sets

Class osl.examples.tester.Ticker implements Serializable

Serialized Fields

client

ActorName client

cycleMillis

int cycleMillis

id

int id

methodName

java.lang.String methodName

offsetMillis

int offsetMillis

p1

java.io.Serializable p1

p2

java.io.Serializable p2

paramCount

int paramCount

periodsLeft

int periodsLeft


Package osl.handler

Class osl.handler.ClassExistsException implements Serializable

Class osl.handler.RequestException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
The nested exception.

Class osl.handler.RequestMsg implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException,
                         java.lang.ClassCastException,
                         RequestException
Deserialize into a new instnace of RequestMesg by reading from the given input stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException,
                          RequestException
Serialize the contents of this class to the output stream.


Package osl.manager

Class osl.manager.Actor implements Serializable

Serialized Fields

implementor

ActorImpl implementor
A reference to the class which implements our actor functionality. This reference is private to prevent user-written actors from (intentionally or otherwise) mangling themselves. This field is set by the constructor for this class.

lastRequest

ActorRequest lastRequest
A reference to the last request we sent. This can be used by user-written actors if they want to track asynchronous exceptions and their causes.

self

ActorName self
The name of this actor. This field is private to avoid any mangling by user-written code.

stderr

ActorName stderr
The name of the "stderr" actor for this actor. This actor is always an implementation of the StreamOutputActor interface.
See Also:
StreamOutputActor

stdin

ActorName stdin
The name of the "stdin" actor for this actor. This actor is always an implementation of the StreamInputActor interface.
See Also:
StreamInputActor

stdout

ActorName stdout
The name of the "stdout" actor for this actor. This actor is always an implementation of the StreamOutputActor interface.
See Also:
StreamOutputActor

Class osl.manager.ActorContext implements Serializable

Serialized Fields

stderr

ActorName stderr
The name of the "stderr" output stream actor for the new implementation. The "stderr" actor is always an instance of StreamOutputActor.
See Also:
StreamOutputActor

stdin

ActorName stdin
The name of the "stdin" input stream actor for the new implementation. The "stdin" actor is always an instance of StreamInputActor.
See Also:
StreamInputActor

stdout

ActorName stdout
The name of the "stdout" output stream actor for the new implementation. The "stdout" actor is always an instance of StreamOutputActor.
See Also:
StreamOutputActor

Class osl.manager.ActorCreateRequest implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of UDPAddress by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.

Class osl.manager.ActorImpl implements Serializable

Serialized Fields

actorClass

java.lang.Class actorClass
This field holds the run-time class of the actor managed by this implementation.

context

ActorContext context
The context passed in the initialize method of this actor.

nextID

long nextID
The ID to associate with the next request. This is basically a timestamp.

self

ActorName self
This field holds the name of the actor managed by this implementation.

Class osl.manager.ActorManagerName implements Serializable

Serialized Fields

managerName

Name managerName
The nameservice name associated with this manager. This field should be used when sending messages to this actor using the request handler classes.

managerType

int managerType
This field indicates the "type" of this actor manager. This information may be useful to other managers for determining what services are accessible at a remote manager.

Class osl.manager.ActorMigrationStructure implements Serializable

Serialized Fields

sender

ActorManagerName sender
The ActorManagerName of the manager sending the actor to be migrated.

toMigrate

ActorImpl toMigrate
The Actor to restart after migration.

Class osl.manager.ActorMsgRequest implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of UDPAddress by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.

Class osl.manager.ActorName implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of ActorName by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.

Class osl.manager.ActorRequest implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of UDPAddress by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.

Class osl.manager.ActorRequestCloneException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
The nested exception.

Class osl.manager.ExtensionException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
The nested exception.

Class osl.manager.IllegalNodeException implements Serializable

Class osl.manager.IllegalTargetException implements Serializable

Class osl.manager.RemoteCodeException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
The nested exception.

Class osl.manager.RemoteRequestRefusedException implements Serializable


Package osl.manager.basic

Class osl.manager.basic.BasicActorImpl implements Serializable

Serialized Fields

createReq

ActorCreateRequest createReq
A reference to the create request which was used to create this actor. This field may be set to null once the new internal actor is successfully created.

mailQueue

WaitQueue mailQueue
The mail queue for this actor. This should only be modified by the manager which created this actor and the thread which schedules it.

ourActor

Actor ourActor
The actor instance that we manage.

scanQueue

osl.manager.basic.BasicActorImpl.WaitRPCReply scanQueue
This field holds a class instance which is used to search mail queues for RPC reply messages. We detect these messages when the user sends an RPC request.

Class osl.manager.basic.StreamInputActorImpl implements Serializable

Serialized Fields

mailQueue

WaitQueue mailQueue
The queue which holds incoming requests.

ourManager

ActorManager ourManager
The manager which manages this implementation.

Class osl.manager.basic.StreamOutputActorImpl implements Serializable

Serialized Fields

mailQueue

WaitQueue mailQueue
The queue which holds incoming requests.

ourManager

ActorManager ourManager
The manager which manages this implementation.

out

java.io.OutputStream out
The OutputStream that should be served to external actors.


Package osl.nameservice

Class osl.nameservice.MalformedNameException implements Serializable

Class osl.nameservice.NameNotFoundException implements Serializable

Class osl.nameservice.NoBindingException implements Serializable

Class osl.nameservice.NoSuchAddressException implements Serializable


Package osl.nameservice.simple

Class osl.nameservice.simple.DefaultName implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of UDPAddress by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.

Class osl.nameservice.simple.DefaultNameMsg implements Serializable

Serialized Fields

bind

PhysicalAddress bind
In the case of a bind request, the address that should be bound with the target name. In the case of a resolve reply, this field returns the address associated with the target name. In the case of a remove request, this address should be equal to the address the receiver maintains authoritative information for.

bindID

int bindID
In the case of a bind request or acknowledgement, this field uniquely identifies the request or ack relative to all other requests sent by the same client. This field serves a similar purpose for resolve/remove requests and replies.

error

java.lang.Exception error
This field holds an exception that may be associated with a particular request or reply. Note that this field IS NOT set by any of the constructors so that it always defaults to null.

target

DefaultName target
The name associated with a bind request, acknowledgement, resolve request, or remove request message.

type

int type
The type of this message.


Package osl.nameservice.subnet

Class osl.nameservice.subnet.NSName implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of NSName by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.

Class osl.nameservice.subnet.NSPacket implements Serializable

Serialized Fields

debug

boolean debug
If this flag is set true, debugging information is send to std. out.

name

Name name

paddr

PhysicalAddress paddr

type

int type
Those three private variables represents the type and contents of the packet. They are declared private to ensure that a data packet is immutable.


Package osl.nameservice.subnet.network

Class osl.nameservice.subnet.network.Address implements Serializable

Serialized Fields

myIP

java.net.InetAddress myIP
Those two variables implement the state of this object. They are declared private as we want a physical address to be immutable. Copies of the two variables are returned by getAddress() and getPort() methids.

myPort

int myPort

Class osl.nameservice.subnet.network.Packet implements Serializable

Serialized Fields

data

NSPacket data
This is the data part of the packet. The data are a NSPacket - less general but faster.

source

Address source
The next three variables implements the envelope information. The source and the target is the routing information of the packet. The priority is optional for e.g. packet priority routing / scheduling. The intention of the priority is that 0 is normal priority. Higher number = higher priority and vice versa. However the Packet leaves the interpretation for whoever uses it.

target

Address target


Package osl.service

Class osl.service.ServiceException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
The nested exception.

Class osl.service.ServiceNotFoundException implements Serializable


Package osl.service.shell

Class osl.service.shell.ParseException implements Serializable

Serialized Fields

currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.

eol

java.lang.String eol
The end of line string for this machine.

expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).

tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

Class osl.service.shell.ShellActorImpl implements Serializable

Serialized Fields

active

boolean active
This boolean is true if we are part of an active shell session, and false when the shell session is closed. Once set to false, the value of ourSession should be considered invalid.

create

ActorCreateRequest create
The create request used to create this actor.

manager

ActorManager manager
A reference to the ActorManager which created us. We use this reference to issue any requests (i.e. sending messages, creating new actors).

ourSession

ShellSession ourSession
A reference to the ShellSession we are associated with. We resolve this link within the call to actorInitialize.

stderrName

ActorName stderrName
The alias of this actor that is used for interacting with the connected stderr stream.

stderrStream

java.io.OutputStream stderrStream
The stderr stream we are connected to. This value will be NULL if the corresponding server socket was never connected.

stdinName

ActorName stdinName
The alias of this actor that is used for interacting with the connected stdin stream.

stdinStream

java.io.InputStream stdinStream
The stdin stream we are connected to. This value will be NULL if the corresponding server socket was never connected.

stdoutName

ActorName stdoutName
The alias of this actor that is used for interacting with the connected stdout stream.

stdoutStream

java.io.OutputStream stdoutStream
The stdout stream we are connected to. This value will be NULL if the corresponding server socket was never connected.

Class osl.service.shell.TokenMgrError implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package osl.service.yp

Class osl.service.yp.YPMsg implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of YPMesg by reading from the given input stream.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.


Package osl.tests.manager.actors

Class osl.tests.manager.actors.MigrateActor implements Serializable

Class osl.tests.manager.actors.SenderActor implements Serializable

Class osl.tests.manager.actors.TestSecurity implements Serializable


Package osl.transport

Class osl.transport.TransportException implements Serializable

Serialized Fields

detail

java.lang.Throwable detail
The nested exception.

Class osl.transport.TransportMessage implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instance of TransportMessage by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.


Package osl.transport.tcp

Class osl.transport.tcp.TCPAddress implements Serializable

Serialized Fields

serverAddr

java.net.InetAddress serverAddr
The InetAddress for this address.

serverPort

int serverPort
The port for this address.


Package osl.transport.udp

Class osl.transport.udp.UDPAddress implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Deserialize into a new instnace of UDPAddress by reading from the given input stream.


writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialize the contents of this class to the output stream.


Package osl.util

Class osl.util.ConstructorStructure implements Serializable

Serialized Fields

meth

java.lang.reflect.Constructor meth
The constructor stored in this structure. This overrides the meth field inherited from MethodStructure.

Class osl.util.MethodStructure implements Serializable

Serialized Fields

argTypes

java.lang.Class[] argTypes
The array of arguments expected by this method.

meth

java.lang.reflect.Method meth
The method stored in this structure.

Class osl.util.MethodStructureVector implements Serializable

Class osl.util.NoSynchQueue implements Serializable

Serialized Fields

back

int back

front

int front
These two fields hold indices to the first and last element of the queue respectively. Technically, back points to the first open spot in the queue rather than the last element.

theQ

java.lang.Object[] theQ
This array holds the queue. We use a dynamically growing circular array to represent the queue. Queue size is doubled when necessary which should make for a rather efficient implementation.

Class osl.util.ParameterList implements Serializable

Serialized Fields

open

int open
The index of the next open spot in the parameter list array.

theParams

java.lang.Object[] theParams
This array holds the actual parameters. The array will grow dynamically to accomodate new elements. Note that elements can not be removed from parameter lists. Array size is doubled when necessary which should make for a rather efficient implementation.

Class osl.util.Queue implements Serializable

Serialized Fields

back

int back

front

int front
These two fields hold indices to the first and last element of the queue respectively. Technically, back points to the first open spot in the queue rather than the last element.

theQ

java.lang.Object[] theQ
This array holds the queue. We use a dynamically growing circular array to represent the queue. Queue size is doubled when necessary which should make for a rather efficient implementation.

Class osl.util.WaitQueue implements Serializable