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

A

abort() - Method in class edu.UCL.xmiddle.framework.controller.Acknowledger
Aborts the execution of the Acknowledger.
abort() - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Aborts the execution of the protocol (in case for example of a network disconnection).
abort() - Method in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Aborts the protocol's execution (in case of network disconnection for example)
abort() - Method in class edu.UCL.xmiddle.controller.UDPAcknowledger
Aborts the execution of the acknowledger.
abort() - Method in class edu.UCL.xmiddle.lib.protocols.SimpleProtocolChooser
Aborts the execution of the ProtocolChooser and the protocol if it is not running.
abort() - Method in class edu.UCL.xmiddle.lib.protocols.Reconciliation
Aborts the protocol session
abort() - Method in class edu.UCL.xmiddle.lib.protocols.Linking
Immediatly aborts execution of the protocol
AccessPolicy - interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy.
AccessPolicy.java AccessPolicy represents the access policy that an application's data tree has and it defines an interface for allowing an application to get, set or change the access policy that an element in its document has.
Acknowledger - class edu.UCL.xmiddle.framework.controller.Acknowledger.
Acknowledger.java Acknowledger is a mechanism used by the networking module of xmiddle to make sure that information has been sent/received to/by another host.
Acknowledger(long, int) - Constructor for class edu.UCL.xmiddle.framework.controller.Acknowledger
Initialises the acknowledger
actionPerformed(ActionEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
actionPerformed(ActionEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
actionPerformed(ActionEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
actionPerformed(ActionEvent) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Responds to ActionEvent
actionPerformed(ActionEvent) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Responds to ActionEvents.
ACTIVE - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Denotes an active protocol session (protocol is running)
ACTIVE - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Denotes an active session
activeSessions - Variable in class edu.UCL.xmiddle.framework.controller.Network
Contains the active ProtocolChooser sessions, as registered with the registerSession() call
addArrays(byte[], byte[]) - Static method in class edu.UCL.utils.Utilities
Adds two arrays of bytes.
addEdition(String, Branch) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
addEdition(String, Branch) - Method in class edu.UCL.xmiddle.tree.LatestTree
Adds an Edition to the Tree.
addEdition(String, Version, Element) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
addEdition(String, Version, Element) - Method in class edu.UCL.xmiddle.tree.LatestTree
Add an edition to the Tree.
addElement(Object) - Method in class edu.UCL.utils.Queue
Appends an element to the queue
addExport(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Denotes that the given element is available for linking.
addExport(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Adds a new export.
addExport(String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Denotes that the given element is available for linking.
addExport(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Adds a new export.
addHostListener(Host, HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object needs to be notified when the given Host is in reach or out of reach
addHostListener(Host, HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Adds a HostListener object for the given Host object.
addHostListener(HostListener) - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Registers a general HostListener with this LocalHost.
addHostListener(HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object needs to be notified when any Host becomes in reach or out of reach.
addHostListener(HostListener) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Registers a general HostListener with this LocalHost.
addHostListener(HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Adds a HostListener object.
addHostListener(Object, HostListener) - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Registers a HostListener with the localhost.
addHostListener(Object, HostListener) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Registers a HostListener with this LocalHost.
addHostListenerPrimID(Object, HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object needs to be notified when the given Host is in reach or out of reach
addHostListenerPrimID(Object, HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Adds a HostListener object for the Host object identified by the given primary ID.
addHostListenerSecID(Object, HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object needs to be notified when the given Host is in reach or out of reach
addHostListenerSecID(Object, HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Adds a HostListener object for the Host object identified by the given primary ID.
addLinkedBy(Object, Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Adds another entry to the linked by table (a host has linked to an element)
addLinkedBy(Object, Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Adds a new entry to the link table to signify that a given element was linked by a given host
addLinkedBy(Object, String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Add another entry to the linked By table (a host has linked to an element)
addLinkedBy(Object, String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Adds a new entry to the link table to signify that a given element was linked by a given host
addLinkedFrom(Object, String, Element, Integer, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Adds another entry to the linked from table (the local host has linked to a remote element)
addLinkedFrom(Object, String, Element, Integer, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the local host has linked an element from a remote host, and adds that to the linktable.
addLinkedFrom(Object, String, String, Integer, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Adds another entry to the linked from table (the local host has linked to a remote element)
addLinkedFrom(Object, String, String, Integer, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the local host has linked an element from a remote host, and adds that to the linktable.
Addressbook - class edu.UCL.xmiddle.apps.addressbook.Addressbook.
Addressbook is a sample addressbook application for the xmiddle platform.
Addressbook(int, int, String) - Constructor for class edu.UCL.xmiddle.apps.addressbook.Addressbook
Constructs the application.
addType(String) - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
 
addVersion(String, Element) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
addVersion(String, Element) - Method in class edu.UCL.xmiddle.tree.LatestTree
 
app - Variable in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
 
appendData(byte[]) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Append the given information to the current data.
appendData(byte[]) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
appendData(byte[], int, int) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Append the given information to the current data.
appendData(byte[], int, int) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
appendData(Node) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Append the given information to the current data.
appendData(Node) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
appendData(String) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Append the given information to the current data.
appendData(String) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
appID - Variable in class edu.UCL.xmiddle.framework.tree.Tree
 
ApplicationManager - class edu.UCL.xmiddle.appRegistry.ApplicationManager.
ApplicationManager.java Registers application according to the AppManager guidelines.
ApplicationManager() - Constructor for class edu.UCL.xmiddle.appRegistry.ApplicationManager
Creates a new ApplicationManager instance.
ApplicationProfile - class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile.
ApplicationProfile.java The xmiddle application profile binds together an application along with its access and reconciliation policies, its Document/Tree, its dtd and its XML Schema related to data tree.
ApplicationProfile() - Constructor for class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
 
appManager - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
A reference to the ApplicationManager
AppManager - interface edu.UCL.xmiddle.framework.appRegistry.AppManager.
AppManager.java The xmiddle application manager is responsible for registering applications to the platform, binding them with a unique application ID, and storing them in Application Profiles.
AppProfile - class edu.UCL.xmiddle.appRegistry.AppProfile.
AppProfile.java Stores the application policies, dtd, and Data.
AppProfile(Integer, XApp) - Constructor for class edu.UCL.xmiddle.appRegistry.AppProfile
Creates a new Application profile
areNodesEqual(Node, Node) - Static method in class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
This method compares two nodes (by means of a recursive procedure).
areNodesEqualNotStandard(Node, Node) - Static method in class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
This method compares two nodes (recursive style - alternative implementation).
args - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
The arguments/parameters of this sessions
Arithmetic - class edu.UCL.xmiddle.lib.reconciliation.resolutors.Arithmetic.
The Arithmetic Resolutor.
Arithmetic() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.resolutors.Arithmetic
Constructor.

B

Branch - interface edu.UCL.xmiddle.framework.tree.Branch.
Branch.java Created: Fri Jul 20 14:47:57 2001
branches - Variable in class edu.UCL.xmiddle.framework.tree.Tree
 

C

caller - Variable in class edu.UCL.xmiddle.framework.controller.Network
Holds a reference to the Manager of the platform.
caller - Variable in class edu.UCL.xmiddle.framework.controller.Locator
This is a reference to the Manager object of the platform.
close() - Method in interface edu.UCL.xmiddle.framework.controller.Sender
closes the connection
close() - Method in interface edu.UCL.xmiddle.framework.controller.Listener
Closes the connection
close() - Method in class edu.UCL.xmiddle.controller.UDPSender
Closes the datagram socket.
close() - Method in class edu.UCL.xmiddle.controller.UDPListener
Closes the datagram socket.
close(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that an element previously opened (open()) is no longer being accessed.
close(Element, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Commits the changes performed on the given Element.
compare(Version) - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
compare(Version) - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Compares this version with other
compareTo(Resolutor) - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Compares the priority with a given one.
compareTypes(String, String) - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Compares the priorities of two given resolutors.
Comparison - class edu.UCL.xmiddle.lib.reconciliation.resolutors.Comparison.
The Comparison Resolutor.
Comparison() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.resolutors.Comparison
Constructor.
compute(Document, Document) - Static method in class edu.UCL.xmiddle.lib.treediff.LevelTreeDiff
Compute is the main function of LevelTreeDiff which computes the difference of the two arguments.
connect() - Method in class edu.UCL.xmiddle.framework.controller.Network
Connects to the network (and can receive & send data)
connect() - Method in interface edu.UCL.xmiddle.framework.Manager
Connects to the network.
connect() - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Connects to the network
connect() - Method in class edu.UCL.xmiddle.SimpleManager
Connects to the network.
CONNECTED - Static variable in class edu.UCL.xmiddle.framework.controller.Network
represents the "connected to the network" state
CONNECTED - Static variable in interface edu.UCL.xmiddle.framework.lib.XApp
 
CONNECTED - Static variable in interface edu.UCL.xmiddle.framework.Manager
Signifies that we are currently connected to the network
createDocument() - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
Creates a new XML document for the application based on the dtd defined, and returns it as a Tree
createDocument() - Method in class edu.UCL.xmiddle.appRegistry.AppProfile
Creates a new Tree data document,
createListener(Host, Object) - Method in class edu.UCL.xmiddle.framework.controller.Network
Creates and negotiates a Listener object to receive information from the given Host.
createListener(Host, Object) - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Returns a listener to the given host for the given protocol session.
createNewDocument() - Static method in class edu.UCL.utils.Utilities
Creates a new DOM Document
createSender(Host, Object) - Method in class edu.UCL.xmiddle.framework.controller.Network
Creates and negotiates a Sender object to send information from the given Host.
createSender(Host, Object) - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Not implemented (see createListener)

D

data - Variable in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
The application's data Tree
Data - interface edu.UCL.xmiddle.framework.controller.Data.
Data.java Data is the basic element that is sent and received by the xmiddle networking layer and the Listeners and Senders.
DataPacket - class edu.UCL.xmiddle.controller.DataPacket.
This class represents a data packet, either received from or being sent to another host.
DataPacket(Host, boolean, byte[]) - Constructor for class edu.UCL.xmiddle.controller.DataPacket
Creates a new DataPacket
DataPacket(Host, boolean, Node) - Constructor for class edu.UCL.xmiddle.controller.DataPacket
Creates a new DataPacket
DataPacket(Host, boolean, String) - Constructor for class edu.UCL.xmiddle.controller.DataPacket
Creates a new DataPacket
dataSchema - Variable in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
The XML Schema related to the application's data Tree
dataSchema - Variable in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
 
deleteApplication(Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Deletes the given application.
deleteApplication(Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Currently not implemented
DENY - Static variable in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
No access at all to this element
diff - Variable in class edu.UCL.xmiddle.framework.tree.DiffBranch
 
DiffBranch - class edu.UCL.xmiddle.framework.tree.DiffBranch.
DiffBranch.java Created: Fri Jul 20 14:50:33 2001
DiffBranch() - Constructor for class edu.UCL.xmiddle.framework.tree.DiffBranch
 
disconnect() - Method in class edu.UCL.xmiddle.framework.controller.Network
Explicitly disconnects from the network
disconnect() - Method in interface edu.UCL.xmiddle.framework.Manager
Disconnects from the network.
disconnect() - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Immediatly disconnects from the network, killing all protocols and acknowledgers that are running
disconnect() - Method in class edu.UCL.xmiddle.SimpleManager
Disconnects from the network.
DISCONNECTED - Static variable in class edu.UCL.xmiddle.framework.controller.Network
Represents the "network disconnected" state
DISCONNECTED - Static variable in interface edu.UCL.xmiddle.framework.lib.XApp
 
DISCONNECTED - Static variable in interface edu.UCL.xmiddle.framework.Manager
Signifies that we are currently disconnected from the network.
document - Variable in class edu.UCL.xmiddle.framework.tree.Tree
 

E

edu.UCL.utils - package edu.UCL.utils
 
edu.UCL.xmiddle - package edu.UCL.xmiddle
 
edu.UCL.xmiddle.appRegistry - package edu.UCL.xmiddle.appRegistry
 
edu.UCL.xmiddle.apps.addressbook - package edu.UCL.xmiddle.apps.addressbook
 
edu.UCL.xmiddle.apps.launcher - package edu.UCL.xmiddle.apps.launcher
 
edu.UCL.xmiddle.apps.meeting - package edu.UCL.xmiddle.apps.meeting
 
edu.UCL.xmiddle.apps.shop - package edu.UCL.xmiddle.apps.shop
 
edu.UCL.xmiddle.controller - package edu.UCL.xmiddle.controller
 
edu.UCL.xmiddle.framework - package edu.UCL.xmiddle.framework
 
edu.UCL.xmiddle.framework.appRegistry - package edu.UCL.xmiddle.framework.appRegistry
 
edu.UCL.xmiddle.framework.controller - package edu.UCL.xmiddle.framework.controller
 
edu.UCL.xmiddle.framework.host - package edu.UCL.xmiddle.framework.host
 
edu.UCL.xmiddle.framework.lib - package edu.UCL.xmiddle.framework.lib
 
edu.UCL.xmiddle.framework.lib.protocols - package edu.UCL.xmiddle.framework.lib.protocols
 
edu.UCL.xmiddle.framework.tree - package edu.UCL.xmiddle.framework.tree
 
edu.UCL.xmiddle.host - package edu.UCL.xmiddle.host
 
edu.UCL.xmiddle.lib.protocols - package edu.UCL.xmiddle.lib.protocols
 
edu.UCL.xmiddle.lib.reconciliation - package edu.UCL.xmiddle.lib.reconciliation
 
edu.UCL.xmiddle.lib.reconciliation.resolutors - package edu.UCL.xmiddle.lib.reconciliation.resolutors
 
edu.UCL.xmiddle.lib.treediff - package edu.UCL.xmiddle.lib.treediff
 
edu.UCL.xmiddle.tree - package edu.UCL.xmiddle.tree
 
eval(Node, String) - Static method in class edu.UCL.utils.XPathAPI
Evaluates XPath string to an XObject.
eval(Node, String, Node) - Static method in class edu.UCL.utils.XPathAPI
Evaluates XPath string to an XObject.
execute() - Method in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Starts the protocol execution
execute() - Method in class edu.UCL.xmiddle.lib.protocols.Reconciliation
Starts the protocol execution
execute() - Method in class edu.UCL.xmiddle.lib.protocols.Linking
Starts executing the protocol
executeReconciliation() - Method in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
Debug method ----only for testing----
ExistingSessionIDException - exception edu.UCL.xmiddle.framework.lib.ExistingSessionIDException.
ExistingSessionIDException.java An exception thrown when a protocol session tries to register with a session ID that already exists.
ExistingSessionIDException(String, Object) - Constructor for class edu.UCL.xmiddle.framework.lib.ExistingSessionIDException
Creates a new ExistingSessionIDException instance.
exit() - Method in class edu.UCL.xmiddle.framework.controller.Network
Signifies that the platform is about to stop operating.
exit() - Method in class edu.UCL.xmiddle.framework.controller.Locator
Signifies to the Locator implementation that the platform is going to stop operating.
exit() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Signifies that we're about to exit the platform
exit() - Method in interface edu.UCL.xmiddle.framework.Manager
Quits the platform
exit() - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Signifies that we are about to exit
exit() - Method in class edu.UCL.xmiddle.controller.UDPLocator
Signifies that the platform is about to exit, and exits all threads
exit() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Signals that we are about to exit;
exit() - Method in class edu.UCL.xmiddle.SimpleManager
Terminates the middleware services.
EXPORT - Static variable in class edu.UCL.xmiddle.host.LinkTableItem
This LinkTableItem is in an Export linktable (2 data items)
export(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Exports an element in an application tree
export(Element, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Starts exporting the given element.
export(String, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Exports an Element in an application tree.
export(String, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Starts exporting the given element.
extractPeopleNames(Document) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
This method extracts the name of people contained in people Document

F

findNode(Node, Document) - Static method in class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
Finds the node that can be duplicated using the given Schema Document.
flush() - Method in class edu.UCL.utils.Queue
Flushes the queue
flushqueue() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Removes all pending requests from the queue
flushqueue() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Clears the queue
FULL - Static variable in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
Full access: The host can read and write the data, and share it with other hosts (giving them any sort of access)
FullBranch - class edu.UCL.xmiddle.framework.tree.FullBranch.
FullBranch.java Created: Fri Jul 20 14:49:36 2001
FullBranch() - Constructor for class edu.UCL.xmiddle.framework.tree.FullBranch
 

G

generateXPath(Node) - Static method in class edu.UCL.utils.Utilities
Generates an XPath expression from the root of a tree down to the node passed as a parameter.
getAddress() - Method in class edu.UCL.xmiddle.host.UDPHost
Returns this host current/last ip address
getApp() - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
 
getAppID() - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getAppID() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the application ID stored by this LinkTableItem.
getCalculatedCheck() - Method in interface edu.UCL.xmiddle.framework.controller.Data
Returns the check that is calculated from the data.
getCalculatedCheck() - Method in class edu.UCL.xmiddle.controller.DataPacket
 
getCheck() - Method in interface edu.UCL.xmiddle.framework.controller.Data
Retutns the check that is bound with the data.
getCheck() - Method in class edu.UCL.xmiddle.controller.DataPacket
 
getConnection() - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Returns the multicast socket used to communicate with the xmiddle group
getData() - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
Returns the application's tree
getData() - Method in interface edu.UCL.xmiddle.framework.controller.Data
Returns the data of the packet
getData() - Method in class edu.UCL.xmiddle.controller.DataPacket
 
getData(int) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Returns the data contained as numbered segments of the given size
getData(int) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
getDataSchema() - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
Returns the XML Schema related to XML data document
getDestinationPath() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the destination path stored by this LinkTableItem.
getDocument() - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getEarliestEdition(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getEarliestEdition(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the earliest edition of an element.
getEarliestEditionBranch(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getEarliestEditionBranch(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the Branch holding the earliest edition of an named element.
getEditionNumber(String, int) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getEditionNumber(String, int) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the edition having the given edition number for an named element.
getEditionNumberBranch(String, int) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getEditionNumberBranch(String, int) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the Branch holding the given edition number for an named element.
getEditions(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getEditions(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Return an Enumeration of all editions under the named path.
getElement() - Method in class edu.UCL.utils.Queue
Gets the head of the queue.
getExports() - Method in interface edu.UCL.xmiddle.framework.Manager
Returns the local exports table
getExports() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the ExportList.
getExportsList() - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns the exports table.
getExportsList() - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Returns the exports
getHost() - Method in interface edu.UCL.xmiddle.framework.controller.Data
Returns the host to which this package is targetted or from which this packet was received
getHost() - Method in class edu.UCL.xmiddle.controller.DataPacket
 
getHost(Object) - Method in class edu.UCL.xmiddle.framework.controller.Locator
Returns the host (if it is inReach) identified by the given primary ID.
getHost(Object) - Method in class edu.UCL.xmiddle.controller.UDPLocator
Returns the Host representation for the given primary ID, if the host is currently in reach.
getHostByAddress(String) - Method in class edu.UCL.xmiddle.controller.UDPLocator
Returns a host representation (if the host is in reach) by its IP address
getHosts() - Method in class edu.UCL.xmiddle.framework.controller.Locator
Returns the hosts which are currently in reach
getHosts() - Method in interface edu.UCL.xmiddle.framework.Manager
Returns a list of hosts which are currently in reach with the localhost.
getHosts() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the list of the hosts that are currently in reach.
getID() - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
Returns the application ID of the application which owns this profile
getID() - Method in interface edu.UCL.xmiddle.framework.lib.XApp
 
getID() - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Returns the applicationID
getID() - Method in class edu.UCL.xmiddle.apps.shop.Shop
Returns the application ID
getIDs() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
getIDs() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Gets the two ids involved in this version
getInstance() - Static method in class edu.UCL.xmiddle.lib.reconciliation.ReconciliationHandler
 
getInstance() - Static method in class edu.UCL.xmiddle.SimpleManager
Returns an instance of the SimpleManager object.
getLatestEdition(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getLatestEdition(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the latest edition of an element.
getLatestEditionBranch(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getLatestEditionBranch(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the Branch holding the latest edition of the named element.
getLatestEditionNumber(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getLatestEditionNumber(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the latest edition number kept for a version in this tree.
getLatestVersion(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
getLatestVersion(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns the latest version of the data from the tree.
getLinkedBy() - Method in interface edu.UCL.xmiddle.framework.Manager
Returns the local linked by table
getLinkedBy() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the LinkedBy table.
getLinkedByHostList(Object) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns data on all elements linked by the given host
getLinkedByHostList(Object) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Returns data on all elements linked by the given host.
getLinkedByList() - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns the linked by table.
getLinkedByList() - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Returns the linked by table
getLinkedFrom() - Method in interface edu.UCL.xmiddle.framework.Manager
Returns the local linked from table
getLinkedFrom() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the LinkedFrom table.
getLinkedFromHostList(Object) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns data on all elements linked from the given host
getLinkedFromHostList(Object) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Returns data on all elements linked from the given host.
getLinkedFromList() - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns the linked from table
getLinkedFromList() - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Returns the linked From table
getLinks() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Returns the local host's linktable.
getLinks() - Method in class edu.UCL.xmiddle.framework.host.Host
Returns the link table of the host
getLinks() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
 
getLinkTableMessage() - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Gets a textual description of the linktable to be sent over the network.
getLinkTableMessage() - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Returns an XML representation of the linktable message
getLocalAppID() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the local application ID stored by this LinkTableItem.
getMessage() - Method in class edu.UCL.xmiddle.framework.lib.InvalidSessionIDException
Returns the exception's message
getMessage() - Method in class edu.UCL.xmiddle.framework.lib.ExistingSessionIDException
Returns the exception's message
getName() - Method in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Returns the protocol's name
getName() - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Returns the name of this Resolutor.
getNumber() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
getNumber() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Returns the version number
getPath() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the path stored by this LinkTableItem.
getPolicy(Element, Object) - Method in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
gets the policy for the given element and host
getPolicy(Element, Object) - Method in class edu.UCL.xmiddle.appRegistry.XMLAccessPolicy
Returns the policy set for the given element and the given host
getPort() - Method in class edu.UCL.xmiddle.host.UDPHost
Returns this host listening port
getPrimaryID() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Returns the primary ID of the host
getPrimaryID() - Method in class edu.UCL.xmiddle.framework.host.Host
Returns the primaryID of the host.
getPrimaryID() - Method in interface edu.UCL.xmiddle.framework.Manager
 
getPrimaryID() - Method in class edu.UCL.xmiddle.host.UDPHost
 
getPrimaryID() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
 
getPrimaryID() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the primaryID stored by this LinkTableItem.
getPrimaryID() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the primary ID of the local host.
getPriority() - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Returns the relative priority of this Resolutor.
getProfile(Integer) - Method in interface edu.UCL.xmiddle.framework.appRegistry.AppManager
Returns the application profile of the application represented by appID
getProfile(Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Returns the Application profile of the given application
getProfile(Integer) - Method in class edu.UCL.xmiddle.appRegistry.ApplicationManager
Returns an application profile
getProfile(Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Returns the profile of the application with the given ID.
getProjectByMember(String) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
This method extracts the names of the projects in which the given person is involved.
getProtocol() - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Returns the protocol chosen by the ProtocolChooser
getProtocolByName(String) - Method in interface edu.UCL.xmiddle.framework.lib.protocols.ProtocolRegistry
Returns the protocol's absolute class name, by its name
getProtocolByName(String) - Method in class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry
Returns the protocol's absolute class name
getRemoteAppID() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the remote application ID stored by this LinkTableItem.
getRoot() - Method in interface edu.UCL.xmiddle.framework.tree.Branch
 
getRoot() - Method in class edu.UCL.xmiddle.tree.SimpleFullBranch
 
getRoot() - Method in class edu.UCL.xmiddle.tree.SimpleDiffBranch
 
getSchema() - Method in interface edu.UCL.xmiddle.framework.lib.XApp
 
getSchema() - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Returns the Schema Document
getSchema() - Method in class edu.UCL.xmiddle.apps.shop.Shop
Returns the Schema Document
getSecondary() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the secondary ID of the local host.
getSecondaryID() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Returns the secondary ID of the host
getSecondaryID() - Method in class edu.UCL.xmiddle.framework.host.Host
Returns the secondary ID of the host.
getSecondaryID() - Method in interface edu.UCL.xmiddle.framework.Manager
 
getSecondaryID() - Method in class edu.UCL.xmiddle.host.UDPHost
 
getSecondaryID() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
 
getSecondaryID() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the secondary ID of the local host.
getSegment() - Method in interface edu.UCL.xmiddle.framework.controller.Sender
Gets the maximum segment size (in bytes)
getSegment() - Method in interface edu.UCL.xmiddle.framework.controller.Listener
Retrieve the maximum segment size of bytes expected to receive as previously set.
getSegment() - Method in class edu.UCL.xmiddle.controller.UDPSender
Returns the maximum segment size of the data.
getSegment() - Method in class edu.UCL.xmiddle.controller.UDPListener
Returns the maximum size of the data packet we expect
getSegmentSize() - Method in class edu.UCL.xmiddle.host.UDPHost
Returns the maximum number of bytes that this host can accept in one go
getSessionID() - Method in class edu.UCL.xmiddle.framework.lib.InvalidSessionIDException
Returns the invalid session ID
getSessionID() - Method in class edu.UCL.xmiddle.framework.lib.ExistingSessionIDException
Returns the existing session ID
getSessionID() - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Returns the session ID assigned for this session.
getSize() - Method in class edu.UCL.utils.SimpleContainer
Returns the number of the objects contained in the container
getSourcePath() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the source path stored by this LinkTableItem.
getStatus() - Method in class edu.UCL.xmiddle.framework.controller.Network
Returns the connection status of the platform
getStatus() - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Returns the status of the session.
getStatus() - Method in interface edu.UCL.xmiddle.framework.Manager
Gets the status of the middleware (connected or disconnected to/from the network)
getStatus() - Method in class edu.UCL.xmiddle.SimpleManager
Returns the connection status (CONNECTED or DISCONNECTED).
getType() - Method in interface edu.UCL.xmiddle.framework.controller.Data
Retrieves the type of the packet
getType() - Method in class edu.UCL.xmiddle.controller.DataPacket
 
getType() - Method in class edu.UCL.xmiddle.host.LinkTableItem
Return the type of this LinkTableItem
getTypes() - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Returns the types handled by this Resolutor.
getVersion() - Method in interface edu.UCL.xmiddle.framework.tree.Branch
 
getVersion() - Method in class edu.UCL.xmiddle.tree.SimpleFullBranch
 
getVersion() - Method in class edu.UCL.xmiddle.tree.SimpleDiffBranch
 

H

has_sender - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
 
hasVersion(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
hasVersion(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Returns true if this path has an associated version with it.
Host - class edu.UCL.xmiddle.framework.host.Host.
Host.java This is the basic xmiddle data structure which describes a host.
Host() - Constructor for class edu.UCL.xmiddle.framework.host.Host
 
hostInReach(Host) - Method in interface edu.UCL.xmiddle.framework.lib.HostListener
The given host has come in reach
hostInReach(Host) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Called by the Locator when it detects a new online host It traverses the list of HostListeners and notifies any hosts registered to receive online events for the given host.
hostInReach(Host) - Method in class edu.UCL.xmiddle.lib.reconciliation.ReconciliationHandler
This method is called when a host comes in reach.
HostListener - interface edu.UCL.xmiddle.framework.lib.HostListener.
HostListener.java Each object that needs to be notified by the xmiddle Manager when a specific host is in reach or out of reach, must implement this interface Created: Fri Jul 20 16:04:31 2001
hostOutOfReach(Host) - Method in interface edu.UCL.xmiddle.framework.lib.HostListener
The given host is now out of reach
hostOutOfReach(Host) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Called by the Locator when it detects a host going offline It traverses the list of HostListeners and notifies any hosts registered to receive offline events for the given host.
hostOutOfReach(Host) - Method in class edu.UCL.xmiddle.lib.reconciliation.ReconciliationHandler
This method is called when a host goes out of reach.

I

id - Variable in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
The application's ID
INACTIVE - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Denotes a passive protocol session (protocol is not running)
inc() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
inc() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
 
inc(Object) - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
inc(Object) - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Return a new version with the version number increased by one.
inc(Object, Object) - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
inc(Object, Object) - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Return a new version with the version number increased by one.
init() - Method in interface edu.UCL.xmiddle.framework.lib.protocols.ProtocolRegistry
Initialises a new registry
init() - Method in interface edu.UCL.xmiddle.framework.Manager
Initialises the platform/middleware for the first time
init() - Method in class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry
initialises a new ProtocolRegistry from scratch
init() - Method in class edu.UCL.xmiddle.SimpleManager
Initialises a new XMIDDLE session.
init(Host, boolean) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
inReach - Variable in class edu.UCL.xmiddle.framework.controller.Locator
This is the list of hosts in reach.
InvalidSessionIDException - exception edu.UCL.xmiddle.framework.lib.InvalidSessionIDException.
InvalidSessionIDException.java An exception thrown when Network is given a session ID for a protocol session, which does not exist in its database.
InvalidSessionIDException(String, Object) - Constructor for class edu.UCL.xmiddle.framework.lib.InvalidSessionIDException
Creates a new InvalidSessionIDException instance.
IP - Static variable in class edu.UCL.xmiddle.controller.UDPNetwork
 
isEdition() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
isEdition() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Returns true if this version is also an edition
isExported(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is being exported
isExported(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is exported
isExported(String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is being exported
isExported(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is exported
isInReach(Object) - Method in class edu.UCL.xmiddle.framework.controller.Locator
Returns true if the Host identified by the given primary ID is currently in reach.
isInReach(Object) - Method in class edu.UCL.xmiddle.controller.UDPLocator
Shows if the given host is in reach at the moment
isLinkedBy(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given local element is linked by another host
isLinkedBy(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked by another host.
isLinkedBy(Object, Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given local element is linked the given host.
isLinkedBy(Object, Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked by a particular host.
isLinkedBy(Object, String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given local element is linked by the given host
isLinkedBy(Object, String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked by a particular host.
isLinkedBy(String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given local element is linked by another host
isLinkedBy(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked by another host.
isLinkedFrom(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is linked from a remote host
isLinkedFrom(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked from another host.
isLinkedFrom(Object, Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is linked from the given host
isLinkedFrom(Object, Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked from a particular host.
isLinkedFrom(Object, String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is linked from the given host
isLinkedFrom(Object, String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked from a particular host.
isLinkedFrom(String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is linked from a remote host
isLinkedFrom(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is linked from another host.
isShared(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is either linked by someone, or linked from someone
isShared(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is shared with another host.
isShared(String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Returns true if the given element is either linked by someone, or linked from someone
isShared(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Determines whether the given element is shared with another host.

L

latestCommonTree - Variable in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
 
LatestTree - class edu.UCL.xmiddle.tree.LatestTree.
LatestTree.java LatestTree is the basic structure under which the xmiddle hosts store their data.
LatestTree(Integer) - Constructor for class edu.UCL.xmiddle.tree.LatestTree
 
LatestTree(Integer, Document) - Constructor for class edu.UCL.xmiddle.tree.LatestTree
 
Launcher - class edu.UCL.xmiddle.apps.launcher.Launcher.
A simple program launcher for the Shop application
Launcher(int, int) - Constructor for class edu.UCL.xmiddle.apps.launcher.Launcher
Constructs the application.
LauncherMeeting - class edu.UCL.xmiddle.apps.launcher.LauncherMeeting.
A simple launcher for the Meeting Application
LauncherMeeting(int, int) - Constructor for class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
Constructs the application.
LevelTreeDiff - class edu.UCL.xmiddle.lib.treediff.LevelTreeDiff.
LevelTreeDiff computes the difference of two DOM trees using a simple, restricted algorithm.
LevelTreeDiff() - Constructor for class edu.UCL.xmiddle.lib.treediff.LevelTreeDiff
 
LevelTreeMerge - class edu.UCL.xmiddle.lib.treediff.LevelTreeMerge.
LevelTreeMerge implements an algorithm to apply a diff-tree to a base tree so as to produce a new, modified tree.
LevelTreeMerge() - Constructor for class edu.UCL.xmiddle.lib.treediff.LevelTreeMerge
 
LevelTreeReconcile - class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile.
LevelTreeReconcile is used to reconcile differences between two trees.
LevelTreeReconcile() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
 
link(Host, Integer, String, Integer, Element) - Method in interface edu.UCL.xmiddle.framework.Manager
Issues a request to link an element from a remote host.
link(Host, Integer, String, Integer, Element) - Method in class edu.UCL.xmiddle.SimpleManager
Links to a remote element (mounting of a sub-tree exported by another host).
LINKED_BY - Static variable in class edu.UCL.xmiddle.host.LinkTableItem
This LinkTableItem is in a LinkedBy linktable (3 data items)
LINKED_FROM - Static variable in class edu.UCL.xmiddle.host.LinkTableItem
This LinkTableItem is in a LinkedFrom linktable (5 data items)
Linking - class edu.UCL.xmiddle.lib.protocols.Linking.
Linking.java The standard XMIDDLE linking protocol.
Linking(Listener, Sender, Boolean, LocalHost, AppManager, String, Object, Object[]) - Constructor for class edu.UCL.xmiddle.lib.protocols.Linking
Creates a new instace of the Linking protocol.
links - Variable in class edu.UCL.xmiddle.framework.host.Host
Returns the host's linktable.
linktable - Static variable in class edu.UCL.xmiddle.framework.tree.Tree
 
LinkTable - interface edu.UCL.xmiddle.framework.host.LinkTable.
LinkTable.java LinkTable provides a mechanism to manipulate the exports, linked by, and linked from tables that a host has.
LinkTableItem - class edu.UCL.xmiddle.host.LinkTableItem.
LinkTableItem.java Multi-purpose class used to hold data stored in a LinkTable.
LinkTableItem(Object, String, Integer) - Constructor for class edu.UCL.xmiddle.host.LinkTableItem
Create a new LinkTableItem instance.
LinkTableItem(Object, String, String, Integer, Integer) - Constructor for class edu.UCL.xmiddle.host.LinkTableItem
Create a new LinkTableItem instance.
LinkTableItem(String, Integer) - Constructor for class edu.UCL.xmiddle.host.LinkTableItem
Create a new LinkTableItem instance.
listener - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Used to receive information from the remote Host(s)
listener - Variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Used to receive information from the remote host(s) involved in this protocol session
Listener - interface edu.UCL.xmiddle.framework.controller.Listener.
Listener.java Listener is a basic block of the xmiddle networking architecture, used by protocol sessions to receive information from specific hosts or group of hosts.
load(String) - Method in interface edu.UCL.xmiddle.framework.lib.protocols.ProtocolRegistry
Loads the registry from disk
load(String) - Method in class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry
loads a registry stored to disk [FIXME: not implemented]
localhost - Variable in class edu.UCL.xmiddle.framework.controller.Network
A reference to the LocalHost object.
localhost - Variable in class edu.UCL.xmiddle.framework.controller.Locator
This is the reference to the local host object, as given by the setLocalHost method
localhost - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
A reference to the localhost (used to access the linktable)
LocalHost - interface edu.UCL.xmiddle.framework.host.LocalHost.
LocalHost.java Essentially, the Xmiddle localhost is expected to extend Host and implement this interface.
locator - Variable in class edu.UCL.xmiddle.framework.controller.Network
A reference to the locator object, as set by setLocator()
locator - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Describe variable locator here.
Locator - class edu.UCL.xmiddle.framework.controller.Locator.
Locator.java Locator is the xmiddle component which is responsible for maintaining a list of which hosts are in reach with the local host at the time.
Locator() - Constructor for class edu.UCL.xmiddle.framework.controller.Locator
 
lock(Element, Object) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
lock(Element, Object) - Method in class edu.UCL.xmiddle.tree.LatestTree
Lock an element in the Tree.
lock(String, Object) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
lock(String, Object) - Method in class edu.UCL.xmiddle.tree.LatestTree
Lock a named element in the Tree.

M

main(String[]) - Static method in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
 
main(String[]) - Static method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
Starts the application with the appropriate display size.
main(String[]) - Static method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
Starts the Meeting application with the appropriate display size.
main(String[]) - Static method in class edu.UCL.xmiddle.apps.launcher.Launcher
Starts the Shop application with the appropriate display size.
main(String[]) - Static method in class edu.UCL.xmiddle.apps.shop.Shop
Starts the shop application with the appropriate display size.
Manager - interface edu.UCL.xmiddle.framework.Manager.
Manager.java Manager is the only access point that applications have to the middleware.
match(Object) - Method in class edu.UCL.xmiddle.framework.controller.Acknowledger
If the given data matches the data that is expected by the acknowledger, then verify returns true.
match(Object) - Method in class edu.UCL.xmiddle.controller.UDPAcknowledger
This method is called by the module that actually receives an acknowledgement
MAX_SEGMENT - Static variable in class edu.UCL.xmiddle.controller.UDPNetwork
 
maxtimes - Variable in class edu.UCL.xmiddle.framework.controller.Acknowledger
The maximum number of times that the data will be sent if no acknowledgement is received.
Meeting - class edu.UCL.xmiddle.apps.meeting.Meeting.
Meeting application This is an application for the support of collaborative work based on the XMIDDLE platform.
Meeting(int, int) - Constructor for class edu.UCL.xmiddle.apps.meeting.Meeting
Constructs the application
Meeting(int, int, String) - Constructor for class edu.UCL.xmiddle.apps.meeting.Meeting
Constructs the application
merge(Document, Document) - Static method in class edu.UCL.xmiddle.lib.treediff.LevelTreeMerge
This method applies all changes in a diff tree to a base tree.

N

name - Variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
The protocol's name
NAME - Variable in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
 
network - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
A static reference to the xmiddle networking layer
Network - class edu.UCL.xmiddle.framework.controller.Network.
Network.java Network is the basic networking module at the controller core of the xmiddle platform.
Network() - Constructor for class edu.UCL.xmiddle.framework.controller.Network
 
newBranch(Object, Element) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
newBranch(Object, Element) - Method in class edu.UCL.xmiddle.tree.LatestTree
Add a new element branch to the LatestTree.
notifyConnectionStatus(boolean) - Method in interface edu.UCL.xmiddle.framework.lib.XApp
 
notifyConnectionStatus(boolean) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Currently not implemented
notifyConnectionStatus(boolean) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Not implemented
notifyProtocolAbort(String, Object[]) - Method in interface edu.UCL.xmiddle.framework.lib.XApp
 
notifyProtocolAbort(String, Object[]) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Currently not implemented
notifyProtocolAbort(String, Object[]) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Not implemented
notifyProtocolBegin(String, Object[]) - Method in interface edu.UCL.xmiddle.framework.lib.XApp
 
notifyProtocolBegin(String, Object[]) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Currently not implemented
notifyProtocolBegin(String, Object[]) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Not implemented
notifyProtocolEnd(String, Object[]) - Method in interface edu.UCL.xmiddle.framework.lib.XApp
 
notifyProtocolEnd(String, Object[]) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Currently not implemented
notifyProtocolEnd(String, Object[]) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Notifies the termination of the synchronization protocol.

O

objects - Variable in class edu.UCL.utils.SimpleContainer
 
open(String, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Opens an Element for the application to manipulate
open(String, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Retrieves a sub-tree identified by the given XPath expression.

P

PASSIVE - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Denotes a passive session
pause() - Method in class edu.UCL.xmiddle.framework.controller.Locator
Stops the process (until a start() call is made).
pause() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Stops servicing requests
pause() - Method in class edu.UCL.xmiddle.controller.UDPLocator
Signifies that the Locator and its threads should stop processing/sending/receiving
pause() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Signals that we should stop servicing requests
policy - Variable in class edu.UCL.xmiddle.framework.tree.Tree
 
PORT - Static variable in class edu.UCL.xmiddle.controller.UDPNetwork
 
prependData(byte[]) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Prepend the given information to the current data.
prependData(byte[]) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
prependData(byte[], int, int) - Method in interface edu.UCL.xmiddle.framework.controller.Data
DPrepend the given information to the current data.
prependData(byte[], int, int) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
prependData(Node) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Prepend the given information to the current data.
prependData(Node) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
prependData(String) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Prepend the given information to the current data.
prependData(String) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
primaryID - Static variable in class edu.UCL.xmiddle.framework.tree.Tree
 
primaryID - Variable in class edu.UCL.xmiddle.host.UDPHost
 
PrimaryIDVersion - class edu.UCL.xmiddle.tree.PrimaryIDVersion.
PrimaryIDVersion.java Stores a version identified by the primary ID of the localhost, the primary ID of the remote host, and the version number.
PrimaryIDVersion(String, String, int, boolean) - Constructor for class edu.UCL.xmiddle.tree.PrimaryIDVersion
Creates a new PrimaryIDVersion instance.
PrimaryIDVersion(String, String, String) - Constructor for class edu.UCL.xmiddle.tree.PrimaryIDVersion
Creates a new PrimaryIDVersion instance, using a version string.
print(String) - Method in interface edu.UCL.xmiddle.framework.Manager
Can be used to print debugging strings.
print(String) - Method in class edu.UCL.xmiddle.SimpleManager
Not implemented (should print debugging info)
println(String) - Method in interface edu.UCL.xmiddle.framework.Manager
Can be used to print debugging strings.
println(String) - Method in class edu.UCL.xmiddle.SimpleManager
Not implemented (should print debugging info)
printNode(Node) - Static method in class edu.UCL.utils.Utilities
Prints the given node.
PRIORITY - Variable in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
 
PRIVATE_PORT - Variable in class edu.UCL.xmiddle.controller.UDPNetwork
 
protocol - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Stores the protocol chosen
Protocol - class edu.UCL.xmiddle.framework.lib.protocols.Protocol.
Protocol.java This is the basic class which all xmiddle protocols are expected to extend.
Protocol() - Constructor for class edu.UCL.xmiddle.framework.lib.protocols.Protocol
 
ProtocolChooser - class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser.
ProtocolChooser.java ProtocolChooser is responsible to negotiate with other hosts and start protocols, such as linking, reconciliation etc.
ProtocolChooser() - Constructor for class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
 
protocolRegistry - Static variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
A reference to the protocol registry, from where the protocol chooser can pick protocols
ProtocolRegistry - interface edu.UCL.xmiddle.framework.lib.protocols.ProtocolRegistry.
ProtocolRegistry.java The protocol registry data structure, registers all protocols available to the middleware.

Q

Queue - class edu.UCL.utils.Queue.
Instances of this class represents queues of Object.
Queue() - Constructor for class edu.UCL.utils.Queue
 
queue(Object[]) - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Queue a command to be serviced by the localhost.
queue(Object[]) - Method in interface edu.UCL.xmiddle.framework.Manager
Queue a request (protocol request) to be serviced by the middleware
queue(Object[]) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Enqueue a request to be serviced
queue(Object[]) - Method in class edu.UCL.xmiddle.SimpleManager
Queues a protocol request to the Localhost thread.

R

rawReceive() - Method in interface edu.UCL.xmiddle.framework.controller.Listener
receives a packet without negotitating packet size
rawReceive() - Method in class edu.UCL.xmiddle.controller.UDPListener
 
rawSend(Data) - Method in interface edu.UCL.xmiddle.framework.controller.Sender
Sends the given data without negotiating any packet information
rawSend(Data) - Method in class edu.UCL.xmiddle.controller.UDPSender
Sends the given packet to the remote host without negotiating any packet size information
READ - Static variable in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
Only read access is allowed
READ_SHARE - Static variable in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
The given host can read the data and further share it with other hosts (giving them read access only)
receive() - Method in interface edu.UCL.xmiddle.framework.controller.Listener
Receives data from the host/group of hosts
receive() - Method in class edu.UCL.xmiddle.controller.UDPListener
Receives a Data packet from the remote host.
RECEIVED - Static variable in interface edu.UCL.xmiddle.framework.controller.Data
Represents a packet which was received.
reconcile(Document, Document, Document, Document) - Static method in class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
Apply reconciliation policies to the two trees.
reconcile(String, String, String, String) - Method in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Reconciles the differences between the first String and the second String, using the given type.
reconcile(String, String, String, String) - Method in class edu.UCL.xmiddle.lib.reconciliation.resolutors.Strings
Reconcile two strings, given a reconciliation policy.
reconcile(String, String, String, String) - Method in class edu.UCL.xmiddle.lib.reconciliation.resolutors.Replacement
Reconcile two strings, given a reconciliation policy.
reconcile(String, String, String, String) - Method in class edu.UCL.xmiddle.lib.reconciliation.resolutors.Comparison
Reconcile two strings, given a reconciliation policy.
reconcile(String, String, String, String) - Method in class edu.UCL.xmiddle.lib.reconciliation.resolutors.Arithmetic
Reconcile two strings, given a reconciliation policy.
Reconciliation - class edu.UCL.xmiddle.lib.protocols.Reconciliation.
This class implements a protocol dealing with reconciliation.
Reconciliation(Listener, Sender, Boolean, LocalHost, AppManager, String, Object, Object[]) - Constructor for class edu.UCL.xmiddle.lib.protocols.Reconciliation
Creates a new instance of the Reconciliation protocol
ReconciliationHandler - class edu.UCL.xmiddle.lib.reconciliation.ReconciliationHandler.
ReconciliationHandler.java The Manager's handler for tree reconciliation.
ReconciliationHandler(Manager, LocalHost) - Constructor for class edu.UCL.xmiddle.lib.reconciliation.ReconciliationHandler
 
registerApp(XApp) - Method in interface edu.UCL.xmiddle.framework.appRegistry.AppManager
Registers an application
registerApp(XApp) - Method in class edu.UCL.xmiddle.appRegistry.ApplicationManager
Registers an application.
registerApplication(XApp) - Method in interface edu.UCL.xmiddle.framework.Manager
Registers an application with the application manager, allowing it to access the services of xmiddle
registerApplication(XApp) - Method in class edu.UCL.xmiddle.SimpleManager
Registers a new application to the middleware.
registerProtocol(String, String) - Method in interface edu.UCL.xmiddle.framework.lib.protocols.ProtocolRegistry
Registers a new protocol
registerProtocol(String, String) - Method in interface edu.UCL.xmiddle.framework.Manager
Registers a new protocol as available to the middleware.
registerProtocol(String, String) - Method in class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry
Registers a new protocol as available to the platform.
registerProtocol(String, String) - Method in class edu.UCL.xmiddle.SimpleManager
Registers a new protocol as available to the middleware.
registerSession(ProtocolChooser) - Method in class edu.UCL.xmiddle.framework.controller.Network
Registers a new ProtocolChooser session.
registerSession(ProtocolChooser) - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Registers a new protocol session
remoteID - Variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
The primary ID(s) of the remote host(s) involved in this operation
removeAllEditions() - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
removeAllEditions() - Method in class edu.UCL.xmiddle.tree.LatestTree
Removes all editions from every path in this tree.
removeAllEditions(Element) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
removeAllEditions(Element) - Method in class edu.UCL.xmiddle.tree.LatestTree
Removes all editions under the given Element.
removeAllEditions(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
removeAllEditions(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Removes all editions under the named path.
removeEdition(Branch) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
removeEdition(Branch) - Method in class edu.UCL.xmiddle.tree.LatestTree
FIXME: does nothing.
removeExport(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Denotes that the given element is no longer available for linking
removeExport(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the local host has stopped exporting the given element
removeExport(String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Denotes that the given element is no longer available for linking
removeExport(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the local host has stopped exporting the given element
removeHostListener(Host, HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object does not wish to be notified any more if the given host is online.
removeHostListener(Host, HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Removes the given HostListener object, referring to the given host.
removeHostListener(HostListener) - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Unregisters a HostListener with this localhost.
removeHostListener(HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object does not wish to be notified of any events any more.
removeHostListener(HostListener) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Unregisters a HostListener with this localhost.
removeHostListener(HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Removes the given HostListener object.
removeHostListener(Object, HostListener) - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Unregisters a HostListener with the localhost.
removeHostListener(Object, HostListener) - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Unregisters a HostListener for a given host with this localhost.
removeHostListenerPrimID(Object, HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object does not wish to be notified any more if the given host is online.
removeHostListenerPrimID(Object, HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Removes the given HostListener object, referring to the given host identified by the given primary ID.
removeHostListenerSecID(Object, HostListener) - Method in interface edu.UCL.xmiddle.framework.Manager
Signifies that the given HostListener object does not wish to be notified any more if the given host is online.
removeHostListenerSecID(Object, HostListener) - Method in class edu.UCL.xmiddle.SimpleManager
Removes the given HostListener object, referring to the given host identified by the given secondary ID.
removeLinkedBy(Object, Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Remove an entry from the linked By table (a host has stopped linking to an element)
removeLinkedBy(Object, Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the given element is not linked from the given host, and removes any such references from the linktable
removeLinkedBy(Object, String, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Remove an entry from the linked By table (a host has stopped linking to an element)
removeLinkedBy(Object, String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the given element is not linked from the given host, and removes any such references from the linktable
removeLinkedFrom(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Removes an entry from the linked From table (i.e.
removeLinkedFrom(Element, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the given element is not linked from any other host, and removes any such references from the linktable
removeLinkedFrom(String, Integer) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Signifies that the given element is not linked from any other host, and removes any such references from the linktable
removeSession(Object) - Method in class edu.UCL.xmiddle.framework.controller.Network
Removes a formelly active session from the list of registered sessions.
removeSession(Object) - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Removes a protocol session
Replacement - class edu.UCL.xmiddle.lib.reconciliation.resolutors.Replacement.
The Replacement Resolutor.
Replacement() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.resolutors.Replacement
Constructor.
Resolutor - class edu.UCL.xmiddle.lib.reconciliation.Resolutor.
This defines an abstract class which Resolutor subclasses extend.
Resolutor() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.Resolutor
Constructor.
resolveAttributes(Node, Node, Node) - Static method in class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
Solves attribute conflicts (in the case order not important).
resolveNode(Node, Node, Node) - Static method in class edu.UCL.xmiddle.lib.reconciliation.LevelTreeReconcile
This method solve conflicts according to a non standard resolution policy (case of presence of attribute Resolutor with value different from null).
resume() - Method in interface edu.UCL.xmiddle.framework.Manager
Resumes after a previously executed suspend()
resume() - Method in class edu.UCL.xmiddle.SimpleManager
Not implemented
root - Variable in class edu.UCL.xmiddle.framework.tree.FullBranch
 
run() - Method in class edu.UCL.xmiddle.framework.controller.Network
What to do when the Network Thread is started.
run() - Method in class edu.UCL.xmiddle.framework.controller.Locator
Starts the Locator thread.
run() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Starts the thread which services requests
run() - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Starts the protocol chooser.
run() - Method in class edu.UCL.xmiddle.controller.UDPNetwork
receives messages sent and queues them to be processed by the message queue processor
run() - Method in class edu.UCL.xmiddle.controller.UDPLocator
Receives packets from the network.
run() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
The SimpleLocalHost thread, when running, gets requests off the queue, and launches them onto a new ProtocolChooser thread
run() - Method in class edu.UCL.xmiddle.lib.protocols.SimpleProtocolChooser
Starts the ProtocolChooser thread

S

save(String) - Method in interface edu.UCL.xmiddle.framework.lib.protocols.ProtocolRegistry
Saves the registry to disk
save(String) - Method in class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry
saves the registry to disk in xml format [FIXME: not implemented]
secondaryID - Variable in class edu.UCL.xmiddle.host.UDPHost
 
selectNodeList(Node, String) - Static method in class edu.UCL.utils.XPathAPI
Uses an XPath string to select a nodelist.
selectNodeList(Node, String, Node) - Static method in class edu.UCL.utils.XPathAPI
Uses an XPath string to select a nodelist.
selectSingleNode(Node, String) - Static method in class edu.UCL.utils.XPathAPI
Uses an XPath string to select a single node.
selectSingleNode(Node, String, Node) - Static method in class edu.UCL.utils.XPathAPI
Uses an XPath string to select a single node.
send(Data) - Method in interface edu.UCL.xmiddle.framework.controller.Sender
Sends the given packet to the host.
send(Data) - Method in class edu.UCL.xmiddle.framework.controller.Network
Sends the given packet.
send(Data) - Method in interface edu.UCL.xmiddle.framework.Manager
Sends a data packet to a host.
send(Data) - Method in class edu.UCL.xmiddle.controller.UDPSender
Sends a data packet to the remote host
send(Data) - Method in class edu.UCL.xmiddle.controller.UDPNetwork
Sends data to a remote host
send(Data) - Method in class edu.UCL.xmiddle.SimpleManager
Sends a data packet to another host.
sender - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Used to send information to the remote Host(s)
sender - Variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
Used to send information to the remote host(s) involved in this protocol session
Sender - interface edu.UCL.xmiddle.framework.controller.Sender.
Sender.java A Sender is a networking component used by the Protocol sessions to send data to a specific host (or perhaps group of hosts).
sessionID - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
The unique ID for this session
sessionID - Variable in class edu.UCL.xmiddle.framework.lib.protocols.Protocol
The unique protocol session ID
setAppManager(AppManager) - Static method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a static reference to the Application Manager.
setConnection(MulticastSocket) - Method in class edu.UCL.xmiddle.controller.UDPLocator
Describe setConnection method here.
setData(byte[]) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Sets the data that this packet contains
setData(byte[]) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
setData(byte[], int, int) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Sets the data that this packet contains
setData(byte[], int, int) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
setData(Document) - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
Allows an application to bind an XML document to a Tree and use it as its data element
setData(Document) - Method in class edu.UCL.xmiddle.appRegistry.AppProfile
Creates a new Tree based on the given Document
setData(Node) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Sets the data that this packet contains
setData(Node) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
setData(String) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Sets the data that this packet contains
setData(String) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
setDataSchema(Document) - Method in class edu.UCL.xmiddle.framework.appRegistry.ApplicationProfile
Allows an application to bind an XML Schema to XML document that contains its data
setDocument(Document) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
setEdition(boolean) - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
setEdition(boolean) - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Sets whether this version is also an edition or not
setHost(Host) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Sets the host to which this packet is destined to.
setHost(Host) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
setLinks(LinkTable) - Method in class edu.UCL.xmiddle.framework.host.Host
Gives a reference to the host's link table
setLinks(Object) - Method in interface edu.UCL.xmiddle.framework.host.LinkTable
Provides a quick way for giving the LinkTable new data.
setLinks(Object) - Method in class edu.UCL.xmiddle.host.XPathLinkTable
Parses an XML string containing the linktable (of a remote host)
setLinkTable(LinkTable) - Static method in class edu.UCL.xmiddle.framework.tree.Tree
 
setLinkTable(LinkTable) - Static method in class edu.UCL.xmiddle.appRegistry.XMLAccessPolicy
Gives a reference to the local LinkTable This is used to find out if an element is local or not
setListener(Listener) - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a reference to the Listener used to receive information from the remote host(s) involved.
setLocalHost(LocalHost) - Method in class edu.UCL.xmiddle.framework.controller.Locator
Gives a reference to the localhost.
setLocalHost(LocalHost) - Static method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a static reference to the LocalHost.
setLocator(Locator) - Method in class edu.UCL.xmiddle.framework.controller.Network
Gives a reference to the local Locator object.
setLocator(Locator) - Static method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a static reference to the Locator.
setNetwork(Network) - Static method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a static reference to the networking layer.
setPolicy(Element, short, Object) - Method in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
Sets a policy for the specific element
setPolicy(Element, short, Object) - Method in class edu.UCL.xmiddle.appRegistry.XMLAccessPolicy
Sets the policy for the given element, for the given host.
setPort(int) - Method in class edu.UCL.xmiddle.controller.UDPLocator
Changes the private listening port
setPrimaryID(Object) - Static method in class edu.UCL.xmiddle.framework.tree.Tree
 
setRegistry(ProtocolRegistry) - Static method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a static reference to the ProtocolRegistry.
setSegment(int) - Method in interface edu.UCL.xmiddle.framework.controller.Sender
Set the maximum segment size using which the packet will be segmented.
setSegment(int) - Method in interface edu.UCL.xmiddle.framework.controller.Listener
Set the maximum segment size of bytes expected to receive.
setSegment(int) - Method in class edu.UCL.xmiddle.controller.UDPSender
Sets the maximum segment size of the data
setSegment(int) - Method in class edu.UCL.xmiddle.controller.UDPListener
Sets the maximum size of the data packet we expect
setSender(Sender) - Method in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
Gives a reference to the Sender used to send information to the remote host(s) involved.
setType(boolean) - Method in interface edu.UCL.xmiddle.framework.controller.Data
Sets the type of the packet.
setType(boolean) - Method in class edu.UCL.xmiddle.controller.DataPacket
 
setVersion(Version) - Method in class edu.UCL.xmiddle.tree.SimpleFullBranch
 
setVersion(Version) - Method in class edu.UCL.xmiddle.tree.SimpleDiffBranch
 
Shop - class edu.UCL.xmiddle.apps.shop.Shop.
Shop is a sample shopping application for the xmiddle platform.
Shop(int, int) - Constructor for class edu.UCL.xmiddle.apps.shop.Shop
Constructor.
Shop(int, int, String) - Constructor for class edu.UCL.xmiddle.apps.shop.Shop
Constructs the Shop application.
SimpleContainer - class edu.UCL.utils.SimpleContainer.
This class is a container that can hold a variable number of objects.
SimpleContainer(int) - Constructor for class edu.UCL.utils.SimpleContainer
Constructor
SimpleDiffBranch - class edu.UCL.xmiddle.tree.SimpleDiffBranch.
SimpleDiffBranch.java Created: Tue Aug 7 16:58:57 2001
SimpleDiffBranch(Document, Version, Branch) - Constructor for class edu.UCL.xmiddle.tree.SimpleDiffBranch
 
SimpleFullBranch - class edu.UCL.xmiddle.tree.SimpleFullBranch.
SimpleFullBranch.java Created: Tue Aug 7 16:14:04 2001
SimpleFullBranch(Element, Version) - Constructor for class edu.UCL.xmiddle.tree.SimpleFullBranch
 
SimpleLocalHost - class edu.UCL.xmiddle.host.SimpleLocalHost.
SimpleLocalHost.java The SimpleLocalHost is essentially a Host which also services requests.
SimpleLocalHost(String, String) - Constructor for class edu.UCL.xmiddle.host.SimpleLocalHost
Creates a new instance.
SimpleManager - class edu.UCL.xmiddle.SimpleManager.
This is the API that XMIDDLE presents to the application developer.
SimpleManager() - Constructor for class edu.UCL.xmiddle.SimpleManager
 
SimpleProtocolChooser - class edu.UCL.xmiddle.lib.protocols.SimpleProtocolChooser.
SimpleProtocolChooser.java This ProtocolChooser is called "Simple", because it doesn't have the ability to download protocols that it doesn't have registered.
SimpleProtocolChooser(Object[]) - Constructor for class edu.UCL.xmiddle.lib.protocols.SimpleProtocolChooser
This ProtocolChooser, as launched by the Network is responsible for deriving a unique id (String) for this session, loading the appropriate protocol from the ProtocolRegistry and giving it the appropriate resources (such as the documents it needs etc).
size() - Method in class edu.UCL.utils.Queue
Returns the size of the queue
srcBranch - Variable in class edu.UCL.xmiddle.framework.tree.DiffBranch
 
start() - Method in class edu.UCL.xmiddle.framework.controller.Locator
Starts the process, after a pause() call for example.
start() - Method in interface edu.UCL.xmiddle.framework.host.LocalHost
Starts servicing requests
start() - Method in class edu.UCL.xmiddle.controller.UDPLocator
Signifies that the Locator and its threads should start processing/sending/receiving
start() - Method in class edu.UCL.xmiddle.host.SimpleLocalHost
Starts servicing requests
startReconciliation(Host) - Method in class edu.UCL.xmiddle.lib.reconciliation.ReconciliationHandler
Triggers the reconciliation protocol.
startTestRec - class edu.UCL.xmiddle.lib.reconciliation.startTestRec.
Title: startTest
startTestRec() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.startTestRec
Debug method ----only for testing----
status - Variable in class edu.UCL.xmiddle.framework.controller.Network
The status of the network.
status - Variable in class edu.UCL.xmiddle.framework.lib.protocols.ProtocolChooser
The protocol's status (ACTIVE or INACTIVE)
Strings - class edu.UCL.xmiddle.lib.reconciliation.resolutors.Strings.
The Strings Resolutor.
Strings() - Constructor for class edu.UCL.xmiddle.lib.reconciliation.resolutors.Strings
Constructor.
suspend() - Method in interface edu.UCL.xmiddle.framework.Manager
Suspends the platform
suspend() - Method in class edu.UCL.xmiddle.SimpleManager
Not implemented
sync(boolean) - Method in class edu.UCL.xmiddle.lib.protocols.SimpleProtocolChooser
Makes sure that the hosts involved are ready to execute the protocol (protocol.execute()).
sync(Host, Integer, String, Integer, String) - Method in interface edu.UCL.xmiddle.framework.Manager
Synchronises (reconciles) our data with the given Host's.
sync(Host, Integer, String, Integer, String) - Method in class edu.UCL.xmiddle.SimpleManager
Synchronizes (reconciles) our data with the given Host.

T

textValueChanged(TextEvent) - Method in class edu.UCL.xmiddle.apps.meeting.Meeting
Responds to TextEvent
textValueChanged(TextEvent) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Responds to the textValueChanged event
timeout - Variable in class edu.UCL.xmiddle.framework.controller.Acknowledger
The timeout (in milliseconds) before re-sending the data.
TO_SEND - Static variable in interface edu.UCL.xmiddle.framework.controller.Data
Represents a packet is to be sent
toEdition() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
toEdition() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Returns a new version of this Version's details, but with the isEdition flag set to true.
toString() - Method in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
Returns a String representation of the access policy for transfering over the network
toString() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
toString() - Method in interface edu.UCL.xmiddle.framework.tree.Branch
 
toString() - Method in class edu.UCL.xmiddle.appRegistry.XMLAccessPolicy
Returns the access policy data as a String.
toString() - Method in class edu.UCL.xmiddle.tree.SimpleFullBranch
 
toString() - Method in class edu.UCL.xmiddle.tree.SimpleDiffBranch
 
toString() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Returns a String representation of this version
toVersion() - Method in interface edu.UCL.xmiddle.framework.tree.Version
 
toVersion() - Method in class edu.UCL.xmiddle.tree.PrimaryIDVersion
Returns a new version of this Edition's details, but with the isEdition flag set to false.
Tree - class edu.UCL.xmiddle.framework.tree.Tree.
Tree.java Created: Fri Jul 20 14:19:05 2001
Tree() - Constructor for class edu.UCL.xmiddle.framework.tree.Tree
 
treeA - Variable in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
 
treeB - Variable in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
 
treeRec - Variable in class edu.UCL.xmiddle.lib.reconciliation.startTestRec
 
types - Variable in class edu.UCL.xmiddle.lib.reconciliation.Resolutor
 

U

UDPAcknowledger - class edu.UCL.xmiddle.controller.UDPAcknowledger.
UDPAcknowledger sends a specific DatagramPacket through a given DatagramSocket, waiting for that packet to be acknowledged.
UDPAcknowledger(long, int, DatagramSocket, String, DatagramPacket) - Constructor for class edu.UCL.xmiddle.controller.UDPAcknowledger
Creates a new UDPAcknowledger instance.
UDPHost - class edu.UCL.xmiddle.host.UDPHost.
UDPHost.java A simple host representation for the UDP implementation of xmiddle.
UDPHost(String, String) - Constructor for class edu.UCL.xmiddle.host.UDPHost
Creates a new UDPHost instance.
UDPHost(String, String, String, int, int) - Constructor for class edu.UCL.xmiddle.host.UDPHost
Creates a new UDPHost instance.
UDPListener - class edu.UCL.xmiddle.controller.UDPListener.
UDPListener receives data from a specific host, which is given upon creation of the instance
UDPListener(DatagramSocket, UDPHost) - Constructor for class edu.UCL.xmiddle.controller.UDPListener
Creates a new UDPListener instance.
UDPLocator - class edu.UCL.xmiddle.controller.UDPLocator.
The UDPLocator is responsible for "showing" to other hosts that we are online and realising which other hosts are currently in reach.
UDPLocator(LocalHost, MulticastSocket, int, String, int, int) - Constructor for class edu.UCL.xmiddle.controller.UDPLocator
Creates a new UDPLocator instance.
UDPNetwork - class edu.UCL.xmiddle.controller.UDPNetwork.
 
UDPNetwork(LocalHost, Manager) - Constructor for class edu.UCL.xmiddle.controller.UDPNetwork
Creates a new UDPNetwork instance.
UDPSender - class edu.UCL.xmiddle.controller.UDPSender.
UDPSender.java UDPSender sends Data packets through the network to a specified UDPHost which is defined upon creation.
UDPSender(DatagramSocket, UDPHost, int) - Constructor for class edu.UCL.xmiddle.controller.UDPSender
Creates a new UDPSender instance.
unexport(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Stops exporting the given element
unexport(Element, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Stops exporting the given element.
unexport(String, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Stops exporting the given element
unexport(String, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Stops exporting the given element.
unlink(Element, Integer) - Method in interface edu.UCL.xmiddle.framework.Manager
Stops linking at the given element
unlink(Element, Integer) - Method in class edu.UCL.xmiddle.SimpleManager
Stops linking to the specified element of the specified ID.
unlock(Element) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
unlock(Element) - Method in class edu.UCL.xmiddle.tree.LatestTree
Unlock an element in the Tree.
unlock(String) - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
unlock(String) - Method in class edu.UCL.xmiddle.tree.LatestTree
Unlock a named element in the Tree.
unlockAll() - Method in class edu.UCL.xmiddle.framework.tree.Tree
 
unlockAll() - Method in class edu.UCL.xmiddle.tree.LatestTree
Unlock all elements in the Tree.
Utilities - class edu.UCL.utils.Utilities.
This class provides some useful static methods, used in the implementation of XMIDDLE.
Utilities() - Constructor for class edu.UCL.utils.Utilities
 

V

verify() - Method in class edu.UCL.xmiddle.framework.controller.Acknowledger
Starts sending the data to the remote host.
verify() - Method in class edu.UCL.xmiddle.controller.UDPAcknowledger
Sends the packet to the remote host.
Version - interface edu.UCL.xmiddle.framework.tree.Version.
Version.java Created: Fri Jul 20 14:53:02 2001

W

windowActivated(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowActivated(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowActivated(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
windowClosed(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowClosed(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowClosed(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
windowClosing(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowClosing(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowClosing(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
windowClosing(WindowEvent) - Method in class edu.UCL.xmiddle.apps.shop.Shop
Responds to WindowEvents.
windowDeactivated(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowDeactivated(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowDeactivated(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
windowDeiconified(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowDeiconified(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowDeiconified(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
windowIconified(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowIconified(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowIconified(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
windowOpened(WindowEvent) - Method in class edu.UCL.xmiddle.apps.addressbook.Addressbook
 
windowOpened(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.LauncherMeeting
 
windowOpened(WindowEvent) - Method in class edu.UCL.xmiddle.apps.launcher.Launcher
 
WRITE - Static variable in interface edu.UCL.xmiddle.framework.appRegistry.AccessPolicy
Read and write access is allowed

X

XApp - interface edu.UCL.xmiddle.framework.lib.XApp.
 
XMLAccessPolicy - class edu.UCL.xmiddle.appRegistry.XMLAccessPolicy.
XMLAccessPolicy.java AccessPolicy API.
XMLAccessPolicy(Document, Object) - Constructor for class edu.UCL.xmiddle.appRegistry.XMLAccessPolicy
Creates a new XMLAccessPolicy instance.
XMLProtocolRegistry - class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry.
XMLProtocolRegistry.java Registers the protocols which are available to the platform.
XMLProtocolRegistry() - Constructor for class edu.UCL.xmiddle.lib.protocols.XMLProtocolRegistry
 
XPathAPI - class edu.UCL.utils.XPathAPI.
The methods in this class are convenience methods into the low-level XPath API.
XPathAPI() - Constructor for class edu.UCL.utils.XPathAPI
 
XPathLinkTable - class edu.UCL.xmiddle.host.XPathLinkTable.
XPathLinkTable.java A linktable implemented using hashtables, vectors and a lot of sweat! It basically uses three hashtables (with the application ID of the local application as key) to represent the exports, linked From and linkedBy tables.
XPathLinkTable() - Constructor for class edu.UCL.xmiddle.host.XPathLinkTable
Constructs a new XPathLinkTable for the local host
XPathLinkTable(boolean) - Constructor for class edu.UCL.xmiddle.host.XPathLinkTable
Constructs a new LinkTable
XPathLinkTable(String) - Constructor for class edu.UCL.xmiddle.host.XPathLinkTable
Constructs a new XPathLinkTable with the given data
XPathLinkTable(String, boolean) - Constructor for class edu.UCL.xmiddle.host.XPathLinkTable
Constructs a new XPathLinkTable with the given data

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