Serialized Form
|
Package osl.examples.exception |
target
ActorName target
theCause
ActorRequest theCause
|
Package osl.examples.fairthreads |
|
Package osl.examples.fibonacci |
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.
|
Package osl.examples.helloworld |
|
Package osl.examples.migrate |
|
Package osl.examples.performance |
endTime
long endTime
newActor
ActorName newActor
numToCreate
int numToCreate
startTime
long startTime
where
ActorManagerName where
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.
endTime
long endTime
me
ActorName me
numPongs
int numPongs
numToSend
int numToSend
startTime
long startTime
target
ActorName target
|
Package osl.examples.ping |
otherPinger
ActorName otherPinger
|
Package osl.examples.pingpong |
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 |
|
Package osl.examples.rpcping |
otherPinger
ActorName otherPinger
|
Package osl.examples.tester |
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
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
detail
java.lang.Throwable detail
- The nested exception.
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.
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
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
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.
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.
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.
sender
ActorManagerName sender
- The ActorManagerName of the manager sending the actor to
be migrated.
toMigrate
ActorImpl toMigrate
- The Actor to restart after migration.
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.
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.
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.
detail
java.lang.Throwable detail
- The nested exception.
detail
java.lang.Throwable detail
- The nested exception.
detail
java.lang.Throwable detail
- The nested exception.
|
Package osl.manager.basic |
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.
mailQueue
WaitQueue mailQueue
- The queue which holds incoming requests.
ourManager
ActorManager ourManager
- The manager which manages this implementation.
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.simple |
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.
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 |
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.
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 |
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
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
detail
java.lang.Throwable detail
- The nested exception.
|
Package osl.service.shell |
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.
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.
errorCode
int errorCode
- Indicates the reason why the exception is thrown. It will have
one of the above 4 values.
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 |
detail
java.lang.Throwable detail
- The nested exception.
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 |
serverAddr
java.net.InetAddress serverAddr
- The InetAddress for this address.
serverPort
int serverPort
- The port for this address.
|
Package osl.transport.udp |
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.
meth
java.lang.reflect.Constructor meth
- The constructor stored in this structure. This overrides the
meth field inherited from MethodStructure.
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.
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.
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.
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.