A C D E F G H I L M N O P R S T U V W

A

About - class synapsi.gui.About.
Class About is a About-window in the graphical user interface of the Neuron server.
About(JFrame, String) - Constructor for class synapsi.gui.About
The constructor of the class - creates the GeneralMana window with given parameters.
actionPerformed(ActionEvent) - Method in class synapsi.gui.PackageMana
Handles all the actionEvents from this window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.GeneralMana
Handles all the events from this GeneralMana window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.About
Handles all the events from this About window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.Help
Handles all the actionEvents from this window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.SendClientInfo
Handles all events from this SendClientInfo window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.HelpTopic
Handles all the actionEvents from this window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.EditGroup
Handles all the events from this EditGroup window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.GroupMana
Handles all the ActionEvents from this GroupMana window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.NeuronMainWindow
Handles all action events from this window and menu bar
actionPerformed(ActionEvent) - Method in class synapsi.gui.AddPackage
Handles all events from this AddPackage window.
actionPerformed(ActionEvent) - Method in class synapsi.gui.util.SpinControl
Handles increase and decrease-buttons by calling increase() or decrease() Fires also event notifying all listeners of change in SpinControls value.
activateClient(boolean, String) - Method in class synapsi.data.DataMain
 
activateClient(boolean, String) - Method in interface synapsi.data.DataForMain
Method for activating/dis-activating client This method is used to set client's online status to true or false
addActionListener(ActionListener) - Method in class synapsi.gui.util.SpinControl
Adds action listener to spin controls textField
addClient(DataClient) - Method in class synapsi.data.DataGroup
Makes a new entry in clients vector
addClient(DataClient) - Method in class synapsi.data.DataVersion
Add's the client to vector that tell's which clients are currently useing this version
addClient(String, String) - Method in class synapsi.gui.NeuronMainWindow
Adds a new client, forwards call to MainForGui
addClientToGroup(String, String) - Method in interface synapsi.gui.GuiForMain
Adds a client to specified group
addClientToGroup(String, String) - Method in class synapsi.gui.NeuronMainWindow
Adds client to specified group, used by client test window
addClientToGroup(String, String) - Method in interface synapsi.main.MainForGui
Adds a new client to the specified group.
addClientToGroup(String, String) - Method in class synapsi.main.NeuronServer
 
addGroup(DataGroup) - Method in class synapsi.data.DataVersion
Add's a new group for this dataversion The given group is currently useing this DataVersion object
addGroup(String) - Method in class synapsi.data.DataMain
Add's a new group with specified version.
addGroup(String, String) - Method in class synapsi.data.DataMain
Creates a new group with specified version
addGroup(String, String) - Method in interface synapsi.data.DataForMain
Add a new group with specified version.
addGroup(String, String) - Method in interface synapsi.main.MainForGui
Adds a new group to the system.
addGroup(String, String) - Method in class synapsi.main.NeuronServer
 
addMouseListenerToHeaderInTable(JTable) - Method in class synapsi.gui.util.TableSorter
Add a mouse listener to the Table to trigger a table sort when a column heading is clicked in the JTable.
addNewPackage(String, String, String, String, byte[]) - Method in class synapsi.data.DataMain
 
addNewPackage(String, String, String, String, byte[]) - Method in interface synapsi.data.DataForMain
Adds new software package to server.
addNewPackage(String, String, String, String, byte[]) - Method in interface synapsi.main.MainForGui
Adds new software package to server.
addNewPackage(String, String, String, String, byte[]) - Method in class synapsi.main.NeuronServer
 
AddPackage - class synapsi.gui.AddPackage.
Class AddPackage implements a window for adding a new software package to Neuron (server) system.
AddPackage(PackageMana, String) - Constructor for class synapsi.gui.AddPackage
Contructor of the class - creates a new window to add packages to Neuron system.
addPackage(String, String, String, String, byte[]) - Method in class synapsi.gui.PackageMana
Adds a new package to system.
addPackage(String, String, String, String, byte[]) - Method in class synapsi.gui.NeuronMainWindow
Adds a new package, forwards call to MainForGui

C

changedUpdate(DocumentEvent) - Method in class synapsi.gui.EditGroup
 
changeId(String) - Method in class synapsi.data.DataGroup
 
checkField() - Method in class synapsi.gui.SendClientInfo
Enables okButton if nameField contains any text
checkField() - Method in class synapsi.gui.EditGroup
 
checkFile() - Method in class synapsi.gui.AddPackage
Checks if requested file exists and tries to read inf-file associated to it.
checkModel() - Method in class synapsi.gui.util.TableSorter
Checks that TableModel and TableSorter have similar number of rows and reallocates indexes, if necessary
ClientActivate(String) - Method in interface synapsi.main.MainForNet
Called by the thread listening for client state changes from roammate server.
ClientActivate(String) - Method in class synapsi.main.NeuronServer
Tell NS that client is active.
ClientDeactivate(String) - Method in interface synapsi.main.MainForNet
Called by the thread listening for client state changes from roammate.
ClientDeactivate(String) - Method in class synapsi.main.NeuronServer
Tell NS that client is not active.
clientExist(String) - Method in class synapsi.data.DataMain
 
clientExist(String) - Method in interface synapsi.data.DataForMain
Is there a client with given IP
ClientTableModel - class synapsi.gui.ClientTableModel.
Table model used in Client-table of NeuronServers main window
ClientTableModel() - Constructor for class synapsi.gui.ClientTableModel
Calls ancestors constructor
ClientThread - class synapsi.net.ClientThread.
Implements a thread to listen for client activation notices.
ClientThread(MainForNet) - Constructor for class synapsi.net.ClientThread
Contructs ClientThread.
ClientThread(MainForNet, String) - Constructor for class synapsi.net.ClientThread
Contructs ClientThread
close() - Method in class synapsi.net.Connection
Close and destroy socket
compare(int, int) - Method in class synapsi.gui.util.TableSorter
Compares two rows and returns int telling which one of them is bigger
compareRowsByColumn(int, int, int) - Method in class synapsi.gui.util.TableSorter
Compares two rows by some column and return int telling whether they are similar or either one of them is bigger
Connection - class synapsi.net.Connection.
Implement connection class for simple access to TPC/IP sockets
Connection(String, int) - Constructor for class synapsi.net.Connection
Connection constructor creates socket and connects it to specified client and port
countDigest(String) - Static method in class synapsi.gui.Digest
Counts the MD5 message digest for the given file.
createNewClient(String) - Method in class synapsi.data.DataMain
 
createNewClient(String) - Method in interface synapsi.data.DataForMain
Creates new client and add's it to default group

D

DataClient - class synapsi.data.DataClient.
Class containg the client information
DataClient(String) - Constructor for class synapsi.data.DataClient
Construct the client object with specified IP
DataForMain - interface synapsi.data.DataForMain.
Interface to access methods and data in synapsi.data package
DataGroup - class synapsi.data.DataGroup.
Class containg the group information Each DataClient object is part of exatly on DataGroup object
DataGroup(String) - Constructor for class synapsi.data.DataGroup
Construct object with specified ID
DataInfo - class synapsi.data.DataInfo.
Common base class for storable data classes.
DataInfo() - Constructor for class synapsi.data.DataInfo
create new DataInfo-object
DataMain - class synapsi.data.DataMain.
Main class for synapsi.data package.
DataMain() - Constructor for class synapsi.data.DataMain
 
DataSettings - class synapsi.data.DataSettings.
Class for storing setting for Neuroni Server.
DataSettings() - Constructor for class synapsi.data.DataSettings
Constructs a new DataInfo-object
DataVersion - class synapsi.data.DataVersion.
Class for storing the version.
DataVersion() - Constructor for class synapsi.data.DataVersion
 
DataVersion(String, String, String, String, byte[]) - Constructor for class synapsi.data.DataVersion
Construct the version object with specified ID and path to update package
decrease() - Method in class synapsi.gui.util.SpinControl
Decrease the value of SpinControl
decrease() - Method in class synapsi.gui.util.NumberSpinControl
Decreases the value of this control by 1
DEFAULT_NAME - Static variable in class synapsi.data.DataMain
Default name for the file to be used in saving data
defaultGroup - Variable in class synapsi.data.DataSettings
This is used only when serializing / de-serializing.
DefGroupName - Static variable in class synapsi.data.DataMain
 
DefVersionName - Static variable in class synapsi.data.DataMain
 
deleteRow(int) - Method in class synapsi.gui.ClientTableModel
Removes specified row from table
deleteRow(int) - Method in class synapsi.gui.PackageTableModel
Removes specified row from table
deleteRow(int) - Method in class synapsi.gui.GroupTableModel
Removes specified row from table
Digest - class synapsi.gui.Digest.
MD5 demo in short...
Digest() - Constructor for class synapsi.gui.Digest
 
doStuff() - Method in class synapsi.main.TestMain
 
dragDropEnd(DragSourceDropEvent) - Method in class synapsi.gui.DragSourceTable.DSListener
Drag and drop is ended.
dragEnter(DragSourceDragEvent) - Method in class synapsi.gui.DragSourceTable.DSListener
Drag enters the this components draggable area
dragEnter(DropTargetDragEvent) - Method in class synapsi.gui.DropTargetTable.DTListener
Called every time a drag and drop drag enters this components drop area
dragExit(DragSourceEvent) - Method in class synapsi.gui.DragSourceTable.DSListener
Drag exits the this components draggable area
dragExit(DropTargetEvent) - Method in class synapsi.gui.DropTargetTable.DTListener
Called every time a drag and drop drag exits this components drop area
dragGestureRecognized(DragGestureEvent) - Method in class synapsi.gui.DragSourceTable.DGListener
Recognize a new DragGestureEvent
dragOver(DragSourceDragEvent) - Method in class synapsi.gui.DragSourceTable.DSListener
Dragging over this components draggable area
dragOver(DropTargetDragEvent) - Method in class synapsi.gui.DropTargetTable.DTListener
Called every time a drag and drop drag moves over this components drop area
DragSourceTable - class synapsi.gui.DragSourceTable.
Table used in client list.
DragSourceTable.DGListener - class synapsi.gui.DragSourceTable.DGListener.
Inner class implementing DragGestureListener
DragSourceTable.DGListener(DragSourceTable) - Constructor for class synapsi.gui.DragSourceTable.DGListener
 
DragSourceTable.DSListener - class synapsi.gui.DragSourceTable.DSListener.
Inner class implementing DragSourceListener
DragSourceTable.DSListener(DragSourceTable) - Constructor for class synapsi.gui.DragSourceTable.DSListener
 
DragSourceTable(TableModel, NeuronMainWindow, ClientTableModel) - Constructor for class synapsi.gui.DragSourceTable
Create new DragSourceTable with given parameters
drop(DropTargetDropEvent) - Method in class synapsi.gui.DropTargetTable.DTListener
Called when user drops something to this component.
dropActionChanged(DragSourceDragEvent) - Method in class synapsi.gui.DragSourceTable.DSListener
Drop Action is changed
dropActionChanged(DropTargetDragEvent) - Method in class synapsi.gui.DropTargetTable.DTListener
Called every time a drop action has changed
DropTargetTable - class synapsi.gui.DropTargetTable.
Table containing all groups.
DropTargetTable.DTListener - class synapsi.gui.DropTargetTable.DTListener.
Inner class implementing DropTargetListener
DropTargetTable.DTListener(DropTargetTable) - Constructor for class synapsi.gui.DropTargetTable.DTListener
 
DropTargetTable(TableModel, NeuronMainWindow) - Constructor for class synapsi.gui.DropTargetTable
Create new DropTargetTable

E

editAllowed(boolean) - Method in class synapsi.gui.util.SpinControl
Enables or disables direct editing of spin control
EditGroup - class synapsi.gui.EditGroup.
Class EditGroup implements a window to edit the values of a group already present in the system or to add a new group to to the system.
EditGroup(JDialog, String, Object[], GroupEditor) - Constructor for class synapsi.gui.EditGroup
The constructor of the class - creates a EditGroup window with given parameters.
EditGroup(JFrame, String, Object[], GroupEditor) - Constructor for class synapsi.gui.EditGroup
The constructor of the class - creates a EditGroup window with given parametres.
emptyRows() - Method in class synapsi.gui.ClientTableModel
Delete all rows from the tableModel
emptyRows() - Method in class synapsi.gui.PackageTableModel
 
ERR_DATA_MODULE_INIT - Static variable in class synapsi.main.NeuronServer
Error code: Data module cannot be initialized.
ERR_DATA_MODULE_SAVE - Static variable in class synapsi.main.NeuronServer
Error code: Data module cannot be saved.
ERR_DEFAULT_GROUP_REMOVAL - Static variable in class synapsi.main.NeuronServer
Error code: Default group cannot be removed.
ERR_GROUP_HAS_CLIENTS - Static variable in class synapsi.main.NeuronServer
Error code: Group cannot be removed - it contains clients.
ERR_ILLEGAL_CLIENT - Static variable in class synapsi.main.NeuronServer
Error code: Not a valid client
ERR_ILLEGAL_GROUP_NAME - Static variable in class synapsi.main.NeuronServer
Error code: Group name already in used by some group.
ERR_ILLEGAL_PACKAGE - Static variable in class synapsi.main.NeuronServer
Error code: There is something wrong in the package
ERR_PACKAGE_ALREADY_INSTALLED - Static variable in class synapsi.main.NeuronServer
Error code: Package cannot be installed - it is already installed in the system.
ERR_PACKAGE_STILL_IN_USE - Static variable in class synapsi.main.NeuronServer
Error code: Package cannot be removed - it is used by some group.
ERR_SOME_PARAMS_ARE_NULL_OR_ILLEGAL - Static variable in class synapsi.main.NeuronServer
Error code: Some method call has delivered invalid parameters (=programming error)
ERR_UNSPECIFIED - Static variable in class synapsi.main.NeuronServer
Error code: This is to be used only when something realy weird happens
ERROR_STATUS_0 - Static variable in class synapsi.error.Log
 
ERROR_STATUS_1 - Static variable in class synapsi.error.Log
 
ERROR_STATUS_2 - Static variable in class synapsi.error.Log
 
ERROR_STATUS_3 - Static variable in class synapsi.error.Log
 
ERROR_STATUS_FATAL - Static variable in class synapsi.error.Log
 
ERROR_STATUS_LOG - Static variable in class synapsi.error.Log
 
ERROR_STATUS_MAJOR - Static variable in class synapsi.error.Log
 
ERROR_STATUS_MINOR - Static variable in class synapsi.error.Log
 
ErrorReport(int, int, String, String, String) - Static method in class synapsi.error.Log
Function prints error report(currently to stdout) This version uses params received for printing.
ErrorReport(int, String) - Static method in class synapsi.error.Log
Function prints error report(currently to stdout).

F

fireEvent() - Method in class synapsi.gui.util.SpinControl
Fires an new ActionEvent to all listeners to notify for changes in SpinControls value.
focusGained(FocusEvent) - Method in class synapsi.gui.SendClientInfo
Implemented because SendClientInfo implements FocusListener
focusGained(FocusEvent) - Method in class synapsi.gui.EditGroup
Has to be implemented because EditGroup implements FocusListener
focusGained(FocusEvent) - Method in class synapsi.gui.AddPackage
Just has to be implemented because AddPackage implements FocusListener
focusGained(FocusEvent) - Method in class synapsi.gui.util.SpinControl
Just has to be here, because SpinControl implements FocusListener
focusLost(FocusEvent) - Method in class synapsi.gui.SendClientInfo
Forward the call to checkField
focusLost(FocusEvent) - Method in class synapsi.gui.EditGroup
Enable okButton, if nameField is not empty when focus leaves it
focusLost(FocusEvent) - Method in class synapsi.gui.AddPackage
Fired when fileField loses focus, actually just forwards the event to checkFile
focusLost(FocusEvent) - Method in class synapsi.gui.util.SpinControl
Fires event to notify all listeners, that SpinControl:s value might have changed

G

GeneralMana - class synapsi.gui.GeneralMana.
Class GeneralMana implements the General Management window of Neuron server's graphical user interface.
GeneralMana(NeuronMainWindow, String, int) - Constructor for class synapsi.gui.GeneralMana
The constructor of the class - creates the GeneralMana window with given parameters.
getClient(String) - Method in class synapsi.data.DataMain
 
getClient(String) - Method in interface synapsi.data.DataForMain
Get's the client with specified IP-address
getClients() - Method in class synapsi.data.DataGroup
Gets the clients for this group
getClientVersion(String) - Method in class synapsi.data.DataMain
 
getClientVersion(String) - Method in interface synapsi.data.DataForMain
TO BE REMOVED - This is not needed since you can get clients version from DataClient
getClientVersion(String) - Method in interface synapsi.main.MainForGui
Returns the version of client's software package.
getClientVersion(String) - Method in class synapsi.main.NeuronServer
 
getColumnClass(int) - Method in class synapsi.gui.util.TableMap
Returns the Class of requested column in TableModel
getColumnCount() - Method in class synapsi.gui.ClientTableModel
Tells, how many columns there are in the table
getColumnCount() - Method in class synapsi.gui.PackageTableModel
Tells, how many columns there are in the table
getColumnCount() - Method in class synapsi.gui.GroupTableModel
Tells, how many columns there are in the table
getColumnCount() - Method in class synapsi.gui.util.TableMap
Return number of columns in model by forwarding call to actual TableModel
getColumnName(int) - Method in class synapsi.gui.ClientTableModel
Tells the name of requested column in table
getColumnName(int) - Method in class synapsi.gui.PackageTableModel
Tells the name of requested column in table
getColumnName(int) - Method in class synapsi.gui.GroupTableModel
Tells the name of requested column in table
getColumnName(int) - Method in class synapsi.gui.util.TableMap
Returns the name of requested column in TableModel
getConcurrentClients() - Method in class synapsi.data.DataSettings
 
getDataVersion() - Method in class synapsi.data.DataClient
Get clients DataVersion object
getDefaultGroup() - Method in class synapsi.data.DataMain
 
getDefaultGroup() - Method in interface synapsi.data.DataForMain
Get's reference for the default DataGroup object in this system Default group is the DataGroup object that get's new client's when they come online for a first-time
getDefaultGroup() - Static method in class synapsi.data.DataGroup
Get default group
getErrorMessage() - Method in class synapsi.gui.PackageMana
Returns the error message telling what went wrong
getGroup() - Method in class synapsi.data.DataClient
Get the dataGroup object where this client belongs to.
getGroupClients(String) - Method in class synapsi.data.DataMain
 
getGroupClients(String) - Method in interface synapsi.data.DataForMain
Get clients for specified group
getGroupClients(String) - Method in interface synapsi.main.MainForGui
Returns the clients (client IP, version and current status) of the specified group.
getGroupClients(String) - Method in class synapsi.main.NeuronServer
 
getGroups() - Method in class synapsi.data.DataMain
 
getGroups() - Method in interface synapsi.data.DataForMain
Gets all groups.
getGroups() - Method in interface synapsi.main.MainForGui
Returns all groups in the system.
getGroups() - Method in class synapsi.main.NeuronServer
 
getGroupVersion(String) - Method in class synapsi.data.DataMain
 
getGroupVersion(String) - Method in interface synapsi.data.DataForMain
Gets version of specified group
getGroupVersion(String) - Method in interface synapsi.main.MainForGui
Returns the software version currently assigned to the specified group.
getGroupVersion(String) - Method in class synapsi.main.NeuronServer
 
getId() - Method in class synapsi.data.DataGroup
Get the groups's Unique idstring
getId() - Method in class synapsi.data.DataVersion
Get the versions's Unique idstring
getId() - Method in class synapsi.data.DataClient
Get the client's Unique id(=IP) string
getIp() - Method in class synapsi.data.DataClient
Get client's IP(=unique ID)
getMapping(int) - Method in class synapsi.gui.util.TableSorter
Returns the actual TableModel row index represented by some TableSorter index
getMD5() - Method in class synapsi.data.DataVersion
Retrieves the MD5 checksum for this version object
getModel() - Method in class synapsi.gui.util.TableMap
Returns the tableModel of this TableMap
getNSSettings() - Method in class synapsi.data.DataMain
 
getNSSettings() - Method in interface synapsi.data.DataForMain
Gets the number of concurrent clients to do update
getNSSettings() - Method in interface synapsi.main.MainForGui
Retrieves the number of conncurrent clients
getNSSettings() - Method in class synapsi.main.NeuronServer
 
getOnLineStatus() - Method in class synapsi.data.DataClient
Get the client's status.
getOs() - Method in class synapsi.data.DataVersion
Retrieves the target operating system for this version
getPackage() - Method in class synapsi.data.DataVersion
Get's the location of the update package
getPackages() - Method in interface synapsi.gui.GroupEditor
Get Vector containing all Packages
getPackages() - Method in class synapsi.gui.GroupMana
Implemented because GroupMana implements GroupEditor.
getPackages() - Method in class synapsi.gui.NeuronMainWindow
Gets the packages from MainForGui
getPackages() - Method in class synapsi.data.DataMain
 
getPackages() - Method in interface synapsi.data.DataForMain
Get all software packages/versions
getPackages() - Method in interface synapsi.main.MainForGui
Returns all the software package IDs currently in the system.
getPackages() - Method in class synapsi.main.NeuronServer
 
getRowAt(int) - Method in class synapsi.gui.GroupTableModel
Returns the row at specified index
getRowCount() - Method in class synapsi.gui.ClientTableModel
Tells, how many rows there are in the table
getRowCount() - Method in class synapsi.gui.PackageTableModel
Tells, how many rows there are in the table
getRowCount() - Method in class synapsi.gui.GroupTableModel
Tells, how many rows there are in the table
getRowCount() - Method in class synapsi.gui.util.TableMap
Return number of rows in model by forwarding call to actual TableModel
getValue() - Method in class synapsi.gui.util.NumberSpinControl
Returns the current value of this NumberSpinControl
getValueAt(int, int) - Method in class synapsi.gui.ClientTableModel
Returns the value of requested column in Object-format
getValueAt(int, int) - Method in class synapsi.gui.PackageTableModel
Returns the value of requested column in Object-format
getValueAt(int, int) - Method in class synapsi.gui.GroupTableModel
Returns the value of requested column in Object-format
getValueAt(int, int) - Method in class synapsi.gui.util.TableMap
Just forward the call to actual model
getValueAt(int, int) - Method in class synapsi.gui.util.TableSorter
Just forward the call to actual model
getValueInner() - Method in class synapsi.gui.util.SpinControl
Returns spin controls value.
getVersion() - Method in class synapsi.data.DataGroup
Get the current DataVersion for this object
getVersion() - Method in class synapsi.data.DataVersion
Get the version number as string object
GroupEditor - interface synapsi.gui.GroupEditor.
Interface implemented by NeuronMainWindow and AddPackage so that GroupMana doesn't have to know which one is receiving information of changed Group info
GroupMana - class synapsi.gui.GroupMana.
Class GroupMana implements the Group Management window of Neuron server's graphical user interface.
GroupMana(NeuronMainWindow, String, Vector) - Constructor for class synapsi.gui.GroupMana
The constructor of the class - creates a GroupMana window with given parameters.
groupSorted() - Method in class synapsi.gui.NeuronMainWindow
Called by group table when it is sorted to ensure that clientTable has correct clients
GroupTableModel - class synapsi.gui.GroupTableModel.
Table model used in Client-table of NeuronServers main window
GroupTableModel(Vector) - Constructor for class synapsi.gui.GroupTableModel
Calls ancestors constructor
GuiForMain - interface synapsi.gui.GuiForMain.
Interface to access synapsi.gui package.

H

hasClients() - Method in class synapsi.data.DataGroup
Tells whether this Group object has clients
hasClients() - Method in class synapsi.data.DataVersion
Does this object still have clients that are useing this version
hasGroups() - Method in class synapsi.data.DataVersion
Does this object still have clients that are useing this version
Help - class synapsi.gui.Help.
Class Help implements the Help window of Neuron server's graphical user interface.
Help(JFrame, String) - Constructor for class synapsi.gui.Help
The constructor of the class - creates a new Help window with given title and parent window.
HelpTopic - class synapsi.gui.HelpTopic.
Class HelpTopic implements the Help Topic windows of Neuron server's graphical user interface.
HelpTopic(JDialog, String, int) - Constructor for class synapsi.gui.HelpTopic
The constructor of the class - creates a new HelpTopic window with given title and parent window and text corresponding the given index.

I

increase() - Method in class synapsi.gui.util.SpinControl
Increase the value of SpinControl
increase() - Method in class synapsi.gui.util.NumberSpinControl
Increases the value of this control by 1
informError(int) - Method in interface synapsi.gui.GuiForMain
Notifies GUI about an error that has occurred.
informError(int) - Method in class synapsi.gui.NeuronMainWindow
Informs GUI about an error that has occurred in some module of Neuron server.
init() - Method in class synapsi.data.DataMain
 
init() - Method in interface synapsi.data.DataForMain
Initialize the data's from disk.
init() - Method in interface synapsi.main.MainForGui
Initialize the data's from disk.
init() - Method in class synapsi.main.NeuronServer
 
init(String) - Method in class synapsi.data.DataMain
 
init(String) - Method in interface synapsi.data.DataForMain
Inittialize the data's from disk.
init(String) - Method in interface synapsi.main.MainForGui
Initialize the data from the disk.
init(String) - Method in class synapsi.main.NeuronServer
 
insertRow(Object[]) - Method in class synapsi.gui.ClientTableModel
Add new row to table
insertRow(Object[]) - Method in class synapsi.gui.PackageTableModel
Add new row to table
insertRow(Object[]) - Method in class synapsi.gui.GroupTableModel
Add new row to table
insertString(int, String, AttributeSet) - Method in class synapsi.gui.util.WholeNumberDocument
Inserts some content into the document.
insertUpdate(DocumentEvent) - Method in class synapsi.gui.EditGroup
 
isCellEditable(int, int) - Method in class synapsi.gui.util.TableMap
Just forward this call to actual TableModel

L

LocationReceiver - class synapsi.main.LocationReceiver.
 
LocationReceiver(NeuronServer, String, boolean) - Constructor for class synapsi.main.LocationReceiver
 
lockSort() - Method in class synapsi.gui.util.TableSorter
Reinitialize sorting so, that calls to reSort won't sort the columns until table is sorted by clicking table row header
Log - class synapsi.error.Log.
Class log is responsiple for printing error messages from different packages
Log() - Constructor for class synapsi.error.Log
 

M

main(String[]) - Static method in class synapsi.main.TestMain
 
main(String[]) - Static method in class synapsi.main.NeuronServer
 
MainForGui - interface synapsi.main.MainForGui.
 
MainForNet - interface synapsi.main.MainForNet.
Interface to access synapsi.net package.
MainMenu - class synapsi.gui.MainMenu.
Main menu bar of Neuron server
MainMenu(ActionListener) - Constructor for class synapsi.gui.MainMenu
Construct new MainMenu
makeErrorMessage(int) - Method in interface synapsi.gui.GroupEditor
Converts error number to error message
makeErrorMessage(int) - Method in class synapsi.gui.GroupMana
Converts error number to error message
makeErrorMessage(int) - Method in class synapsi.gui.NeuronMainWindow
Converts error number to error message
model - Variable in class synapsi.gui.util.TableMap
Actual TableModel of the table to be mapped
mouseClicked(MouseEvent) - Method in class synapsi.gui.PackageMana
ot used, has to be implemented because PackageMana implements MouseListener
mouseClicked(MouseEvent) - Method in class synapsi.gui.GroupMana
Used to catch double click from group table.
mouseClicked(MouseEvent) - Method in class synapsi.gui.NeuronMainWindow
Used to catch double click from group table.
mouseEntered(MouseEvent) - Method in class synapsi.gui.PackageMana
Not used, has to be implemented because PackageMana implements MouseListener
mouseEntered(MouseEvent) - Method in class synapsi.gui.GroupMana
Not used, has to be implemented because GroupMana implements MouseListener
mouseEntered(MouseEvent) - Method in class synapsi.gui.NeuronMainWindow
Not used, has to be implemented because NeuronMainWindow implements MouseListener
mouseExited(MouseEvent) - Method in class synapsi.gui.PackageMana
Not used, has to be implemented because PackageMana implements MouseListener
mouseExited(MouseEvent) - Method in class synapsi.gui.GroupMana
Not used, has to be implemented because GroupMana implements MouseListener
mouseExited(MouseEvent) - Method in class synapsi.gui.NeuronMainWindow
Not used, has to be implemented because NeuronMainWindow implements MouseListener
mousePressed(MouseEvent) - Method in class synapsi.gui.PackageMana
Show popup menu, if this is platforms standard event for that purpose
mousePressed(MouseEvent) - Method in class synapsi.gui.GroupMana
Might be used to show popup menu, if this is platforms standard event for that purpose
mousePressed(MouseEvent) - Method in class synapsi.gui.NeuronMainWindow
Not used, has to be implemented because NeuronMainWindow implements MouseListener
mouseReleased(MouseEvent) - Method in class synapsi.gui.PackageMana
Show popup menu, if this is platforms standard event for that purpose
mouseReleased(MouseEvent) - Method in class synapsi.gui.GroupMana
Might be used to show popup menu, if this is platforms standard event for that purpose
mouseReleased(MouseEvent) - Method in class synapsi.gui.NeuronMainWindow
Not used, has to be implemented because NeuronMainWindow implements MouseListener

N

n2sort() - Method in class synapsi.gui.util.TableSorter
Another helpfunction used during sorting
Name - Static variable in class synapsi.data.DataMain
 
Name - Static variable in class synapsi.main.NeuronServer
 
NCMain - class synapsi.main.NCMain.
Mainthread of server
NCMain() - Constructor for class synapsi.main.NCMain
 
NeuronMainWindow - class synapsi.gui.NeuronMainWindow.
Main window of Neuron server
NeuronMainWindow(String, MainForGui) - Constructor for class synapsi.gui.NeuronMainWindow
Construct new NeuronMainWindow and create layout for it
NeuronServer - class synapsi.main.NeuronServer.
Main thread of the Neuron server - handles information passing between different components of Neuron server (GUI, data bank, network part).
NeuronServer() - Constructor for class synapsi.main.NeuronServer
Costructor of the class - creates a new NeuronServer object.
NumberSpinControl - class synapsi.gui.util.NumberSpinControl.
Spin control that deals with integers and increments of 1
NumberSpinControl(int) - Constructor for class synapsi.gui.util.NumberSpinControl
Create a new NumberSpinControl and initialize it with given number

O

OK - Static variable in class synapsi.main.NeuronServer
Error code: Group name already in used by some group.

P

PACKAGE_DATA - Static variable in class synapsi.error.Log
 
PACKAGE_GUI - Static variable in class synapsi.error.Log
 
PACKAGE_MAIN - Static variable in class synapsi.error.Log
 
PACKAGE_NET - Static variable in class synapsi.error.Log
 
PackageMana - class synapsi.gui.PackageMana.
Class PackageMana implements the Package Management window of Neuron server's graphical user interface.
PackageMana(NeuronMainWindow, String) - Constructor for class synapsi.gui.PackageMana
The constructor of the class - creates a new PackageMana window with given parameters.
PackageTableModel - class synapsi.gui.PackageTableModel.
Table model used in Client-table of NeuronServers main window
PackageTableModel(Vector) - Constructor for class synapsi.gui.PackageTableModel
Calls ancestors constructor
printData() - Method in class synapsi.data.DataMain
Print method for test purposes mainly.
printData() - Method in class synapsi.data.DataGroup
Print method for test purposes mainly.
printData() - Method in class synapsi.data.DataVersion
Print method for test purposes mainly.
printData() - Method in class synapsi.data.DataClient
Print method for test purposes mainly.

R

readIniFile(File) - Method in class synapsi.gui.AddPackage
Reads all required information from inf-file.
readLine(int) - Method in class synapsi.net.Connection
Reads a line of text from the socket.
readUnsignedByte(int) - Method in class synapsi.net.Connection
Read bytes from socket
reallocateIndexes() - Method in class synapsi.gui.util.TableSorter
Reallocates the indexes that handle mapping TableModel-rows to table-rows
receive(byte[], int) - Method in class synapsi.net.Connection
Read bytes from socket
removeClient(DataClient) - Method in class synapsi.data.DataGroup
Removes client from this group object
removeClient(DataClient) - Method in class synapsi.data.DataVersion
Client is no longer useing this version.
removeClientFromGroup(String) - Method in class synapsi.gui.NeuronMainWindow
Removes client from group.
removeClientFromGroup(String, String) - Method in interface synapsi.main.MainForGui
Removes a client from the specified group.
removeClientFromGroup(String, String) - Method in class synapsi.main.NeuronServer
 
removeGroup(DataGroup) - Method in class synapsi.data.DataVersion
Group is no longer useing this version.
removeGroup(String) - Method in class synapsi.gui.NeuronMainWindow
Removes requested group from groupTable.
removeGroup(String) - Method in class synapsi.data.DataMain
 
removeGroup(String) - Method in interface synapsi.data.DataForMain
Removes the specified group.
removeGroup(String) - Method in interface synapsi.main.MainForGui
Removes the specified group from the system.
removeGroup(String) - Method in class synapsi.main.NeuronServer
 
removePackage(String) - Method in class synapsi.gui.NeuronMainWindow
Removes package, forwards call to MainForGui
removePackage(String) - Method in class synapsi.data.DataMain
 
removePackage(String) - Method in interface synapsi.data.DataForMain
Removes software package/version from server.
removePackage(String) - Method in interface synapsi.main.MainForGui
Removes an old package from the system.
removePackage(String) - Method in class synapsi.main.NeuronServer
 
removeUpdate(DocumentEvent) - Method in class synapsi.gui.EditGroup
 
reSort() - Method in class synapsi.gui.util.TableSorter
Sorts the columns by last true sort direction
run() - Method in class synapsi.net.ClientThread
Mainloop for reading packets from roammate
run() - Method in class synapsi.net.UpdateThread
Mainloop does updating using PUP-protocol
run() - Method in class synapsi.main.LocationReceiver
 

S

save() - Method in class synapsi.data.DataMain
 
save() - Method in interface synapsi.data.DataForMain
Saves the data to disk Uses the default name for file
save() - Method in interface synapsi.main.MainForGui
Saves the data to disk.
save() - Method in class synapsi.main.NeuronServer
 
save(String) - Method in class synapsi.data.DataMain
 
save(String) - Method in interface synapsi.data.DataForMain
Save's the data to disk
save(String) - Method in interface synapsi.main.MainForGui
Saves the data to the wanted location on the disk.
save(String) - Method in class synapsi.main.NeuronServer
 
send(byte[]) - Method in class synapsi.net.Connection
Send bytes to socket
send(byte[], int) - Method in class synapsi.net.Connection
Send bytes to socket
SendClientInfo - class synapsi.gui.SendClientInfo.
Window implemented just for simulating clients arriving and leaving
SendClientInfo(NeuronMainWindow) - Constructor for class synapsi.gui.SendClientInfo
Create a new SendClientInfo
sendInfo(String, boolean) - Method in class synapsi.gui.NeuronMainWindow
Test function that sends client info to MainForGui
setActionCommand(String) - Method in class synapsi.gui.util.SpinControl
Sets the actionCommand of this SpinControl
setClientActive(String, boolean) - Method in class synapsi.gui.ClientTableModel
Searches table model for specified client and sets it status to either active or inactive
setClientActive(String, boolean) - Method in interface synapsi.gui.GuiForMain
Sets a client in/active in the main window of the GUI (NeuronMainWindow).
setClientActive(String, boolean) - Method in class synapsi.gui.NeuronMainWindow
Sets the status of requested client to active or passive
setClients(int) - Method in class synapsi.gui.NeuronMainWindow
Sets the number of concurrent clients by calling MainForGui
setClientToGroup(String, String) - Method in class synapsi.data.DataMain
 
setClientToGroup(String, String) - Method in interface synapsi.data.DataForMain
Set's the client to group
setClientToGroup(String, String) - Method in interface synapsi.main.MainForGui
Set's the client to group
setClientToGroup(String, String) - Method in class synapsi.main.NeuronServer
 
setClientVector(Vector) - Method in class synapsi.gui.ClientTableModel
Effectually reinitializes models content by reading DataClients from Vector and converting them to visual data
setClientVersion(String, byte[], String) - Method in class synapsi.data.DataMain
 
setClientVersion(String, byte[], String) - Method in interface synapsi.data.DataForMain
Set specified version to client.
setClientVersion(String, byte[], String) - Method in interface synapsi.main.MainForNet
Notifies when a client's version number has changed.
setClientVersion(String, byte[], String) - Method in class synapsi.main.NeuronServer
 
setClientVersion(String, String) - Method in class synapsi.gui.ClientTableModel
Searches table model for specified client and sets it version to given String
setClientVersion(String, String) - Method in interface synapsi.gui.GuiForMain
Sets a new version to a client in the clients list in the main window.
setClientVersion(String, String) - Method in class synapsi.gui.NeuronMainWindow
Sets the version of requested client
setClientVersion(String, String) - Method in class synapsi.main.TestMain
 
setConcurrentClients(int) - Method in class synapsi.data.DataSettings
 
setDebug(int) - Method in class synapsi.net.UpdateThread
Set debug level
setDefaultGroup() - Method in class synapsi.data.DataGroup
Set current object as defaultGroup
setDefaultGroup(DataGroup) - Static method in class synapsi.data.DataGroup
Set the given object as default Group
setEnabled(boolean) - Method in class synapsi.gui.util.SpinControl
Enables or disables this SpinControl
setGroup(DataGroup) - Method in class synapsi.data.DataClient
Makes this client object part of one DataGroup object.
setGroupInfo(String, String, String) - Method in interface synapsi.gui.GroupEditor
Changes Groups ID and version
setGroupInfo(String, String, String) - Method in class synapsi.gui.GroupMana
Implemented because GroupMana implements GroupEditor.
setGroupInfo(String, String, String) - Method in class synapsi.gui.NeuronMainWindow
Modifies or adds new group.
setGroupInfo(String, String, String) - Method in class synapsi.data.DataMain
 
setGroupInfo(String, String, String) - Method in interface synapsi.data.DataForMain
Sets new group ID and/or software version to a group.
setGroupInfo(String, String, String) - Method in interface synapsi.main.MainForGui
Sets new group ID and/or software version to a group.
setGroupInfo(String, String, String) - Method in class synapsi.main.NeuronServer
 
setMainView(NeuronMainWindow) - Method in class synapsi.gui.util.TableSorter
Sets up link to the NeuronMainWindow
setMaximumSize(Dimension) - Method in class synapsi.gui.util.SpinControl
Set's dimensions of spin controls components to match given maximum dimension
setMinimumSize(Dimension) - Method in class synapsi.gui.util.SpinControl
Set's dimensions of spin controls components to match given minimum dimension
setModel(TableModel) - Method in class synapsi.gui.util.TableMap
Sets the TableModel of this TableMap
setModel(TableModel) - Method in class synapsi.gui.util.TableSorter
Sets the TableModel of this TableSorter
setNSSettings(int) - Method in class synapsi.data.DataMain
 
setNSSettings(int) - Method in interface synapsi.data.DataForMain
Set servers settings.
setNSSettings(int) - Method in interface synapsi.main.MainForGui
Sets a new value to the number of concurrent clients.
setNSSettings(int) - Method in class synapsi.main.NeuronServer
 
setOnLineStatus(boolean) - Method in class synapsi.data.DataClient
 
setPreferredSize(Dimension) - Method in class synapsi.gui.util.SpinControl
Set's dimensions of spin controls components to match given preferred dimension
setRow(String, String, int) - Method in class synapsi.gui.GroupTableModel
Sets the values at a row in specified position
setValue(int) - Method in class synapsi.gui.util.NumberSpinControl
Sets the value of this spin control
setValueAt(Object, int, int) - Method in class synapsi.gui.ClientTableModel
Sets the value in specified cell of table
setValueAt(Object, int, int) - Method in class synapsi.gui.PackageTableModel
Sets the value in specified cell of table
setValueAt(Object, int, int) - Method in class synapsi.gui.GroupTableModel
Sets the value in specified cell of table
setValueAt(Object, int, int) - Method in class synapsi.gui.util.TableMap
Just forward the call to actual model
setValueAt(Object, int, int) - Method in class synapsi.gui.util.TableSorter
Just forward the call to actual model
setValueInner(String) - Method in class synapsi.gui.util.SpinControl
Sets spin controls value.
setVersion(DataVersion) - Method in class synapsi.data.DataGroup
Updates this groups version.
setVersion(DataVersion) - Method in class synapsi.data.DataClient
Updates clients DataVersion object
shuttlesort(int[], int[], int, int) - Method in class synapsi.gui.util.TableSorter
This is a home-grown implementation which we have not had time to research - it may perform poorly in some circumstances.
sIP - Variable in class synapsi.main.TestMain
 
sort(Object) - Method in class synapsi.gui.util.TableSorter
Sorts the table rows.
sortByColumn(int) - Method in class synapsi.gui.util.TableSorter
Sort the table row ascending by specified column
sortByColumn(int, boolean) - Method in class synapsi.gui.util.TableSorter
Sort the table row ascending by specified column
SpinControl - class synapsi.gui.util.SpinControl.
Abstract base class for different spin controls.
SpinControl(Document, String) - Constructor for class synapsi.gui.util.SpinControl
Constructs new SpinControl, assingns a document and initial String for it
STATUS_CONNECTED - Static variable in class synapsi.net.Connection
 
STATUS_ERROR - Static variable in class synapsi.net.Connection
 
STATUS_NOCONNECTION - Static variable in class synapsi.net.Connection
 
stop - Variable in class synapsi.net.UpdateThread
 
swap(int, int) - Method in class synapsi.gui.util.TableSorter
Swap two indexes, used while sorting
synapsi.data - package synapsi.data
 
synapsi.error - package synapsi.error
 
synapsi.gui - package synapsi.gui
 
synapsi.gui.util - package synapsi.gui.util
 
synapsi.main - package synapsi.main
 
synapsi.net - package synapsi.net
 

T

tableChanged(TableModelEvent) - Method in class synapsi.gui.util.TableMap
Just forwards all events to listeners
tableChanged(TableModelEvent) - Method in class synapsi.gui.util.TableSorter
Catch the event notifying that the table has changed, reallocate indexes and forward the message
TableMap - class synapsi.gui.util.TableMap.
In a chain of data manipulators some behaviour is common.
TableMap() - Constructor for class synapsi.gui.util.TableMap
 
TableSorter - class synapsi.gui.util.TableSorter.
A sorter for TableModels.
TableSorter() - Constructor for class synapsi.gui.util.TableSorter
The real default sort direction
TableSorter(TableModel) - Constructor for class synapsi.gui.util.TableSorter
Construct a new TableSorter
TestClientInfo(String, boolean) - Method in interface synapsi.main.MainForGui
Usefull method for testing / debugging purposes Set's the client online / offline
TestClientInfo(String, boolean) - Method in class synapsi.main.NeuronServer
 
TestMain - class synapsi.main.TestMain.
 
TestMain() - Constructor for class synapsi.main.TestMain
 
threadEnd() - Method in class synapsi.main.TestMain
 
threadEnd() - Method in interface synapsi.main.MainForNet
Callback for notifying main that an update has ended and a new thread can start updating.
threadEnd() - Method in class synapsi.main.NeuronServer
Decreases number of running threads
threadStart(UpdateThread) - Method in class synapsi.main.TestMain
 
threadStart(UpdateThread) - Method in interface synapsi.main.MainForNet
Callback for checking if update protocol can proceed to uploading
threadStart(UpdateThread) - Method in class synapsi.main.NeuronServer
Increases number of running threads
TOPIC_ADD_GROUP - Static variable in class synapsi.gui.HelpTopic
Help text index of adding a new group.
TOPIC_ADD_PACKAGE - Static variable in class synapsi.gui.HelpTopic
Help text index of adding a new software package version.
TOPIC_CHANGE_GROUP - Static variable in class synapsi.gui.HelpTopic
Help text index of changing a client's group.
TOPIC_EDIT_GROUP - Static variable in class synapsi.gui.HelpTopic
Help text index of editing group's information.
TOPIC_REMOVE_GROUP - Static variable in class synapsi.gui.HelpTopic
Help text index of removing a group.
TOPIC_REMOVE_PACKAGE - Static variable in class synapsi.gui.HelpTopic
Help text index of removing a package.
TOPIC_SET_CLIENT_NUM - Static variable in class synapsi.gui.HelpTopic
Help text index of setting the number of concurrent clients.

U

UpdateThread - class synapsi.net.UpdateThread.
Implements a thread to handle updating one client.
UpdateThread(MainForNet, DataClient, DataVersion) - Constructor for class synapsi.net.UpdateThread
Constructs and initializes UpdateThread

V

valueChanged(ListSelectionEvent) - Method in class synapsi.gui.PackageMana
Handles all ListSelectionEvents from list in this window.
valueChanged(ListSelectionEvent) - Method in class synapsi.gui.Help
Handles all ListSelectionEvents from list in this window.
valueChanged(ListSelectionEvent) - Method in class synapsi.gui.GroupMana
Handles all the ListSelectionEvents from this GroupMana window.
valueChanged(ListSelectionEvent) - Method in class synapsi.gui.NeuronMainWindow
Listens to changes in GroupTable and updates clientTable, if group is changed

W

WholeNumberDocument - class synapsi.gui.util.WholeNumberDocument.
Document, which can contain only whole numbers or null.
WholeNumberDocument() - Constructor for class synapsi.gui.util.WholeNumberDocument
 
writeLine(String) - Method in class synapsi.net.Connection
Writes a line to the socket.

A C D E F G H I L M N O P R S T U V W