Serialized Form


Package gnu.cajo.invoke

Class gnu.cajo.invoke.Client extends java.applet.Applet implements Serializable

serialVersionUID: 1L

Serialized Fields

gbuffer

java.awt.Graphics gbuffer

ibuffer

java.awt.Image ibuffer

Class gnu.cajo.invoke.JClient extends javax.swing.JApplet implements Serializable

serialVersionUID: 1L

Class gnu.cajo.invoke.Remote extends java.rmi.server.UnicastRemoteObject implements Serializable

Serialized Fields

item

java.lang.Object item
This is the reference to the local (or possibly remote) object reference being made remotely invokable by this Virtual Machine. It is declared public to provide the convenience to refer to both the wrapper, and its wrapped object, via a single reference.


Package gnu.cajo.utils

Class gnu.cajo.utils.BaseProxy extends java.lang.Object implements Serializable

Serialized Fields

item

RemoteInvoke item
The reference to the sending server, on which the proxy may asynchronously callback. It is set by the ItemServer during the bind operation.


runnable

BaseProxy.MainThread runnable
A reference to the proxy's processing code. If non-null, it will be started automatically upon arrival at the host. Its thread can be accessed through the thread member.


container

java.awt.Container container
A reference to the proxy's graphical user interface, if any. It will be returned to the client as a result of its initialization invocation.


bundle

java.lang.String bundle
The path/filename of the resource bundle in the proxy's codebase jar file. It will be used to localize any displayed strings, to the language of the proxy recipient, as close as possible, if supplied. It is declared public since its value is typically assigned by a builder application.


strings

java.lang.String[] strings
The collection of strings to be displayed at the host VM. On instantiation at the host, the array will be loaded with localized strings from the most appropriate resource bundle for the locale of the receiving VM, if provided. It is public since its value is typically assigned by a builder program.

Class gnu.cajo.utils.BaseProxy.MainThread extends java.lang.Object implements Serializable

Class gnu.cajo.utils.BaseProxy.Panel extends java.awt.Container implements Serializable

Class gnu.cajo.utils.MonitorItem extends java.lang.Object implements Serializable

Serialized Fields

os

java.io.OutputStream os

count

long count

oldtime

long oldtime

LOCALOFF

boolean LOCALOFF
This flag can be used to selectively enable and disable monitoring on a instance-wide level. By default it is set to false, when true, no output to the logstream will take place.


item

java.lang.Object item
The object being monitored. It is declared as public to allow the reference of the MontorItem, and its wrapped object, from a single instance of MonitorItem.

Class gnu.cajo.utils.ProxyLoader extends java.lang.Object implements Serializable

serialVersionUID: 140989193L

Serialized Fields

handle

java.lang.String handle

server

RemoteInvoke server

Class gnu.cajo.utils.ZippedProxy extends java.lang.Object implements Serializable

serialVersionUID: 3235835917L

Serialized Fields

payload

byte[] payload
The compressed serialized proxy object. It is created on server assignment when binding at the hosting VM. This is to save time and memory, especially if the same proxy is sent many times, at the expense of no longer being able to modify the proxy. It is nulled at the client, following proxy decompression, to allow the unneeded memory to be garbage collected.


Package gnu.cajo.utils.extra

Class gnu.cajo.utils.extra.AsyncMethod extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

item

java.lang.Object item
This is the reference to the object, usually remote, on which to invoke asynchronously. It works on local objects as well.


callback

java.lang.Object callback
This is the reference to the object, local or remote, which to call back asynchronously, when the invocation has completed. (if non-null)

Class gnu.cajo.utils.extra.AuditorItem extends java.lang.Object implements Serializable

Serialized Fields

auditor

java.lang.Object auditor
The auditor object. This object's preprocess method will be invoked with the arguments to be provided to the audited object. It has the three options: The arguments the preprocess method returns will then be passed on to the audited item for processing. The result of this operation will be passed to the auditing item's postprocess method. Again, it has the similiar three options; to change, approve, or reject the returned data. It is declared as public to allow the reference of the AuditorItem, and its auditor object, from a single instance of AuditorItem.


item

java.lang.Object item
This is the object to be audited. Since it has no knowlege of the audit it's structure need not be changed in any way to accomodate it. It is declared as public to allow the reference of the AuditorItem, and its wrapped object, from a single instance of AuditorItem.

Class gnu.cajo.utils.extra.ClientProxy extends java.lang.Object implements Serializable

Serialized Fields

method

java.lang.String method

args

java.lang.Object args

done

boolean done

connected

boolean connected

timeout

int timeout
This is the longest value, in milliseconds, that the server will wait for a client invocation to execute before it aborts it. It is set by default to 5000 (5 seconds). Depending on the type of functionality being performed in the client methods, this time may require adjusting. When it is changed, the new value will apply for all subsequent calls.


remoteThis

Remote remoteThis
This is the remoted reference to the server's ClientProxy. It is passed back to the client, to be used int the ItemProxy constructor, to create a firewall traversing asynchronous callback link. In order to work, logically, it can only be passed to one remote client.

Class gnu.cajo.utils.extra.DynamicObject extends java.lang.Object implements Serializable

Class gnu.cajo.utils.extra.HashedProxy extends ZippedProxy implements Serializable

serialVersionUID: 188900968760069L

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 gnu.cajo.utils.extra.Implements extends java.lang.Object implements Serializable

Serialized Fields

service

java.lang.Object service

Class gnu.cajo.utils.extra.InterceptorItem extends java.lang.Object implements Serializable

Serialized Fields

interceptor

java.lang.Object interceptor
The interceptor object. This object will recieve the remote invocation first, on a method of matching signature. The interceptor has the option to process the invocation itself, or pass it on to the intercepted object for processing. It is declared as public to allow the reference of the InterceptorItem, and its interceptor object, from a single instance of InterceptorItem.


item

java.lang.Object item
This is the object to be intercepted. Since it has no knowlege of the interception it's structure need not be changed in any way to accomodate it. It is declared as public to allow the reference of the InterceptorItem, and its intercepted object, from a single instance of InterceptorItem.

Class gnu.cajo.utils.extra.Nice extends java.lang.Object implements Serializable

Serialized Fields

item

java.lang.Object item
The presumably local object reference, for which invocation thread priority will be managed.


fast

boolean fast
A flag to indicate if this wrapper is maximising or minimising the priority of the invocation thread.

Class gnu.cajo.utils.extra.Queue extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

topic

java.lang.Object topic
Some manner of commonly agreed upon descriptor for the subject matter about which the producers and consumers are interested. It must be serialisable.


invocations

java.util.LinkedList<E> invocations
The list of all pending producer method invocations.


consumers

java.util.LinkedList<E> consumers
The list of consumers, remote and local, to receive producer invocations.

Class gnu.cajo.utils.extra.Scheduler extends java.lang.Object implements Serializable

Serialization Methods

readObject

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

syncFlags

int syncFlags

soonFlags

int soonFlags

wakeFlags

int wakeFlags

list

java.lang.Object[] list

kernel

java.lang.Runnable kernel

Class gnu.cajo.utils.extra.Timer extends java.lang.Object implements Serializable

Serialized Fields

sched

Scheduler sched

index

int index

running

boolean running

tasks

java.util.LinkedList<E> tasks

Class gnu.cajo.utils.extra.TransparentItemProxy extends java.lang.Object implements Serializable

serialVersionUID: 4L

Serialization Methods

writeObject

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

item

java.lang.Object item

Class gnu.cajo.utils.extra.Wrapper extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

url

java.lang.String url
The URL where to get the wrapped object: file://, http://, ftp://, /path/name, path/name, or //[host][:port]/[name]. The host, port, and name, are all optional. If missing the host is presumed local, the port 1099, and the name "main". The referenced resource can be returned as a MarshalledObject, it will be extracted automatically. If the URL is null, it will be assumed to be ///.

Class gnu.cajo.utils.extra.Zedmobject extends java.lang.Object implements Serializable

serialVersionUID: 14647694616L

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
Serialized Fields

payload

byte[] payload