Package gnu.cajo.utils
Class BaseItem.MainThread
java.lang.Object
gnu.cajo.utils.BaseItem.MainThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
BaseItem
The main processing thread of this object. An object can be either
entirely, event driven, i.e. executing only when its methods are being
invoked, or can also have a thread of its own. If non-null, it will be
started upon its binding by the
This is an an inner class of BaseItem, to allow its implementations access to the object's private and protected members and methods. This is critical because all public methods of BaseItem can be invoked by remote objects, just as with local objects.
ItemServer
, where
its startThread
method will be invoked.This is an an inner class of BaseItem, to allow its implementations access to the object's private and protected members and methods. This is critical because all public methods of BaseItem can be invoked by remote objects, just as with local objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
run()
The run method is exectued by the thread created for the BaseItem at its binding on the server, and runs until it returns.
-
Constructor Details
-
MainThread
public MainThread()Nothing is performed in the constructor. Construction and configuration are generally performed by a builder application.
-
-
Method Details