Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
A
adminFrame
- Variable in class pluginCore.
AdminPlugin
AdminPlugin
- Class in
pluginCore
AdminPlugin()
- Constructor for class pluginCore.
AdminPlugin
AdminPlugin.FileListModel
- Class in
pluginCore
The FileListModel builds a list of .class files from the directory declared by AdminPlugin.pluginDirectoryPath excluding internal classes by ignoring every file with a $ in the name.
AdminPlugin.FileListModel(File)
- Constructor for class pluginCore.
AdminPlugin.FileListModel
anObject
- Variable in class pluginCore.
Message
An object that is to be sent to another plug-in.
aquireReadLock()
- Method in class pluginCore.
PluginCore.PluginListElement
aquireWriteLock()
- Method in class pluginCore.
PluginCore.PluginListElement
B
buildFileList()
- Method in class pluginCore.
AdminPlugin
Creates the file list.
buildSwapMenue()
- Method in class pluginCore.
AdminPlugin
This build the swap menue on the interface.
C
CoreHandler
- Class in
pluginCore
The core handler provides a controlled interface that is handed to the plug-ins to allow them communication with the main core.
CoreHandler(PluginCore, Plugin)
- Constructor for class pluginCore.
CoreHandler
Initializes the CoreHandeler
D
DEBUG
- Variable in class pluginCore.
Plugin
Enable or disables debugging.
DEBUG
- Static variable in class pluginCore.
PluginCore
Turns on or off debugging output.
debugStatus()
- Method in class pluginCore.
Plugin
Identifies if Debugging is enabled for this plug-in.
destID
- Variable in class pluginCore.
Message
The id of the plug-in that is to receive this message.
E
ERROR
- Static variable in class pluginCore.
PluginCore
Turns on or off error output.
F
fileList
- Variable in class pluginCore.
AdminPlugin
fileListModel
- Variable in class pluginCore.
AdminPlugin
fillLoadedPlugList()
- Method in class pluginCore.
AdminPlugin
This method will get the list of plugins that are loaded and fill out the list in the interface.
frameworkCore
- Variable in class pluginCore.
Plugin
The stub used to make calls back to the PluginCore.
G
getAnObject()
- Method in class pluginCore.
Message
Gets the Object that was carried by the Message.
getDest()
- Method in class pluginCore.
Message
Gets the destination plug-in Id.
getElementAt(int)
- Method in class pluginCore.
AdminPlugin.FileListModel
This will return a string with the name of the file chosen.
getID()
- Method in class pluginCore.
Plugin
Gets the plugin's Id.
getIntMessage()
- Method in class pluginCore.
Message
Gets the integer message.
getLoadButton()
- Method in class pluginCore.
AdminPlugin
Creates the load plugin button.
getNextMessage()
- Method in class pluginCore.
Message
Gets the next Message.
getPluginName()
- Method in class pluginCore.
Plugin
Gets the name of the plug-in.
getProtocol()
- Method in class pluginCore.
Message
Gets the message protocol.
getReloadListButton()
- Method in class pluginCore.
AdminPlugin
Builds a button labled "Refresh Loaded Plugin List" and calls fillLoadedPlugList()
getSelectedFile()
- Method in class pluginCore.
AdminPlugin.FileListModel
This returns the File object that is selected.
getSize()
- Method in class pluginCore.
AdminPlugin.FileListModel
gets the lenght of listOfDir
getSource()
- Method in class pluginCore.
Message
Gets the source plug-in Id.
getSwapButton()
- Method in class pluginCore.
AdminPlugin
Creates the swap button.
getTheLock()
- Method in class pluginCore.
PluginCore.PluginListElement
getThePlugin()
- Method in class pluginCore.
PluginCore.PluginListElement
growList()
- Method in class pluginCore.
PluginCore
Increase the size of pluginList by the ammount LIST_GROWTH_SIZE.
H
hasUnstableLock()
- Method in class pluginCore.
PluginCore.PluginListElement
I
insertPlugin(Plugin)
- Method in class pluginCore.
PluginCore
Adds a plug-in into the list of active plug-ins.
intMessage
- Variable in class pluginCore.
Message
The integer value of a message in the protocol defined by 'protocol'.
isLocked(int)
- Method in class pluginCore.
CoreHandler
Checks if a plugin has a unstable lock held on it.
isLocked(int)
- Method in class pluginCore.
PluginCore
Checks if a plugin has a unstable lock held on it.
isValidId(int)
- Method in class pluginCore.
PluginCore
Checks to see if the plugin Id given is a valid address in the plugin list.
isValidIndex(int)
- Method in class pluginCore.
AdminPlugin.FileListModel
L
LIST_GROWTH_SIZE
- Static variable in class pluginCore.
PluginCore
This is the number of elements that the list grows by each time it runs out of space.
LIST_STARTING_SIZE
- Static variable in class pluginCore.
PluginCore
This is the size of the PluginListElement list when the program starts.
listLoadedPlugins()
- Method in class pluginCore.
CoreHandler
Lists the plug-ins that are currently loaded in the system.
listLoadedPlugins()
- Method in class pluginCore.
PluginCore
Lists the plug-ins that are currently loaded in the system.
listModel
- Variable in class pluginCore.
AdminPlugin
listOfDir
- Variable in class pluginCore.
AdminPlugin.FileListModel
The list of available plugin files.
listSize
- Variable in class pluginCore.
PluginCore
Expand defines the number of slots the pluginList starts with and by how many it grows when it is full
loadAdmin()
- Method in class pluginCore.
PluginCore
loadedPlugList
- Variable in class pluginCore.
AdminPlugin
loadFromByteArray(byte[])
- Method in class pluginCore.
PluginCore.PluginLoader
Loads a new class from the provided byte array of class data.
loadNewState(Object[], CoreHandler)
- Method in class pluginCore.
Plugin
Sets the plugin's state with a object array from a previous plugin.
loadPlugin(String)
- Method in class pluginCore.
CoreHandler
Loads a new plug-in into the system and starts its thread running.
loadPlugin(String, Object[])
- Method in class pluginCore.
CoreHandler
Loads a new plug-in into the system and initalizes it with the data from a previous plugin, that is contained in the stateIn array.
loadPlugin(String)
- Method in class pluginCore.
PluginCore
Loads a new plug-in into the system and starts its thread running.
loadPlugin(String, Object[])
- Method in class pluginCore.
PluginCore
Loads a new plug-in into the system and initalizes it with the data from a previous plugin, that is contained in the stateIn array.
loadSelected()
- Method in class pluginCore.
AdminPlugin
M
main(String[])
- Static method in class pluginCore.
PluginCore
The main function.
Message
- Class in
pluginCore
The base object for communication between plugins.
Message()
- Constructor for class pluginCore.
Message
Blank constructor, ever value is set to 0.
Message(int, int, int, int)
- Constructor for class pluginCore.
Message
Constructor for regular Message.
Message(int, int, int, int, Object)
- Constructor for class pluginCore.
Message
Constructor for regular Message with object parameters.
myHomePath
- Static variable in class pluginCore.
AdminPlugin
This should be the path to the plugin you keep the plugins in.
myPlugin
- Variable in class pluginCore.
CoreHandler
The plug-in that this CoreHandeler is associated with.
N
next
- Variable in class pluginCore.
Message
Used when plug-ins wish to store linked lists of messages.
P
Plugin
- Class in
pluginCore
The base class for all plug-ins that are to be loaded in the PluginCore.
Plugin()
- Constructor for class pluginCore.
Plugin
Nice empty constructor.
pluginCore
- package pluginCore
PluginCore
- Class in
pluginCore
The PluginCore is the main object in the plug-in architecture.
PluginCore()
- Constructor for class pluginCore.
PluginCore
Initializes the PluginCore.
PluginCore.PluginListElement
- Class in
pluginCore
This is a single element that conains a plugin and a stable/unstable lock to controll acess to the plugin.
PluginCore.PluginListElement()
- Constructor for class pluginCore.
PluginCore.PluginListElement
PluginCore.PluginListElement(Plugin)
- Constructor for class pluginCore.
PluginCore.PluginListElement
PluginCore.PluginLoader
- Class in
pluginCore
The implementation of ClassLoader that is used by the PluginCore.
PluginCore.PluginLoader()
- Constructor for class pluginCore.
PluginCore.PluginLoader
pluginDirectoryPath
- Static variable in class pluginCore.
AdminPlugin
This should be the path to the plugin you keep the plugins in.
pluginID
- Variable in class pluginCore.
Plugin
The Id of this plug-in.
pluginIDRequest(String)
- Method in class pluginCore.
CoreHandler
Gets the Id of a plug-in, this ID can then be used to send messages to that plug-in.
pluginIDRequest(String)
- Method in class pluginCore.
PluginCore
Gets the Id of a plug-in, this Id can then be used to send messages to that plug-in.
pluginList
- Variable in class pluginCore.
PluginCore
This array contains the plug-ins that are currently loaded and running as their own threads
pluginName
- Variable in class pluginCore.
Plugin
The name of this plug-in.
pluginPrefix
- Static variable in class pluginCore.
AdminPlugin
This is also a bit of a hack for this, you need to spesify the full package name of the plugin you want to load.
pluginPrefix
- Static variable in class pluginCore.
PluginCore
postMessage(Message)
- Method in class pluginCore.
CoreHandler
Requests that the core send the message 'messIn' to the plug-in with the same Id as the destID field in the Message object.
postMessage(Message)
- Method in class pluginCore.
PluginCore
Requests that the core send the message 'messIn' to the plug-in with the same Id as the destID field in the Message object.
printDebug(String)
- Method in class pluginCore.
Plugin
This will place debugging output in your program, turn on or off by setting DEBUG true/false.
printDebug(String)
- Method in class pluginCore.
PluginCore
This will print out an debug mesage identifying it as coming from the PluginCore.
printError(String)
- Method in class pluginCore.
Plugin
This will allways print out the errorMsg to System.err
printError(String)
- Method in class pluginCore.
PluginCore
This will print out an error message identifying it as coming from the PluginCore.
printTrace(String)
- Method in class pluginCore.
Plugin
This can be turned off by setting TRACE to false, but will print the class name, plus the included method name.
printUseage()
- Static method in class pluginCore.
PluginCore
Prints the useage command to the command line when poor input is given.
protocol
- Variable in class pluginCore.
Message
The protocol that is being used for this communication.
PROTOCOL_A
- Static variable in class pluginCore.
Message
Communication protocol A.
PROTOCOL_B
- Static variable in class pluginCore.
Message
Communication protocol B.
PROTOCOL_C
- Static variable in class pluginCore.
Message
Communication protocol C.
R
receive(Message)
- Method in class pluginCore.
AdminPlugin
receive(Message)
- Method in class pluginCore.
Plugin
Hands a message to the plug-in from another plug-in via the PluginCore.
releaseReadLock()
- Method in class pluginCore.
PluginCore.PluginListElement
releaseWriteLock()
- Method in class pluginCore.
PluginCore.PluginListElement
run()
- Method in class pluginCore.
AdminPlugin
run()
- Method in class pluginCore.
Plugin
The main loop of the plug-in.
runningCore
- Variable in class pluginCore.
CoreHandler
The pointer to the active PluginCore.
S
safeJoin()
- Method in class pluginCore.
Plugin
Calls join and returns true if it was successful, false otherwise.
safeJoin(int)
- Method in class pluginCore.
Plugin
Calls join and returns true if it was successful, false otherwise.
safeSleep(int)
- Method in class pluginCore.
Plugin
Sleeps the thread for timeToSleep milliseconds.
savePlugin(int)
- Method in class pluginCore.
CoreHandler
savePlugin(int)
- Method in class pluginCore.
PluginCore
This will lock a plugin, stop it, reduce the state to a byte aray and return that array.
savePluginState()
- Method in class pluginCore.
AdminPlugin
savePluginState()
- Method in class pluginCore.
Plugin
Saves the current state of the object in a Vector.
serialVersionUID
- Static variable in class pluginCore.
AdminPlugin.FileListModel
setAnObject(Object)
- Method in class pluginCore.
Message
Sets the Object array that will be carried by the Message.
setCoreHandeler(CoreHandler)
- Method in class pluginCore.
Plugin
Saves the core handler to the frameworkCore variable.
setDest(int)
- Method in class pluginCore.
Message
Sets the destination plug-in Id.
setID(int)
- Method in class pluginCore.
Plugin
Sets the plug-in id for this plug-in.
setIntMessage(int)
- Method in class pluginCore.
Message
Sets the integer message.
setNextMessage(Message)
- Method in class pluginCore.
Message
Sets the next Message.
setPluginState(Object[])
- Method in class pluginCore.
AdminPlugin
setPluginState(Object[])
- Method in class pluginCore.
Plugin
Sets the current state of the object using a vector of objects.
setProtocol(int)
- Method in class pluginCore.
Message
Sets the message protocol.
setSource(int)
- Method in class pluginCore.
Message
Sets the source plug-in Id.
setThePlugin(Plugin)
- Method in class pluginCore.
PluginCore.PluginListElement
shutdown()
- Method in class pluginCore.
AdminPlugin
shutdown()
- Method in class pluginCore.
CoreHandler
Stops the system running, first calls the 'shutdown()' call for all loaded plug-ins then calls a join() on them before finally 'exiting itself.
shutdown()
- Method in class pluginCore.
Plugin
Called by the PluginCore, allows plug-ins to exit in a tidy and controlled manner.
shutdown()
- Method in class pluginCore.
PluginCore
Stops the system running, first calls the 'shutdown()' call for all loaded plug-ins then calls a join() on them before finally 'exiting itself.
shutdownAndJoinPlugin(int)
- Method in class pluginCore.
PluginCore
This will shut down a plugin and join the thread.
sourceID
- Variable in class pluginCore.
Message
The id of the plug-in that sent this message.
swapSelected()
- Method in class pluginCore.
AdminPlugin
This is called to swap the plugins that are selected.
T
theLock
- Variable in class pluginCore.
PluginCore.PluginListElement
thePlugin
- Variable in class pluginCore.
PluginCore.PluginListElement
toString()
- Method in class pluginCore.
Message
Returns a String representation of this object.
toString()
- Method in class pluginCore.
Plugin
Gets the String value of the plug-in.
TRACE
- Variable in class pluginCore.
Plugin
Enable or disable the traceing.
U
unloadPlugin(int)
- Method in class pluginCore.
CoreHandler
unloadPlugin(int)
- Method in class pluginCore.
PluginCore
Removes a plugin from the running PluginCore.
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes