Serialized Form
serialVersionUID: 1L
gbuffer
java.awt.Graphics gbuffer
ibuffer
java.awt.Image ibuffer
serialVersionUID: 1L
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.
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.
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.
serialVersionUID: 140989193L
handle
java.lang.String handle
server
RemoteInvoke server
serialVersionUID: 3235835917L
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 |
serialVersionUID: 1L
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)
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:
- Change the arguments
- Approve the arguments, as is
- Reject the invocation, by throwing an Exception.
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.
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.
serialVersionUID: 188900968760069L
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
service
java.lang.Object service
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.
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.
serialVersionUID: 1L
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.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
syncFlags
int syncFlags
soonFlags
int soonFlags
wakeFlags
int wakeFlags
list
java.lang.Object[] list
kernel
java.lang.Runnable kernel
sched
Scheduler sched
index
int index
running
boolean running
tasks
java.util.LinkedList<E> tasks
serialVersionUID: 4L
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
item
java.lang.Object item
serialVersionUID: 1L
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 ///.
serialVersionUID: 14647694616L
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
payload
byte[] payload