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

A

AbstractRequest - class netcom.mds.AbstractRequest.
Title: AbstractRequest
AbstractRequest(String) - Constructor for class netcom.mds.AbstractRequest
Constructs an AbstractRequest, taking the originating socket and message id
AbstractShare - class netcom.mds.AbstractShare.
Title: Abstract Share
AbstractShare(String, String, AddressPort, String, String[], List[]) - Constructor for class netcom.mds.AbstractShare
Constructs an AbstractShare object representing a share on a PServer
AbstractShareTask - class netcom.mds.AbstractShareTask.
Title: Abstract Share Task
AbstractShareTask(PSData, LDAPCommunicator) - Constructor for class netcom.mds.AbstractShareTask
Constructor for AbstractShareTask, only takes an LDAPCommunicator reference
AddShareRequest - class netcom.mds.AddShareRequest.
Title: Add Share Request
AddShareRequest(String, AbstractShare) - Constructor for class netcom.mds.AddShareRequest
This constructs a request to add a share according to the appropriate location
AddShareTask - class netcom.mds.AddShareTask.
Title: Add Share Task
AddShareTask(AddShareRequest, PSData, LDAPCommunicator, NodeEntry) - Constructor for class netcom.mds.AddShareTask
Constructor to make a task to Add a share to a supplied PSData
AddressPort - class netcom.util.AddressPort.
Title: This is a class in Java 1.4 recreated here for 1.3 compatibility
AddressPort(InetAddress, int) - Constructor for class netcom.util.AddressPort
Constructor which takes a premade InetAddress and port
AddressPort(String, int) - Constructor for class netcom.util.AddressPort
Constructor which takes a String and a port...
AddressPort(String) - Constructor for class netcom.util.AddressPort
Constructor which takes a strin of the form AddressPort.toString() to create a new AddressPort object
AuthenticationEntry - class netcom.util.AuthenticationEntry.
A data type which contains login information Consists of a username and a password
AuthenticationEntry(String, String) - Constructor for class netcom.util.AuthenticationEntry
Creates new AuthenticationEntry
access_list - Variable in class netcom.mds.AbstractShare
An array of Strings that has name of the PClients who can access this share.
actionPerformed(ActionEvent) - Method in class netcom.gui.LogConsole
Menu handler
actionPerformed(ActionEvent) - Method in class netcom.gui.TabPanel
 
active() - Method in class netcom.util.ThreadPoolThread
 
add(String, Component) - Method in class netcom.gui.TabPanel
 
add(String, String, Component) - Method in class netcom.gui.TabPanel
 
add(String[]) - Method in class netcom.mds.Demo
This method adds a string to the 'remote' bloom filter and updates the local filter
addAuthenticationEntry(AuthenticationEntry) - Method in class netcom.util.LDAPCommunicator
Adds new username/password pair if not already exists
addFolderBitmaskFlag(String, int) - Method in class netcom.gui.Tree
 
addFullString(String) - Method in class netcom.util.BloomFilter
This method will parse an input string, and add every 'word' to the bloom filter, separating 'words' by
addLayoutComponent(String, Component) - Method in class netcom.gui.ConsoleLayout
 
addLogEntry(int, String) - Method in class netcom.gui.ListPanel
adds an entry(new row) to the log grid
addLogEntry(LogEntry) - Method in interface netcom.log.Logable
 
addLogEntry(int, String) - Method in class netcom.log.Logger
This method is invoked externally by the parent node to request a LogEntry be made
addMDSHistory(AddressPort) - Method in class netcom.mds.SearchRequest
This method adds an InetSocketAddress to this search object's internal data structures.
addNewUser(String, String) - Method in class netcom.proxy.HandleXMLTask
Method to talk with LDAP and add a new user
addNodeEntry(NodeEntry) - Method in class netcom.util.LDAPCommunicator
Adds new PClient/PServer node to LDAP if not already exists
addOneKey(String) - Method in class netcom.util.BloomFilter
This method will add a single String to the bloom filter, whether spaces exist in it or not
addPServerPipe(Socket) - Method in class netcom.proxy.HandleXMLTask
method to create a new connection to a MDS node for a PServer
addRow(String[]) - Method in class netcom.gui.Grid
 
addRow(String, String, String, int, String, String, String) - Method in class netcom.gui.Tree
 
addRow(String[]) - Method in class netcom.gui.Tree
 
addRow(String, String, String, int) - Method in class netcom.gui.Tree
 
addRow(String, String) - Method in class netcom.gui.Tree
 
addRow(String, String[]) - Method in class netcom.gui.hGrid
 
addRow(String[]) - Method in class netcom.gui.hGrid
 
addScrollListener(AdjustmentListener) - Method in class netcom.gui.Grid
 
addShare(AbstractShare) - Method in class netcom.mds.PSData
Adds a share to the PSData inventory
addSorted(String[], boolean) - Method in class netcom.util.SortedVector
 
addToQueue(LogMessage) - Method in class netcom.log.FileReaderThread
this method is called when the parent thread (Logger) hears that a LogMessage wants the file to be read for info to be sent back in the form of a LogMessage it adds a LogMessage so that to the queue so that it can wait to be processed
addToQueue(LogEntry) - Method in class netcom.log.FileWriterThread
this method is called when the parent thread (Logger) hears that a LogEntry has to be made it then makes a temporary LogEntry holding the what will be needed to complete the LogEntry and adds that to the queue of this Object to be processed
adjustmentValueChanged(AdjustmentEvent) - Method in class netcom.gui.Grid
 
adjustmentValueChanged(AdjustmentEvent) - Method in class netcom.gui.Tree
 
adjustmentValueChanged(AdjustmentEvent) - Method in class netcom.gui.hGrid
 
alignment - Variable in class netcom.gui.MultiLineLabel
 
asHex(byte[]) - Static method in class netcom.util.MD5
Turns array of bytes into string representing each byte as unsigned hex number.
asHex() - Method in class netcom.util.MD5
Returns 32-character hex representation of this objects hash

B

BloomFilter - class netcom.util.BloomFilter.
Title: Bloom Filter
BloomFilter() - Constructor for class netcom.util.BloomFilter
The constructor for a BloomFilter
BloomUpdate - class netcom.util.BloomUpdate.
Title: Bloom Update Packet
BloomUpdate(int[]) - Constructor for class netcom.util.BloomUpdate
Constructor to create a BloomUpdate object from a predefined array of changed indexes
BloomUpdate(DatagramPacket) - Constructor for class netcom.util.BloomUpdate
constructor to create a BloomUpdate object from an incoming datagram packet that has been created from another BloomUpdate object
BorderPanel - class netcom.gui.BorderPanel.
Title: BorderPanel
BorderPanel() - Constructor for class netcom.gui.BorderPanel
 
beginAgain() - Method in class netcom.log.FileReaderThread
public method called to allow the FileReaderThread to continue processing
bloomsearch(String[]) - Method in class netcom.mds.MDSCLI
This is a function used by runCLI to handle the user setting whether to use a Bloom search method or not

C

CButton - class netcom.gui.CButton.
Title: CButton
CButton(Image, String) - Constructor for class netcom.gui.CButton
 
CButton(Image) - Constructor for class netcom.gui.CButton
 
CENTER - Static variable in class netcom.gui.Msgbox
 
CENTER - Static variable in class netcom.gui.MultiLineLabel
 
CHAT_ADD_REQUEST - Static variable in class netcom.log.Logger
 
CHAT_REMOVE_REQUEST - Static variable in class netcom.log.Logger
 
CImage - class netcom.gui.CImage.
Title: CImage
CImage(Image) - Constructor for class netcom.gui.CImage
 
CLIENT_CONNECTED - Static variable in class netcom.log.Logger
 
CLIENT_DISCONNECTED - Static variable in class netcom.log.Logger
 
CONNECTION_REJECTED - Static variable in class netcom.log.Logger
 
ChatShare - class netcom.mds.ChatShare.
Title: Chat Share
ChatShare(String, String, AddressPort, String, String[], List[]) - Constructor for class netcom.mds.ChatShare
Constructs a ChatShare object representing a ChatRoom on a PServer
CompareTo(Comparable) - Method in class netcom.log.LogEntry
Compare this object with rhs.
ConsoleLayout - class netcom.gui.ConsoleLayout.
Title: ConsoleLayout
ConsoleLayout() - Constructor for class netcom.gui.ConsoleLayout
Creates new ConsoleLayout
calculateColumnWidth(int) - Method in class netcom.gui.Grid
 
cardinality(BitSet) - Static method in class netcom.util.Util
This is a method to implement a java 1.4 method using java 1.3 calls See 1.4 docs for Bitset.cardinality()
check(String[]) - Method in class netcom.mds.Demo
This method checks if a string is in the local bloom filter
checkAllWords(String) - Method in class netcom.util.BloomFilter
This method checks to see if 'all' of the 'words' in a string are in the bloom filter, separating 'words' by
checkAuth(String, String) - Method in class netcom.proxy.HandleXMLTask
Method to check the authorization of a login and password
checkMDSHistory(AddressPort) - Method in class netcom.mds.SearchRequest
This method checks the internal data structure to see if the input MDS Node information has been seen before (ie The request has already passed though the given MDS Node)
checkOneKey(String) - Method in class netcom.util.BloomFilter
This method checks to see if an individual key is located in the bloom filter
close() - Method in class netcom.util.WrappedInputStream
Closes the input stream.
close() - Method in class netcom.util.WrappedOutputStream
Closes the output stream.
combineCollections(Collection, Collection) - Static method in class netcom.util.Util
Method to copy two synchronized collections into a unsynchronized Collection which contains pointers to all the objects in the first two collections.
compareTo(Object) - Method in class netcom.mds.AbstractShare
This method is provided so that AbstractShares can be placed into sorted data structures so a search can be performed on them optimally.
compareTo(Object) - Method in class netcom.mds.ChatShare
This compareTo compreTo method compares ChatShares based on their share_name
compareTo(Object) - Method in class netcom.mds.FileShare
This compareTo is unique to FileShare and compares two FileShares based on there share_name
componentHidden(ComponentEvent) - Method in class netcom.gui.ShortCutPanel
 
componentMoved(ComponentEvent) - Method in class netcom.gui.ShortCutPanel
 
componentResized(ComponentEvent) - Method in class netcom.gui.ShortCutPanel
 
componentShown(ComponentEvent) - Method in class netcom.gui.ShortCutPanel
 
contains(SearchRequest) - Method in class netcom.mds.PSData
Method to search all shares for a PSData object according to a SearchRequest.
copyMap(Map) - Static method in class netcom.util.Util
Method to copy a syncrhonized Map to a thread-safe, unsyncrhonized copy ie.
current_instance - Static variable in class netcom.gui.LogConsole
 

D

DEBUG - Static variable in class netcom.util.Props
this determines if routing data is dumped to the screen
DEFAULT_BUFFER_SIZE - Static variable in class netcom.util.WrappedOutputStream
Default buffer size (1024).
DEFAULT_TABLE_SIZE - Static variable in class netcom.util.BloomFilter
The table size is critical to the false-positive ratio of the filter The size can be loaded from a file under the key "BLOOMFILTER_TABLE_SIZE" but if that is not supplied, this default is used Ideally we want a size-to-keys ratio greater than 10-1 which results in less than 1% false-positives, however, even a 7-1 ratio still only gives 3% false positives see this (k=5) for exact numbers As a sidenote, a rehash upon size flucuations might be considered, however this would require a separate storage of all origional indexes (before modulus operations) and thus would use much more memory than simply making a larger table Also, this must be constant across ALL MDS nodes for proper hasing, so cannot make this a netcom.util.Properties loaded constant
DISCONNECT - Static variable in class netcom.log.LogMessage
 
Demo - class netcom.mds.Demo.
Title: Demo Class
Demo() - Constructor for class netcom.mds.Demo
Constructor, take no arguments but creates object variables
debug(String[]) - Method in class netcom.mds.MDSCLI
This is a function used by runCLI to set whether verbose information is pumped to the screen or not
deleteFolderBitmask(String) - Method in class netcom.gui.Tree
 
dequeue() - Method in class netcom.log.QueueAr
Return and remove the least recently inserted item from the queue.
dequeue() - Method in class netcom.util.SQueue
Remove object from the head of the queue
dequeueOrWait(long) - Method in class netcom.util.SQueue
Remove object from the head of the queue.
disconnectListeners() - Method in class netcom.gui.ToolTip
 
documentCard(String) - Method in class netcom.gui.TabPanel
Return a mouse documentation string for selecting this card.

E

ERROR - Static variable in class netcom.gui.Msgbox
 
ERROR - Static variable in class netcom.log.Logger
 
EXCLAMATION - Static variable in class netcom.gui.Msgbox
 
enqueue(Object) - Method in class netcom.log.QueueAr
Insert a new item into the queue.
enqueue(Object) - Method in class netcom.util.SQueue
Add object to the tail of the queue
equals(Object) - Method in class netcom.log.LogEntry
Compare this object with rhs.
exit(String[]) - Method in class netcom.mds.Demo
This method exits the program
exit(String[]) - Method in class netcom.mds.MDSCLI
This is a function used by runCLI to handle the user inputting the command "exit"
exitConsole() - Method in class netcom.gui.LogConsole
Closes the GUI

F

FILE_ADD_REQUEST - Static variable in class netcom.log.Logger
 
FILE_REMOVE_REQUEST - Static variable in class netcom.log.Logger
 
FileReaderThread - class netcom.log.FileReaderThread.
Title: FileReaderThread This is a Thread used by the Logger to process LogSession requests from the GUI It has the ability to go into the file and make a resulting packet of information and LogEntries in the form of a LogMessage Copyright: Copyright (c) 2002 Company NETCOM
FileReaderThread(LoggerInterface) - Constructor for class netcom.log.FileReaderThread
Constructor method
FileShare - class netcom.mds.FileShare.
Title: File Share
FileShare(String, String, AddressPort, String, String[], List[], String) - Constructor for class netcom.mds.FileShare
Constructs a ChatShare object representing a ChatRoom on a PServer
FileWriterThread - class netcom.log.FileWriterThread.
Title: FileReaderThread This is the thread started by the logger thread to handle all the LogEntries requested by the parent node to write to file.
FileWriterThread() - Constructor for class netcom.log.FileWriterThread
Constructor initializes variables...
Final() - Method in class netcom.util.MD5
Returns array of bytes (16 bytes) representing hash as of the current state of this object.
fBuffer - Variable in class netcom.util.WrappedOutputStream
Buffer.
fClosed - Variable in class netcom.util.WrappedInputStream
To mark that the stream is "closed".
fDataInputStream - Variable in class netcom.util.WrappedInputStream
Data input stream.
fDataOutputStream - Variable in class netcom.util.WrappedOutputStream
Data output stream.
fFont - Variable in class netcom.gui.MultiLineLabel
 
fPacketCount - Variable in class netcom.util.WrappedInputStream
Bytes left on input stream for current packet.
fPosition - Variable in class netcom.util.WrappedOutputStream
Buffer position.
finalize() - Method in class netcom.log.FileReaderThread
public method that makes the die_flag of this thread equal to true, and brings the thread out of its infinite loop to terminate it
finalize() - Method in class netcom.log.FileWriterThread
public method that makes the die_flag of this thread equal to true, and brings the thread out of its infinite loop
finalize() - Method in class netcom.mds.MDS
This is the finalize method, and should be called whenever this object is disappearing This unallocates all references it must and informs the network that this node is no good anymore
finalize() - Method in class netcom.proxy.MDSProxy
This is the finalize method, and should be called whenever this object is disappearing This unallocates all references it must and informs the network that this node is no good anymore
first() - Method in class netcom.gui.TabPanel
Select the first card in the Panel.
flip(BitSet, int) - Static method in class netcom.util.Util
This is a method to implement a java 1.4 method using java 1.3 calls See 1.4 docs for BitSet.flip()
flush() - Method in class netcom.util.WrappedOutputStream
Flushes the output buffer, writing all bytes currently in the buffer to the output.
flush0() - Method in class netcom.util.WrappedOutputStream
Flushes the output buffer, writing all bytes currently in the buffer to the output.
foo(String[]) - Static method in class netcom.mds.Demo
 

G

GENERAL_ENTRY - Static variable in class netcom.log.Logger
 
GRAY - Variable in class netcom.gui.StatusButton
 
GRAYHIGHLIGHT - Static variable in class netcom.gui.Tree
 
GREEN - Variable in class netcom.gui.StatusButton
 
GREEN - Variable in class netcom.gui.StatusPanel
 
GUIClient - class netcom.gui.GUIClient.
Title: GUIClient
GUIClient(String, int, int) - Constructor for class netcom.gui.GUIClient
Constructor.
Grid - class netcom.gui.Grid.
 
Grid() - Constructor for class netcom.gui.Grid
 
Grid(boolean, boolean) - Constructor for class netcom.gui.Grid
 
Grid(int, boolean, boolean) - Constructor for class netcom.gui.Grid
 
get() - Method in class netcom.util.Queue
 
getAddress() - Method in class netcom.util.AddressPort
 
getAlignment() - Method in class netcom.gui.MultiLineLabel
 
getAuthenticationList() - Method in class netcom.util.LDAPCommunicator
Returns array of all AuthenticationEntry that are registered on LDAP
getBestPClientMDS() - Method in class netcom.proxy.HandleXMLTask
Method to find the best MDS according to PClient load-balancing criteria
getBestPServerMDS() - Method in class netcom.proxy.HandleXMLTask
Method to find the best MDS according to PServer load-balancing criteria
getBloomString() - Method in class netcom.mds.SearchRequest
Converts a SearchRequest to a String of matching name-list-pairs
getBloomString(List[]) - Static method in class netcom.util.Util
This is a method to ensure the Name-List-Pairs are ALWAYS converted to Strings the SAME WAY (this is crucial for bloom filters)
getBloomUpdate(BloomFilter) - Method in class netcom.util.BloomFilter
Method to return a BloomUpdate object representing the differences between 'this' object and an input Bloomfilter Does not effect the state of any of the BloomFilter objects
getClosable() - Method in class netcom.gui.TabPanel
 
getCode() - Method in class netcom.log.LogEntry
Accessor for private var code
getColumnNumber(String) - Method in class netcom.gui.Grid
 
getComment() - Method in class netcom.log.LogEntry
Accessor for private var comment
getCurrentSession() - Method in class netcom.log.FileWriterThread
accessor for private variable that keeps track of current session
getDataCount() - Method in class netcom.util.NodeEntry
 
getDataPath() - Method in class netcom.gui.LogPanel
Return current data_path
getDatagram(AddressPort) - Method in class netcom.util.BloomUpdate
Getter to actually get the Datagram Packet representation of this BloomUpdate
getDisplay(int, int) - Method in class netcom.gui.Grid
 
getElementCount() - Method in class netcom.util.SortedVector
Creates new SortedVector
getFailureCount() - Method in class netcom.util.NodeEntry
 
getFolderBitmask(String) - Method in class netcom.gui.Tree
 
getFreinds() - Method in class netcom.log.LogMessage
accessor for Collection that holds the names of the friends of the node Only used if parent is mds node...
getFriends() - Method in interface netcom.log.LoggerInterface
gets collection of friends mds node has
getFriends() - Method in class netcom.mds.MDS
This is a method used by the Logging Gui to figure out who this MDSNode's friends are
getFriends() - Method in class netcom.proxy.MDSProxy
This is a method used by the Logging Gui to figure out who this MDSNode's friends are
getFront() - Method in class netcom.log.QueueAr
Get the least recently inserted item in the queue.
getHostName() - Method in class netcom.util.AddressPort
 
getID() - Method in class netcom.log.LogEntry
Accessor for private var id
getIP() - Method in class netcom.log.LogMessage
accessor for IP of node that Logmessage is sent to
getIP() - Method in interface netcom.log.LoggerInterface
gets what the IP of the proxy/mds node is
getIP() - Method in class netcom.mds.MDS
This is a method used by the Logging Gui to figure out what IP this Node sits on
getIP() - Method in class netcom.proxy.MDSProxy
This is a method used by the Logging Gui to figure out what IP this Node sits on
getIP() - Method in class netcom.util.NodeEntry
 
getIndexList() - Method in class netcom.util.BloomUpdate
Getter method to retrieve the ArrayList of flipped indexes
getLDAPInfo() - Method in class netcom.gui.LogConsole
Queries LDAP and updates list of known nodes
getLDAPRefresh() - Method in class netcom.gui.LogConsole
return if auto update is on
getLDAPTimeout() - Method in class netcom.gui.LogConsole
gets the refresh timeout
getLabel() - Method in class netcom.gui.MultiLineLabel
 
getLight() - Method in class netcom.gui.StatusPanel
 
getLogEntries() - Method in class netcom.log.LogMessage
accessor for Vector that holds the LogEntries that are requested for by GUI
getLogEntries(int, int) - Method in interface netcom.log.Logable
 
getMarginHeight() - Method in class netcom.gui.MultiLineLabel
 
getMarginWidth() - Method in class netcom.gui.MultiLineLabel
 
getMaxLogEntryNumber() - Method in interface netcom.log.Logable
 
getMaximumSize() - Method in class netcom.gui.CButton
 
getMaximumSize() - Method in class netcom.gui.CImage
 
getMessage() - Method in class netcom.gui.StatusPanel
 
getMinimumSize() - Method in class netcom.gui.CButton
 
getMinimumSize() - Method in class netcom.gui.CImage
 
getMinimumSize() - Method in class netcom.gui.HBar
 
getMinimumSize() - Method in class netcom.gui.ProgressBar
 
getMinimumSize() - Method in class netcom.gui.TabPanel
 
getMinimumSize() - Method in class netcom.gui.Tree
 
getMinimumSize() - Method in class netcom.gui.TreePanel
 
getMinimumSize() - Method in class netcom.gui.hGrid
 
getName() - Method in class netcom.util.NodeEntry
 
getNodeData(String) - Method in class netcom.gui.LogConsole
return a specifiv NodeData with info about the node
getNodeEntry(String) - Method in class netcom.util.LDAPCommunicator
Returns NodeEntry for corresponding node_name that is registered on LDAP
getNodeList(int) - Method in class netcom.util.LDAPCommunicator
 
getNodeName() - Method in class netcom.log.LogMessage
accessor for name of node that Logmessage is sent to
getNodeName() - Method in interface netcom.log.LoggerInterface
gets what the name of the proxy/mds node is
getNodeName() - Method in class netcom.mds.MDS
This is a method used by the Logging Gui to figure out the "name" of this MDSNode
getNodeName() - Method in class netcom.proxy.MDSProxy
This is a method used by the Logging Gui to figure out the "name" of this MDSNode
getNodeNames() - Method in class netcom.gui.LogConsole
returns a set of keys of all available nodes key=ip+port
getNodeType() - Method in class netcom.log.LogMessage
Accessor for variable that tells if logger is looging for a mds node or proxy node
getNodeType() - Method in interface netcom.log.LoggerInterface
gets whether the node is a mds or proxy node
getNodeType() - Method in class netcom.mds.MDS
This is a method used by the Logging Gui to see what type of node I am (MDSProxy or MDSNode)
getNodeType() - Method in class netcom.proxy.MDSProxy
This is a method used by the Logging Gui to see what type of node I am (MDSProxy or MDSNode)
getNumConnections() - Method in class netcom.log.LogMessage
accessor for variable that holds number of connections the node has at time of request
getNumConnections() - Method in interface netcom.log.LoggerInterface
gets what the number of connections the mds or proxy node has.
getNumConnections() - Method in class netcom.mds.MDS
This is a method used by the Logging Gui to know the number of connections
getNumConnections() - Method in class netcom.proxy.MDSProxy
This is a method used by the Logging Gui to know the number of connections
getPClientCount() - Method in class netcom.util.NodeEntry
 
getPassword() - Method in class netcom.util.AuthenticationEntry
 
getPath() - Method in class netcom.gui.Grid
 
getPort() - Method in class netcom.log.LogMessage
accessor for variable that holds port number of parent node
getPort() - Method in class netcom.util.AddressPort
 
getPort() - Method in class netcom.util.BloomUpdate
Getter method for the port
getPort1() - Method in class netcom.util.NodeEntry
 
getPort2() - Method in class netcom.util.NodeEntry
 
getPort3() - Method in class netcom.util.NodeEntry
 
getPreferredSize() - Method in class netcom.gui.CButton
 
getPreferredSize() - Method in class netcom.gui.CImage
 
getPreferredSize() - Method in class netcom.gui.HBar
 
getPreferredSize() - Method in class netcom.gui.ProgressBar
 
getPreferredSize() - Method in class netcom.gui.TabPanel
 
getPreferredSize() - Method in class netcom.gui.Tree
 
getPreferredSize() - Method in class netcom.gui.TreePanel
 
getPreferredSize() - Method in class netcom.gui.hGrid
 
getProgressBar() - Method in class netcom.gui.StatusPanel
 
getRangeFrom() - Method in class netcom.log.LogMessage
Accessor for variable that tells where the range of requested Logentries begin
getRangeTo() - Method in class netcom.log.LogMessage
Accessor for variable that tells where the range of requested Logentries end
getReturnMessage() - Method in class netcom.log.FileReaderThread
returns the LogMessage that has just been made by processing to the Logger class
getRowHeight() - Method in class netcom.gui.Grid
 
getSelected() - Method in class netcom.gui.Grid
 
getSelectedIndexes() - Method in class netcom.gui.Grid
 
getSelectedName() - Method in class netcom.gui.Grid
 
getSelectedName() - Method in class netcom.gui.Tree
 
getSelectedNames() - Method in class netcom.gui.Grid
 
getSelectedPath() - Method in class netcom.gui.Grid
 
getSelectedPath() - Method in class netcom.gui.Tree
 
getSelectedShortcut() - Method in class netcom.gui.Tree
 
getSelectedType() - Method in class netcom.gui.Grid
 
getSelectedType() - Method in class netcom.gui.Tree
 
getSession() - Method in class netcom.log.LogMessage
Accessor for variable that tells which session we want logentries from
getSessionID() - Method in class netcom.gui.Grid
 
getSessionID() - Method in class netcom.gui.Tree
 
getSessionID() - Method in class netcom.log.LogEntry
Accessor for private var session
getSessionNumber() - Method in interface netcom.log.Logable
 
getShowGrid() - Method in class netcom.gui.Grid
 
getSize() - Method in class netcom.util.BloomFilter
Getter method to return the number of keys currently held in the filter
getSortId() - Method in class netcom.gui.Grid
 
getStatus() - Method in class netcom.gui.StatusPanel
 
getTag() - Method in class netcom.gui.CButton
 
getTag() - Method in class netcom.gui.Grid
 
getText() - Method in class netcom.log.LogEntry
Accessor for private var text
getThePort() - Method in interface netcom.log.LoggerInterface
gets what the port of the mds or proxy node is.
getThePort() - Method in class netcom.mds.MDS
This is a method used by the Logging Gui to tell what port the MDS is listening for MDSProxies ON
getThePort() - Method in class netcom.proxy.MDSProxy
 
getTime() - Method in class netcom.log.LogEntry
Accessor for private var time
getTopComponent() - Method in class netcom.gui.TabPanel
Component Selection
getType() - Method in class netcom.log.LogMessage
accessor for variable that specifies the request type of GUI
getType() - Method in class netcom.util.NodeEntry
 
getUsername() - Method in class netcom.util.AuthenticationEntry
 
getValue() - Method in class netcom.gui.ProgressBar
 
getVertScrollValue() - Method in class netcom.gui.Tree
 
getVisibleAmount() - Method in class netcom.gui.Grid
 
getVisibleRowCount() - Method in class netcom.gui.ListPanel
 
grayHighlight - Variable in class netcom.gui.Tree
 

H

HASH_FUNCTIONS - Static variable in class netcom.util.BloomFilter
This is the number of hash functions used for every key It should always be 5 (any changes would require modifying the algorithm, so this is not a properties-loaded constant)
HBar - class netcom.gui.HBar.
Title: HBar
HBar() - Constructor for class netcom.gui.HBar
 
HBar(boolean) - Constructor for class netcom.gui.HBar
 
HBar(String) - Constructor for class netcom.gui.HBar
 
HandleBloomUpdates - class netcom.mds.HandleBloomUpdates.
Title: Handle Bloom Updates
HandleBloomUpdates(int, Map) - Constructor for class netcom.mds.HandleBloomUpdates
Constructor, This takes a server port, and a Collection which holds the bloomFilters which need to be modified.
HandleMDSConnections - class netcom.proxy.HandleMDSConnections.
Title: Handle MDS Connections
HandleMDSConnections(int, Collection, ThreadPool, Map, Logger) - Constructor for class netcom.proxy.HandleMDSConnections
 
HandleOutsideConnections - class netcom.proxy.HandleOutsideConnections.
Title: Handle Outside Connections
HandleOutsideConnections(int, Map, Collection, ThreadPool, Map, LDAPCommunicator, Logger, Map) - Constructor for class netcom.proxy.HandleOutsideConnections
Constructor, This is created with a port number and a Collection to add new connections to.
HandleOutsideSockets - class netcom.proxy.HandleOutsideSockets.
Title: Handle Outside Sockets
HandleOutsideSockets(Map, Collection, ThreadPool, Map, LDAPCommunicator, Logger, Map, Map) - Constructor for class netcom.proxy.HandleOutsideSockets
Constructor, This is created with all of the data structures located in the MDSProxy It will pass these structures to HandleXMLTask
HandleReturnTask - class netcom.proxy.HandleReturnTask.
Title: Handle Return Task
HandleReturnTask(AbstractRequest, Collection, Map, Logger) - Constructor for class netcom.proxy.HandleReturnTask
Constructor,
HandleSocketConnects - class netcom.mds.HandleSocketConnects.
Title: Handle Socket Connections
HandleSocketConnects(int, Collection) - Constructor for class netcom.mds.HandleSocketConnects
Constructor, This is created with a port number and a Collection to add new connections to.
HandleXMLTask - class netcom.proxy.HandleXMLTask.
Title: Handle XML Task
HandleXMLTask(Map, Socket, WrappedInputStream, Map, Collection, LDAPCommunicator, Logger, Document, Map, Map) - Constructor for class netcom.proxy.HandleXMLTask
Constructor, This takes a socket and a map of PServer to MDS sockets and handles tasks coming from the outside (e.g.
HandleXMLTask(Socket, Map, Collection, Map, LDAPCommunicator, Logger, AddressPort, Map) - Constructor for class netcom.proxy.HandleXMLTask
Constructor, This takes a new socket, a map of PServer to MDS sockets and a List of active sockets and handles tasks coming from the outside (e.g.
hGrid - class netcom.gui.hGrid.
Title: hGrid
hGrid() - Constructor for class netcom.gui.hGrid
 
halt() - Method in class netcom.log.FileReaderThread
public method that evokes the flag in the FileReaderThread to stop processing until all entries waiting to be written to file are processed first.
help(String[]) - Method in class netcom.mds.Demo
This just displays the help menu
help(String[]) - Method in class netcom.mds.MDSCLI
This is a function used by runCLI to handle the user inputting the command "help"

I

INFO - Static variable in class netcom.gui.Msgbox
 
Init() - Method in class netcom.util.MD5
Initialize MD5 internal state (object can be reused just by calling Init() after every Final()
iColWidth - Variable in class netcom.gui.Grid
 
iImage - Variable in class netcom.gui.CImage
 
id - Variable in class netcom.mds.AbstractShare
Unique ID for the share.
image_hash - Static variable in class netcom.gui.LogConsole
 
inLDAP(String) - Method in class netcom.gui.LogConsole
 
incoming_names_ptr - Variable in class netcom.proxy.HandleOutsideConnections
 
incoming_names_ptr - Variable in class netcom.proxy.HandleOutsideSockets
Reference/pointer to MDSProxy names
incoming_sockets_ptr - Variable in class netcom.proxy.HandleOutsideSockets
Reference/pointer to the MDSProxy incoming_out_sockets Collection
insets() - Method in class netcom.gui.TabPanel
Allocates extra margins to give the cards some `body'.
isAuthenticated(AuthenticationEntry) - Method in class netcom.util.LDAPCommunicator
Checks to see if AuthenticationEntry is authenticated.
isClosable() - Method in class netcom.gui.Grid
 
isClosable() - Method in class netcom.gui.Tree
 
isClosed(Socket) - Static method in class netcom.util.Util
It is very important to make sure no one is reading from the Socket s while you call isClosed.
isEmpty() - Method in class netcom.log.QueueAr
Test if the queue is logically empty.
isForBrowse() - Method in class netcom.gui.Tree
 
isFull() - Method in class netcom.log.QueueAr
Test if the queue is logically full.
isQueueEmpty() - Method in class netcom.util.SQueue
test if queue has elements
isSelectable() - Method in class netcom.gui.Grid
 
isWrappable() - Method in class netcom.gui.Grid
 
is_bloom_guess - Variable in class netcom.mds.SearchRequest
This says whether this search request is a bloom guess or not, thus allowing this search request to not be propogated if it was a true "bloom guess" and the recieving MDS node is using the "bloom search mode" This field is modified by an MDS Node after instantiation

K

keyPressed(KeyEvent) - Method in class netcom.gui.Grid
 
keyPressed(KeyEvent) - Method in class netcom.gui.hGrid
 
keyReleased(KeyEvent) - Method in class netcom.gui.Grid
 
keyReleased(KeyEvent) - Method in class netcom.gui.hGrid
 
keyTyped(KeyEvent) - Method in class netcom.gui.Grid
 
keyTyped(KeyEvent) - Method in class netcom.gui.hGrid
 

L

LDAPCommunicator - class netcom.util.LDAPCommunicator.
Title: LDAPCommunicator
LDAPCommunicator() - Constructor for class netcom.util.LDAPCommunicator
Constructor to create a LDAPCommunicator object
LEFT - Static variable in class netcom.gui.Msgbox
 
LEFT - Static variable in class netcom.gui.MultiLineLabel
 
LOCAL_HOSTNAME - Static variable in class netcom.util.Props
This is the local IP address...
LOG_ENTRIES - Static variable in class netcom.log.LogMessage
 
LabelPanel - class netcom.gui.LabelPanel.
 
LabelPanel() - Constructor for class netcom.gui.LabelPanel
 
ListPanel - class netcom.gui.ListPanel.
Title: ListPanel
ListPanel() - Constructor for class netcom.gui.ListPanel
A Constructor for the Panel initializes all the components
LogConsole - class netcom.gui.LogConsole.
Title: LogConsole
LogConsole() - Constructor for class netcom.gui.LogConsole
Constructor for the console
LogEntry - class netcom.log.LogEntry.
Title: FileReaderThread This is an interface used by the Logger to request for data about the MDS/proxy node.
LogEntry() - Constructor for class netcom.log.LogEntry
default constructor
LogEntry(int, String) - Constructor for class netcom.log.LogEntry
Constructor for LogEntry that is made when parent node does logger.addLogEntry(int, String)
LogEntry(int, int, int, String) - Constructor for class netcom.log.LogEntry
Constructor used to make Logentries when reading from the logfile and returning info to the GUI
LogMessage - class netcom.log.LogMessage.
Title: LogMessage This is the object which is used to communicate between the logger and the GUI This object is sent via ObjectIOStream and thus has to implement Serializable Copyright: Copyright (c) 2002 Company NETCOM
LogMessage() - Constructor for class netcom.log.LogMessage
Default Constructor
LogMessage(int, String) - Constructor for class netcom.log.LogMessage
Creates new LogMessage used when GUI wants stats, or wants to disconnect ...
LogMessage(int, int, int, int, String) - Constructor for class netcom.log.LogMessage
Constructor Creates new LogMessage used when GUI wants LogEntries and asks by sending this
LogMessage(int, String, String, int, int, Collection, int) - Constructor for class netcom.log.LogMessage
Creates new LogMessage that will be sent back to GUI upon request for stats of mds
LogMessage(int, String, String, int, int, int) - Constructor for class netcom.log.LogMessage
Creates new LogMessage that will be sent back to GUI upon request for stats of proxy
LogMessage(int, String, String, int, Vector) - Constructor for class netcom.log.LogMessage
LogMessage object that Logger will send back to GUI when GUI requests for LogEntries in a specified LogRange
LogPanel - class netcom.gui.LogPanel.
Title: LogPanel
LogPanel() - Constructor for class netcom.gui.LogPanel
Constructor for the LogPanel
LogServer - class netcom.log.LogServer.
Communicates with GUIClient Takes requests from GUI parses them and uses Logger to get the required information.
LogServer() - Constructor for class netcom.log.LogServer
Creates new LogServer
Logable - interface netcom.log.Logable.
interface that is implemented by Logger
Logger - class netcom.log.Logger.
Title: Logger This is a Thread which is initiated by both MDS and proxy nodes.
Logger(LoggerInterface) - Constructor for class netcom.log.Logger
This is the constructor for a Logger thread.
LoggerInterface - interface netcom.log.LoggerInterface.
Title: LoggerInterface This is an interface used by the Logger to request for data about the MDS/proxy node.
label - Variable in class netcom.gui.MultiLineLabel
 
last() - Method in class netcom.gui.TabPanel
Select the last card in the Panel.
layout() - Method in class netcom.gui.TabPanel
Computes tab geometry while laying out the panels components.
layoutContainer(Container) - Method in class netcom.gui.ConsoleLayout
 
ldap_comm - Variable in class netcom.mds.AbstractShareTask
reference to an ldap communicator object to use for communications with other nodes (BloomUpdates)
line_ascent - Variable in class netcom.gui.MultiLineLabel
 
line_height - Variable in class netcom.gui.MultiLineLabel
 
line_widths - Variable in class netcom.gui.MultiLineLabel
 
lines - Variable in class netcom.gui.MultiLineLabel
 
logout(String) - Method in class netcom.proxy.HandleXMLTask
Method to handle a logout XML message(Element child

M

MAX_BITMASK_SUM - Static variable in class netcom.gui.Tree
 
MAX_FAILURES - Static variable in class netcom.util.Props
 
MD5 - class netcom.util.MD5.
Implementation of RSA's MD5 hash generator
MD5() - Constructor for class netcom.util.MD5
Class constructor
MD5(Object) - Constructor for class netcom.util.MD5
Initialize class, and update hash with ob.toString()
MDS - class netcom.mds.MDS.
Title: MDS
MDS() - Constructor for class netcom.mds.MDS
Constructor for an MDS Node.
MDSCLI - class netcom.mds.MDSCLI.
Title: MDS CLI
MDSCLI(MDS) - Constructor for class netcom.mds.MDSCLI
Constructor for MDSCLI, used to keep references upon shutdown
MDSProxy - class netcom.proxy.MDSProxy.
Title: MDS Proxy
MDSProxy() - Constructor for class netcom.proxy.MDSProxy
Constructor
MDS_BLOOM_MAX_UDP_BYTES - Static variable in class netcom.util.Props
This is a constant necessary for the internal working of the Bloom Search Algorithm It effects Datagram packet size
MDS_BLOOM_PORT - Static variable in class netcom.util.Props
This is the port a MDS Node listens for Bloom Datagram Packets **NOTE** This number actually uses 2 ports, so an input of 5005 will require locak sockets 5005 and 5006 to be available!
MDS_FRIENDS_COUNT_THRESHOLD - Static variable in class netcom.util.Props
This is the minimum number of "friends" an MDS Node will have before it polls to get more friends
MDS_MAX_FRIENDS_COUNT - Static variable in class netcom.util.Props
This is the number of friends an MDS Node will try to get when polling for new friends
MDS_MDS_SERVER_PORT - Static variable in class netcom.util.Props
This is the port which a MDS Node listens on for other MDS Nodes (friends)
MDS_OUTSIDE_SERVER_PORT - Static variable in class netcom.util.Props
This is the port which a MDS Node listens on for MDSProxy connections
MDS_USE_BLOOM_SEARCH - Static variable in class netcom.util.Props
This determines if the Bloom Search method is used.
Msgbox - class netcom.gui.Msgbox.
Title: Msgbox
Msgbox(Frame, boolean, String, String, int, int) - Constructor for class netcom.gui.Msgbox
 
Msgbox(Frame, boolean, String, String, int) - Constructor for class netcom.gui.Msgbox
 
Msgbox(Frame, boolean, String, String) - Constructor for class netcom.gui.Msgbox
 
Msgbox(Frame, boolean) - Constructor for class netcom.gui.Msgbox
 
MultiLineLabel - class netcom.gui.MultiLineLabel.
A custom component that displays multiple lines of text with specified margins and alignment.
MultiLineLabel(String, int, int, int) - Constructor for class netcom.gui.MultiLineLabel
 
MultiLineLabel(String, int, int) - Constructor for class netcom.gui.MultiLineLabel
 
MultiLineLabel(String, int) - Constructor for class netcom.gui.MultiLineLabel
 
MultiLineLabel(String) - Constructor for class netcom.gui.MultiLineLabel
 
MultiLineLabel() - Constructor for class netcom.gui.MultiLineLabel
 
main(String[]) - Static method in class netcom.gui.LogConsole
Main Methods
main(String[]) - Static method in class netcom.gui.Msgbox
 
main(String[]) - Static method in class netcom.gui.Properties
 
main(String[]) - Static method in class netcom.mds.Demo
 
main(String[]) - Static method in class netcom.mds.MDSCLI
Starts up MDS objects and runs the CLI Takes as an argument the local IP (real ip or dns, NOT localhost) This also takes many other utility arguments that save props file modification but if the utility arguments are to be passed, All arguments are read into their slot according to their order (ie can't ONLY pass the 2nd and 4th argument) We MUST take the local IP from the user...
main(String[]) - Static method in class netcom.proxy.MDSProxy
Main method, starts program
main(String[]) - Static method in class netcom.util.SortedVector
 
makeEmpty() - Method in class netcom.log.QueueAr
Make the queue logically empty.
margin - Variable in class netcom.gui.TabPanel
The width of the margins around the cards.
margin_height - Variable in class netcom.gui.MultiLineLabel
 
margin_width - Variable in class netcom.gui.MultiLineLabel
 
max_width - Variable in class netcom.gui.MultiLineLabel
 
mdsproxy_originator - Variable in class netcom.mds.SearchRequest
This is a socketaddress giving the information of where the mdsproxy is which originated the request
measure() - Method in class netcom.gui.MultiLineLabel
This internal method figures out how the font is, and how wide each line of the label is, and how wide the widest line is.
measured - Variable in class netcom.gui.MultiLineLabel
 
minimumLayoutSize(Container) - Method in class netcom.gui.ConsoleLayout
 
minimumSize() - Method in class netcom.gui.MultiLineLabel
This method is called when the layout manager wants to know the bare minimum amount of space we need to get by.
minimumSize() - Method in class netcom.gui.Tree
 
minimumSize() - Method in class netcom.gui.TreePanel
 
minimumSize() - Method in class netcom.gui.hGrid
 
mouseClicked(MouseEvent) - Method in class netcom.gui.CButton
 
mouseClicked(MouseEvent) - Method in class netcom.gui.Grid
 
mouseClicked(MouseEvent) - Method in class netcom.gui.ShortCutPanel
 
mouseClicked(MouseEvent) - Method in class netcom.gui.TabPanel
 
mouseClicked(MouseEvent) - Method in class netcom.gui.Tree
 
mouseClicked(MouseEvent) - Method in class netcom.gui.hGrid
 
mouseDragged(MouseEvent) - Method in class netcom.gui.Grid
 
mouseDragged(MouseEvent) - Method in class netcom.gui.hGrid
 
mouseEntered(MouseEvent) - Method in class netcom.gui.CButton
 
mouseEntered(MouseEvent) - Method in class netcom.gui.Grid
 
mouseEntered(MouseEvent) - Method in class netcom.gui.ShortCutPanel
 
mouseEntered(MouseEvent) - Method in class netcom.gui.TabPanel
 
mouseEntered(MouseEvent) - Method in class netcom.gui.Tree
 
mouseEntered(MouseEvent) - Method in class netcom.gui.hGrid
 
mouseExited(MouseEvent) - Method in class netcom.gui.CButton
 
mouseExited(MouseEvent) - Method in class netcom.gui.Grid
 
mouseExited(MouseEvent) - Method in class netcom.gui.ShortCutPanel
 
mouseExited(MouseEvent) - Method in class netcom.gui.TabPanel
 
mouseExited(MouseEvent) - Method in class netcom.gui.Tree
 
mouseExited(MouseEvent) - Method in class netcom.gui.hGrid
 
mouseMoved(MouseEvent) - Method in class netcom.gui.Grid
 
mouseMoved(MouseEvent) - Method in class netcom.gui.hGrid
 
mousePressed(MouseEvent) - Method in class netcom.gui.CButton
 
mousePressed(MouseEvent) - Method in class netcom.gui.Grid
 
mousePressed(MouseEvent) - Method in class netcom.gui.ShortCutPanel
 
mousePressed(MouseEvent) - Method in class netcom.gui.TabPanel
 
mousePressed(MouseEvent) - Method in class netcom.gui.Tree
 
mousePressed(MouseEvent) - Method in class netcom.gui.hGrid
 
mouseReleased(MouseEvent) - Method in class netcom.gui.CButton
 
mouseReleased(MouseEvent) - Method in class netcom.gui.Grid
 
mouseReleased(MouseEvent) - Method in class netcom.gui.ShortCutPanel
 
mouseReleased(MouseEvent) - Method in class netcom.gui.TabPanel
 
mouseReleased(MouseEvent) - Method in class netcom.gui.Tree
 
mouseReleased(MouseEvent) - Method in class netcom.gui.hGrid
 

N

NOCHILDREN - Static variable in class netcom.gui.Tree
 
NODE_EXITED - Static variable in class netcom.log.Logger
 
NODE_NAME - Static variable in class netcom.util.Props
This is the 'nice' name a user can give to a node
NODE_STARTED - Static variable in class netcom.log.Logger
 
NONE - Variable in class netcom.gui.StatusPanel
 
NodeData - class netcom.gui.NodeData.
Title:
NodeData() - Constructor for class netcom.gui.NodeData
Creates new NodeData
NodeEntry - class netcom.util.NodeEntry.
New data type that contains information about an MDSCloud Node ( MDS or MDSProxy) Contains a set of accessor/modifier methods in order to handle every field that is needs to be stored on LDAP
NodeEntry(String, String, int, int, int, int) - Constructor for class netcom.util.NodeEntry
 
name_list_pairs - Variable in class netcom.mds.AbstractShare
A array of Lists used to see if a share matches a SearchRequest.
name_list_pairs - Variable in class netcom.mds.SearchRequest
This is the List array which holds all the name list pairs.
netcom.gui - package netcom.gui
 
netcom.log - package netcom.log
 
netcom.mds - package netcom.mds
 
netcom.proxy - package netcom.proxy
 
netcom.util - package netcom.util
 
newLabel() - Method in class netcom.gui.MultiLineLabel
This internal method breaks a specified label up into an array of lines.
new_share - Variable in class netcom.mds.AddShareRequest
This is the share which will be added to a PSData object
next() - Method in class netcom.gui.TabPanel
Select the next card in the Panel.
nextSetBit(BitSet, int) - Static method in class netcom.util.Util
This is a method to implement a java 1.4 method using java 1.3 calls See 1.4 docs for Bitset.nextSetBit()
node_entry - Variable in class netcom.gui.NodeData
object retrieved from LDAP
node_statistics - Variable in class netcom.gui.NodeData
object received from a node
normal - Variable in class netcom.gui.NodeData
if failed to connect to a node
num_lines - Variable in class netcom.gui.MultiLineLabel
 

O

OPENED - Static variable in class netcom.gui.Tree
 
OVER_ERROR - Variable in class netcom.gui.Tree
 
Overflow - exception netcom.log.Overflow.
the QueueAr class used for the FIleWriterThread and FileReaderThread classes needs this class Exception class for access in full containers such as stacks, queues, and priority queues.
Overflow() - Constructor for class netcom.log.Overflow
 
object_streams - Variable in class netcom.proxy.HandleOutsideSockets
Reference/pointer to MDSProxy object_streams to MDS from PServer
orig_search_id - Variable in class netcom.mds.ReturnRequest
 
originator_name - Variable in class netcom.mds.SearchRequest
This is the login name of the PClient which created this request
outgoing_sockets_ptr - Variable in class netcom.proxy.HandleOutsideConnections
Reference/pointer to outgoing_ps_sockets List in MDSProxy
outgoing_sockets_ptr - Variable in class netcom.proxy.HandleOutsideSockets
Reference/pointer to the MDSProxy outgoing_ps_sockets Map
owner - Variable in class netcom.gui.ToolTip
 

P

PROXY_MDS_SERVER_PORT - Static variable in class netcom.util.Props
This is the port which a MDSProxy listens to for MDS Node connections
PROXY_OUTSIDE_SERVER_PORT - Static variable in class netcom.util.Props
This is the port which a MDSProxy listens on for PClient or PServer Connections
PSData - class netcom.mds.PSData.
Title: PSData
PSData(String) - Constructor for class netcom.mds.PSData
Constructor for PSData
ProgressBar - class netcom.gui.ProgressBar.
Title: ProgressBar
ProgressBar() - Constructor for class netcom.gui.ProgressBar
 
ProgressBar(int) - Constructor for class netcom.gui.ProgressBar
 
Properties - class netcom.gui.Properties.
Title: Properties
Properties(Frame, boolean) - Constructor for class netcom.gui.Properties
Constructor for the class
Properties(Frame, boolean, String) - Constructor for class netcom.gui.Properties
 
Props - class netcom.util.Props.
Title: NETCOM Properties
Props() - Constructor for class netcom.util.Props
 
pList - Variable in class netcom.gui.LogConsole
 
pLog - Variable in class netcom.gui.LogConsole
 
pTree - Variable in class netcom.gui.LogConsole
 
paint(Graphics) - Method in class netcom.gui.BorderPanel
 
paint(Graphics) - Method in class netcom.gui.CButton
 
paint(Graphics) - Method in class netcom.gui.CImage
 
paint(Graphics) - Method in class netcom.gui.Grid
 
paint(Graphics) - Method in class netcom.gui.HBar
 
paint(Graphics) - Method in class netcom.gui.LabelPanel
 
paint(Graphics) - Method in class netcom.gui.MultiLineLabel
This method draws the label (same method that applets use).
paint(Graphics) - Method in class netcom.gui.ProgressBar
 
paint(Graphics) - Method in class netcom.gui.ShortCutPanel
 
paint() - Method in class netcom.gui.StatusButton
 
paint(Graphics) - Method in class netcom.gui.StatusPanel
 
paint(Graphics) - Method in class netcom.gui.TabPanel
Paint the tabs in a row atop the cards.
paint(Graphics) - Method in class netcom.gui.ToolTip
 
paint(Graphics) - Method in class netcom.gui.Tree
 
paint(Graphics) - Method in class netcom.gui.hGrid
 
parseProperties(Properties) - Static method in class netcom.util.Props
Static method which takes a java.util.Properties object and parses out any netcom.util.Properties values
parseToXML(ReturnRequest) - Method in class netcom.proxy.HandleReturnTask
Method to parse a returned request back to XML a PClient can understand, then sends it on with sendReturn()
parseXML(BufferedInputStream) - Method in class netcom.proxy.HandleXMLTask
Major method to parse an XML stream (socket) and then call the appropriate other functions to handle the XML message.
parseXMLAuth() - Method in class netcom.proxy.HandleXMLTask
PClients and PServers that are logged in get put in a list that is polled for xml data.
peek() - Method in class netcom.util.SQueue
Get object reference from the head of the queue without dequeueing it
preferredLayoutSize(Container) - Method in class netcom.gui.ConsoleLayout
 
preferredSize() - Method in class netcom.gui.MultiLineLabel
This method is called by a layout manager when it wants to know how big we'd like to be.
preferredSize() - Method in class netcom.gui.Tree
 
preferredSize() - Method in class netcom.gui.TreePanel
 
preferredSize() - Method in class netcom.gui.hGrid
 
previous() - Method in class netcom.gui.TabPanel
Select the previous card in the Panel.
print() - Method in class netcom.log.LogEntry
print method for LogEtry...
printout() - Method in class netcom.util.SortedVector
 
prop - Variable in class netcom.gui.hGrid
 
ps_name - Variable in class netcom.mds.AbstractShare
This is the name of the PServer which created and owns this share
ps_name - Variable in class netcom.mds.PSData
This is a String representing the name of the PServer
psdata - Variable in class netcom.mds.AbstractShareTask
the correct PSData to be adding this share to
put(Object) - Method in class netcom.util.Queue
 

Q

QUESTION - Static variable in class netcom.gui.Msgbox
 
Queue - class netcom.util.Queue.
 
Queue() - Constructor for class netcom.util.Queue
 
QueueAr - class netcom.log.QueueAr.
This class was made availible in DataStructures...
QueueAr() - Constructor for class netcom.log.QueueAr
Construct the queue.
QueueAr(int) - Constructor for class netcom.log.QueueAr
Construct the queue.

R

RED - Variable in class netcom.gui.StatusButton
 
RED - Variable in class netcom.gui.StatusPanel
 
RIGHT - Static variable in class netcom.gui.Msgbox
 
RIGHT - Static variable in class netcom.gui.MultiLineLabel
 
RemoveShareRequest - class netcom.mds.RemoveShareRequest.
Title: Remove Share Request
RemoveShareRequest(String, AbstractShare) - Constructor for class netcom.mds.RemoveShareRequest
Constructor to create a request which removes a share from a PServer (PSData objects)
RemoveShareTask - class netcom.mds.RemoveShareTask.
Title: Remove Share Task
RemoveShareTask(RemoveShareRequest, PSData, Map, LDAPCommunicator, NodeEntry) - Constructor for class netcom.mds.RemoveShareTask
Constructs a task to remove a share from a matching PSData in the Map of PSDatas
ReturnRequest - class netcom.mds.ReturnRequest.
Title: Return Request
ReturnRequest(SearchRequest, AbstractShare[]) - Constructor for class netcom.mds.ReturnRequest
Constructor for a ReturnRequest which takes all the necessary internal information to form a working ReturnRequest
read() - Method in class netcom.util.WrappedInputStream
Reads a single byte.
read(byte[], int, int) - Method in class netcom.util.WrappedInputStream
Reads a block of bytes and returns the total number of bytes read.
readSockets() - Method in class netcom.proxy.HandleOutsideSockets
Loops through, polling all sockets for data, processes data into a task
rebuild() - Method in class netcom.gui.LogConsole
 
rebuildBloom(Map) - Method in class netcom.mds.AbstractShareTask
Time-intensive method to rebuild a BloomFilter from scratch with all PSDatas on the MDS node.
refresh() - Method in class netcom.gui.LogConsole
refreshes the data
refresh() - Method in class netcom.gui.LogPanel
Refresh the panel, Puts appropriate info/stat in it
refresh() - Method in class netcom.gui.TreePanel
rebuild the content of the tree
remove(Component) - Method in class netcom.gui.TabPanel
remove the card, component, from the TabPanel.
remove(String) - Method in class netcom.gui.TabPanel
remove the card having the given name from the TabPanel.
removeAll() - Method in class netcom.gui.Grid
 
removeAll() - Method in class netcom.gui.TabPanel
remove all cards from the TabPanel.
removeAll() - Method in class netcom.gui.Tree
 
removeAuthenticationEntry(AuthenticationEntry) - Method in class netcom.util.LDAPCommunicator
Removes username/password pair if it already exists
removeFolderBitmaskFlag(String, int) - Method in class netcom.gui.Tree
 
removeLayoutComponent(Component) - Method in class netcom.gui.ConsoleLayout
 
removeNodeEntry(NodeEntry) - Method in class netcom.util.LDAPCommunicator
Removes PClient/PServer node from LDAP if it already exists
removeShare(AbstractShare) - Method in class netcom.mds.PSData
Removes a share from the PSData inventory
removed_share - Variable in class netcom.mds.RemoveShareRequest
This is the share which stands to be removed
resetScroll() - Method in class netcom.gui.Grid
 
resetSelection() - Method in class netcom.gui.Grid
 
resetSelection() - Method in class netcom.gui.ListPanel
 
reshape(int, int, int, int) - Method in class netcom.gui.Grid
 
reshape(int, int, int, int) - Method in class netcom.gui.Tree
 
reshape(int, int, int, int) - Method in class netcom.gui.hGrid
 
return_shares - Variable in class netcom.mds.ReturnRequest
An Array of AbstractShares is kept to represent many matched shares This is kept as an array and not an object to minimize the size of a ReturnRequest
run() - Method in class netcom.gui.GUIClient
infinetely listens and processes incoming objects
run() - Method in class netcom.log.FileReaderThread
run method inherent to threads keeps on running till die_flag is activated..
run() - Method in class netcom.log.FileWriterThread
run method required for threads....
run() - Method in class netcom.log.LogServer
 
run() - Method in class netcom.log.Logger
the run method first connects to a serverSocket and begins to accept connections from GUI clients.
run() - Method in class netcom.mds.AbstractShareTask
This override run() in Runnable and requires implementing subclasses to define a run/execution method
run() - Method in class netcom.mds.AddShareTask
Override run() in AbstractShareTask, This is where this task begins execution uses object private variables (no parameters allowed (defined by Runnable)) This adds a share to the supplied PServer's PSData.
run() - Method in class netcom.mds.HandleBloomUpdates
This overrides run() in Thread.
run() - Method in class netcom.mds.HandleSocketConnects
This Method is where this thread begins execution This thread just loops, waiting for a new socket connection, and adds it to the given Collection of Sockets
run() - Method in class netcom.mds.MDS
run() overrides run from Thread; execution starts here.
run() - Method in class netcom.mds.RemoveShareTask
Method which begins execution of this task.
run() - Method in class netcom.mds.SearchTask
Overwrites run() method from Thread.
run() - Method in class netcom.proxy.HandleMDSConnections
This Method is where this thread begins execution This thread just loops, waiting for a new socket connection
run() - Method in class netcom.proxy.HandleOutsideConnections
This Method is where this thread begins execution This thread just loops, waiting for a new socket connection, and adds it to the given Collection of Sockets
run() - Method in class netcom.proxy.HandleOutsideSockets
begins the execution of this thread
run() - Method in class netcom.proxy.HandleReturnTask
 
run() - Method in class netcom.proxy.HandleXMLTask
Handles the XML requests from the outside
run() - Method in class netcom.proxy.MDSProxy
 
run() - Method in class netcom.util.ThreadPoolThread
 
runRunnable(Runnable) - Method in class netcom.util.ThreadPool
 

S

SEARCH_REQUEST - Static variable in class netcom.log.Logger
 
SERVER_CONNECTED - Static variable in class netcom.log.Logger
 
SERVER_DISCONNECTED - Static variable in class netcom.log.Logger
 
SHOWN - Static variable in class netcom.gui.Tree
 
SINGLE_RETURN_SENT - Static variable in class netcom.log.Logger
 
SQueue - class netcom.util.SQueue.
implements a FIFO queue of Objects
SQueue() - Constructor for class netcom.util.SQueue
Creates new Queue
SQueue(int) - Constructor for class netcom.util.SQueue
 
STATISTICS - Static variable in class netcom.log.LogMessage
 
SearchRequest - class netcom.mds.SearchRequest.
Title: Search Request
SearchRequest(String, String, AddressPort, String, String, List[]) - Constructor for class netcom.mds.SearchRequest
This created a SearchRequest representing a PClient asking the MDS cloud to do a search for shares matching name-list-pairs provided.
SearchTask - class netcom.mds.SearchTask.
Title: Search Task
SearchTask(SearchRequest, Collection, Collection, Map, Map, AddressPort, Map) - Constructor for class netcom.mds.SearchTask
The search task is created by providing ALL references it needs to complete the task, which it stored internally, and uses when run().
ShortCutPanel - class netcom.gui.ShortCutPanel.
Title: ShortCutPanel
ShortCutPanel(LogConsole) - Constructor for class netcom.gui.ShortCutPanel
 
SortedVector - class netcom.util.SortedVector.
 
SortedVector() - Constructor for class netcom.util.SortedVector
 
StatusButton - class netcom.gui.StatusButton.
Title: StatusButton
StatusButton(Applet) - Constructor for class netcom.gui.StatusButton
Creates new StatusButton
StatusPanel - class netcom.gui.StatusPanel.
Title: StatusPanel
StatusPanel() - Constructor for class netcom.gui.StatusPanel
Creates new form StatusPanel
scan(SQueue.Scanner) - Method in class netcom.util.SQueue
lock and scan queue.
search_id - Variable in class netcom.mds.SearchRequest
This is the search ID as given from the PClient and parsed from the XML
sendCompleteUpdate() - Method in class netcom.mds.AbstractShareTask
Method to send a BloomUpdate which represents a complete BloomFilter to all nodes This complete bloom filter is sent after N many updates to compensate for the error of normal BloomUpdates
sendError(Document) - Method in class netcom.proxy.HandleXMLTask
Method to send and Error back to an originating socket (PClient or PServer)
sendPServerRequest(AbstractRequest) - Method in class netcom.proxy.HandleXMLTask
Method to send a PServer request to a MDS node
sendReturn(Document, Socket) - Method in class netcom.proxy.HandleReturnTask
Method to send an XML string to an originating socket
sendSearchRequest(SearchRequest) - Method in class netcom.proxy.HandleXMLTask
Method to send a search request to a MDS node, ie open a socket, send, then drop it
sendUpdateToAll(BloomUpdate) - Method in class netcom.mds.AbstractShareTask
Method to send a BloomUpdate to all other MDS Nodes by contacting LDAP for a listing
set(BitSet, int, boolean) - Static method in class netcom.util.Util
This is a method to implement a java 1.4 method using java 1.3 calls See 1.4 docs for BitSet.set()
setAlignment(int) - Method in class netcom.gui.MultiLineLabel
 
setBounds(int, int, int, int) - Method in class netcom.gui.Grid
 
setCallback(Component) - Method in class netcom.gui.hGrid
 
setClosable(boolean) - Method in class netcom.gui.Grid
 
setClosable(boolean) - Method in class netcom.gui.TabPanel
 
setClosable(boolean) - Method in class netcom.gui.Tree
 
setCurrent(int) - Method in class netcom.gui.StatusButton
 
setData() - Method in class netcom.gui.Properties
Creates a property list
setDataCount(int) - Method in class netcom.util.NodeEntry
 
setDataPath(String) - Method in class netcom.gui.LogConsole
Sets the current path
setDataPath(String) - Method in class netcom.gui.LogPanel
set the current path of the info to show
setDataPath(String) - Method in class netcom.gui.TreePanel
Selectes the specified line
setFailureCount(int) - Method in class netcom.util.NodeEntry
 
setFolderBitmask(String, int) - Method in class netcom.gui.Tree
 
setFont(Font) - Method in class netcom.gui.HBar
 
setFont(Font) - Method in class netcom.gui.MultiLineLabel
 
setForBrowse(boolean) - Method in class netcom.gui.Tree
 
setForeground(Color) - Method in class netcom.gui.MultiLineLabel
 
setHead(String[]) - Method in class netcom.gui.Grid
 
setHead(String[]) - Method in class netcom.gui.hGrid
 
setImage(Image) - Method in class netcom.gui.CButton
 
setImage(Image) - Method in class netcom.gui.CImage
 
setLDAPRefresh(boolean) - Method in class netcom.gui.LogConsole
turns on/off auto update
setLDAPTimeout(int) - Method in class netcom.gui.LogConsole
sets auto update timeout
setLabel(String) - Method in class netcom.gui.MultiLineLabel
 
setLabel(String, String) - Method in class netcom.gui.TabPanel
Add a card, component, to the TabPanel with a given name.
setLight(int) - Method in class netcom.gui.StatusPanel
 
setLights(String) - Method in class netcom.gui.StatusPanel
 
setMarginHeight(int) - Method in class netcom.gui.MultiLineLabel
 
setMarginWidth(int) - Method in class netcom.gui.MultiLineLabel
 
setMaxIndent(int) - Method in class netcom.gui.Tree
 
setMessage(String) - Method in class netcom.gui.StatusPanel
 
setMinimumSize(Dimension) - Method in class netcom.gui.Grid
 
setMinimumSize(Dimension) - Method in class netcom.gui.TabPanel
 
setMinimumSize(Dimension) - Method in class netcom.gui.Tree
 
setMinimumSize(Dimension) - Method in class netcom.gui.hGrid
 
setPClientCount(int) - Method in class netcom.util.NodeEntry
 
setPath(String) - Method in class netcom.gui.Grid
 
setSelectable(boolean) - Method in class netcom.gui.Grid
 
setSelected(String) - Method in class netcom.gui.Tree
 
setSessionID(int) - Method in class netcom.gui.Grid
 
setShowGrid(boolean) - Method in class netcom.gui.Grid
 
setSizes(int, double) - Method in class netcom.gui.ConsoleLayout
 
setStatus(String) - Method in class netcom.gui.StatusPanel
 
setTabFont(Font) - Method in class netcom.gui.TabPanel
Specify the Font to be used for labeling the Tabs.
setTag(String) - Method in class netcom.gui.CButton
 
setTag(String) - Method in class netcom.gui.Grid
 
setToEnd(boolean) - Method in class netcom.gui.Grid
 
setValue(int) - Method in class netcom.gui.ProgressBar
 
setVertScrollValue(int) - Method in class netcom.gui.Tree
 
setWrappable(boolean) - Method in class netcom.gui.Grid
 
setname(String[]) - Method in class netcom.mds.MDSCLI
This is a function used by runCLI to handle the user setting the MDS Node name
share_name - Variable in class netcom.mds.AbstractShare
This is the name of the Share
shares_mod_count - Static variable in class netcom.mds.AbstractShareTask
count for how many times a share has been modified, might be used later to improve the bloom filter algorithm to more exact...
show(String) - Method in class netcom.gui.TabPanel
Select the named card in the Panel.
show(Component) - Method in class netcom.gui.TabPanel
Select the card component in the Panel.
size - Variable in class netcom.mds.FileShare
A String that represnts the size of the FileShare
skip(long) - Method in class netcom.util.WrappedInputStream
Skips the specified number of bytes from the input stream.
socket_collection_ptr - Variable in class netcom.mds.HandleSocketConnects
Reference/pointer to connections_sockets Map in MDS
socket_collection_ptr - Variable in class netcom.proxy.HandleMDSConnections
Reference/pointer to incoming_out_sockets List in MDSProxy
socket_collection_ptr - Variable in class netcom.proxy.HandleOutsideConnections
Reference/pointer to incoming_out_sockets List in MDSProxy
socket_originator - Variable in class netcom.mds.AbstractRequest
This is the Socket.toString() connecting a PClient to the MDSProxy which originated the request, (It must be .toString() because Socket will not Serialize)
source - Variable in class netcom.mds.AbstractShare
Socket of the PServer who has the share.

T

THREADPOOL_THREAD_COUNT - Static variable in class netcom.util.Props
This is the number of threads to be placed in each threadpool
TYPE_ALL - Static variable in class netcom.util.Props
 
TYPE_MDS - Static variable in class netcom.util.Props
 
TYPE_PCLIENT - Static variable in class netcom.util.Props
 
TYPE_PROXY - Static variable in class netcom.util.Props
 
TYPE_PSERVER - Static variable in class netcom.util.Props
 
TabPanel - class netcom.gui.TabPanel.
TabPanel is a container for a set of tabbed cards, lying atop each other, but with the labelled tabs exposed at the top.
TabPanel() - Constructor for class netcom.gui.TabPanel
Creates an empty TabPanel.
ThreadPool - class netcom.util.ThreadPool.
 
ThreadPool(int) - Constructor for class netcom.util.ThreadPool
 
ThreadPoolThread - class netcom.util.ThreadPoolThread.
 
ToolTip - class netcom.gui.ToolTip.
Title: ToolTip
ToolTip(String, Component) - Constructor for class netcom.gui.ToolTip
 
ToolTip(String, Component, Rectangle) - Constructor for class netcom.gui.ToolTip
 
Tree - class netcom.gui.Tree.
Title: Tree
Tree() - Constructor for class netcom.gui.Tree
 
Tree(int) - Constructor for class netcom.gui.Tree
 
TreePanel - class netcom.gui.TreePanel.
Title: TreePanel
TreePanel() - Constructor for class netcom.gui.TreePanel
Constructor for TreePanel Initializes all the components
thread_pool_ptr - Variable in class netcom.proxy.HandleMDSConnections
Reference/pointer to parse_pool in MDSProxy
thread_pool_ptr - Variable in class netcom.proxy.HandleOutsideConnections
Reference/pointer to outgoing_ps_sockets List in MDSProxy
time - Variable in class netcom.gui.NodeData
timestamp when the last update was received
tip - Variable in class netcom.gui.ToolTip
 
toString() - Method in class netcom.util.AddressPort
Override toString() in object
toString() - Method in class netcom.util.BloomUpdate
toString() method for debugging purposes
tree_folder_status - Variable in class netcom.gui.Tree
 

U

Update(MD5State, byte[], int, int) - Method in class netcom.util.MD5
Updates hash with the bytebuffer given (using at maximum length bytes from that buffer)
Update(byte[], int, int) - Method in class netcom.util.MD5
Plain update, updates this object
Update(byte[], int) - Method in class netcom.util.MD5
 
Update(byte[]) - Method in class netcom.util.MD5
Updates hash with given array of bytes
Update(byte) - Method in class netcom.util.MD5
Updates hash with a single byte
Update(String) - Method in class netcom.util.MD5
Update buffer with given string.
Update(int) - Method in class netcom.util.MD5
Update buffer with a single integer (only & 0xff part is used, as a byte)
Util - class netcom.util.Util.
This class contains static utility methods used throughout the program
Util() - Constructor for class netcom.util.Util
 
update() - Method in class netcom.gui.Grid
 
update(Graphics) - Method in class netcom.gui.Grid
 
update(Graphics) - Method in class netcom.gui.TabPanel
Update (repaint) the TabPanel.
update() - Method in class netcom.gui.Tree
 
update(Graphics) - Method in class netcom.gui.hGrid
 
updateBloom(AbstractShare) - Method in class netcom.mds.AbstractShareTask
Method to update the local BloomFilter with the new added share.
updateFilter(BloomUpdate) - Method in class netcom.util.BloomFilter
This method updates this bloom filter according to a supplied BloomUpdate object (ie flips the appropriate bits)
updateNodeEntry(NodeEntry) - Method in class netcom.util.LDAPCommunicator
Modifies PClient/PServer node on LDAP if it already exists

V

vData - Variable in class netcom.gui.Tree
 

W

WrappedInputStream - class netcom.util.WrappedInputStream.
This input stream works in conjunction with the WrappedOutputStream to introduce a protocol for reading arbitrary length data in a uniform way.
WrappedInputStream(InputStream) - Constructor for class netcom.util.WrappedInputStream
Constructs a wrapper for the given an input stream.
WrappedOutputStream - class netcom.util.WrappedOutputStream.
This output stream works in conjunction with the WrappedInputStream to introduce a protocol for sending arbitrary length data in a uniform way.
WrappedOutputStream(OutputStream) - Constructor for class netcom.util.WrappedOutputStream
Constructs a wrapper for the given output stream.
WrappedOutputStream(OutputStream, int) - Constructor for class netcom.util.WrappedOutputStream
Constructs a wrapper for the given output stream with the given buffer size.
waitForConnection() - Method in class netcom.proxy.HandleMDSConnections
Method to wait for connections and then process them
waitForConnection() - Method in class netcom.proxy.HandleOutsideConnections
Method to wait for connections and then process them
write(int) - Method in class netcom.util.WrappedOutputStream
Writes a single byte to the output.
write(byte[], int, int) - Method in class netcom.util.WrappedOutputStream
Writes an array of bytes to the output.

Y

YELLOW - Variable in class netcom.gui.StatusPanel
 
yaup_message_id - Variable in class netcom.mds.ReturnRequest
This is the original searches yaup_message_id
yaup_message_id - Variable in class netcom.mds.SearchRequest
This is the YAUP Message ID of the original XML request

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