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

A

ACTIVE - Static variable in class ch.epfl.lsr.apex.APEXDataMessage
internal option identifier status
ALL - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: all (value of targetHop attribute)
APEX - class ch.epfl.lsr.apex.APEX.
The APEX defines the syntax of the Application Exchange (APEX) protocol RFC3340 and internal constant field.
APEX() - Constructor for class ch.epfl.lsr.apex.APEX
 
APEXAttachMessage - class ch.epfl.lsr.apex.APEXAttachMessage.
An APEXAttachMessage is the message sent for attachments and defines its syntax as it is specified in the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXAttachMessage(APEXEndpointAddress, int) - Constructor for class ch.epfl.lsr.apex.APEXAttachMessage
Instantiates an attach message for the specified endpoint address and the transaction identifier.
APEXBindMessage - class ch.epfl.lsr.apex.APEXBindMessage.
An APEXBindMessage is the message sent for bindings and defines its syntax as it is specified in the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXBindMessage(String, int) - Constructor for class ch.epfl.lsr.apex.APEXBindMessage
Instantiates an bind message for the specified relay address and the transaction identifier.
APEXConnection - class ch.epfl.lsr.apex.connection.APEXConnection.
An APEXConnection is a connection thread that takes messages to send on this connection in a linked list (file) and sends them on after another to the destination.
APEXConnection() - Constructor for class ch.epfl.lsr.apex.connection.APEXConnection
 
APEXConnectionListener - class ch.epfl.lsr.apex.connection.APEXConnectionListener.
The APEXConnectionListener is a connection listener thread for a relay, either apex-edge or apex-mesh connection.
APEXConnectionListener(APEXManager, int, String) - Constructor for class ch.epfl.lsr.apex.connection.APEXConnectionListener
Instantiates a new APEX connection listener which uses the APEXProfile and listens on the specified port.
APEXConnectionThread - class ch.epfl.lsr.apex.connection.APEXConnectionThread.
An APEXConnectionThread is a connection thread either initiates a new connection or works on a extisting one.
APEXConnectionThread(APEXConnection, APEXManager, String, int, APEXProfile) - Constructor for class ch.epfl.lsr.apex.connection.APEXConnectionThread
Instantiates a new APEXConnectionThread which first establishes the session and channel.
APEXConnectionThread(APEXConnection, APEXManager, String, Channel) - Constructor for class ch.epfl.lsr.apex.connection.APEXConnectionThread
Instantiate a new APEXConnectionThread for a connection opened by another hop (session and channel establishment becomes unnecessary).
APEXDataMessage - class ch.epfl.lsr.apex.APEXDataMessage.
An APEXDataMessage is the message sent for data containing operations and defines its syntax as it is specified in the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXDataMessage(APEXEndpointAddress, HashSet, MimeMessage, HashSet) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content.
APEXDataMessage(APEXEndpointAddress, HashSet, MimeMessage) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress, MimeMessage) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content.
APEXDataMessage(APEXEndpointAddress, HashSet, byte[], String, String, HashSet) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content specified in a byte array.
APEXDataMessage(APEXEndpointAddress, HashSet, byte[], String, String) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content specified in a byte array.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress[], byte[], String, String) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content specified in a byte array.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress, byte[], String, String) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content specified in a byte array.
APEXDataMessage(APEXEndpointAddress, HashSet, MimeBodyPart) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress, MimeBodyPart) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress[], MimeBodyPart) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing MIME Multipart structured content.
APEXDataMessage(APEXEndpointAddress, HashSet, String, HashSet) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing XML content.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress, String) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing XML content.
APEXDataMessage(APEXEndpointAddress, HashSet, String) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing XML content.
APEXDataMessage(APEXEndpointAddress, APEXEndpointAddress[], String) - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates a new APEXDataMessage containing XML content.
APEXDataMessage() - Constructor for class ch.epfl.lsr.apex.APEXDataMessage
Instantiates an empty APEXDataMessage.
APEXEdgeConnection - class ch.epfl.lsr.apex.connection.APEXEdgeConnection.
An APEXEdgeConnection handles the connection between two nodes on the APEX edge (endpoint-relay and vice versa) and adds manager specific policies for the connection.
APEXEndpointAddress - class ch.epfl.lsr.apex.APEXEndpointAddress.
The APEXEndpointAddress specifies a valid endpoint address including options for the corresponding address.
APEXEndpointAddress(String) - Constructor for class ch.epfl.lsr.apex.APEXEndpointAddress
A new 'APEXEndpointAddress' parsed from a String.
APEXEndpointAddress(String, HashSet) - Constructor for class ch.epfl.lsr.apex.APEXEndpointAddress
A new 'APEXEndpointAddress' parsed from a String containing a set of 'APEXOption s'.
APEXEndpointAddress(String, APEXOption) - Constructor for class ch.epfl.lsr.apex.APEXEndpointAddress
A new 'APEXEndpointAddress' parsed from a String containing one 'APEXOption'.
APEXEndpointManager - class ch.epfl.lsr.apex.APEXEndpointManager.
The APEXEndpointManager handles the interface between an endpoint and a relay.
APEXEndpointManager(APEXEndpointProcess, String) - Constructor for class ch.epfl.lsr.apex.APEXEndpointManager
Instantiates a new APEX endpoint manager using the standard port 912 for apex-edge-connections (say to its relay).
APEXEndpointManager(APEXEndpointProcess, String, int) - Constructor for class ch.epfl.lsr.apex.APEXEndpointManager
Instantiates a new APEX endpoint manager using a specified port number for apex-edge-connections (say to its relay).
APEXEndpointProcess - interface ch.epfl.lsr.apex.APEXEndpointProcess.
The APEXEndpointProcess the interface for an APEX endpoint application and provides their properities for call-backs: every class registering as a endpoint application needs to implement this interface.
APEXException - exception ch.epfl.lsr.apex.APEXException.
An APEXException is a general exception thrown from APEX elements in various moments.
APEXException() - Constructor for class ch.epfl.lsr.apex.APEXException
A general, unlocalized APEX exception.
APEXException(String) - Constructor for class ch.epfl.lsr.apex.APEXException
A APEX exception with an associated message.
APEXManager - class ch.epfl.lsr.apex.APEXManager.
The APEXManager is the general class for the two APEX managers and offers various functionalities to their subclasses.
APEXManager() - Constructor for class ch.epfl.lsr.apex.APEXManager
 
APEXMeshConnection - class ch.epfl.lsr.apex.connection.APEXMeshConnection.
An APEXMeshConnection handles the connection between two nodes in the APEX Mesh (relay-relay) and adds manager specific (actually only relay) policies for the connection.
APEXMessage - class ch.epfl.lsr.apex.APEXMessage.
An APEXMessage is an abstract class identifying an APEX message.
APEXMessage() - Constructor for class ch.epfl.lsr.apex.APEXMessage
 
APEXMessageParser - class ch.epfl.lsr.apex.APEXMessageParser.
The APEXMessageParser parses a message according the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXMessageParser() - Constructor for class ch.epfl.lsr.apex.APEXMessageParser
 
APEXOption - class ch.epfl.lsr.apex.APEXOption.
An APEXOption defines an APEX option element as it is specified in the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXOption(int, String, String, String, int, String, String) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attributes and the textual XML content.
APEXOption(int, String, String, String, int, String) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attributes and the textual XML content.
APEXOption(int, String, String, String, int) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attributes.
APEXOption(int, String, String, String) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attributes.
APEXOption(int, String, String, String, String) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attributes and the textual XML content.
APEXOption(int, String, String, int) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attributes.
APEXOption(int, String) - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an APEXOption with the specified attribute.
APEXOption() - Constructor for class ch.epfl.lsr.apex.APEXOption
Instantiates an empty APEXOption.
APEXOptionException - exception ch.epfl.lsr.apex.APEXOptionException.
An APEXOptionException is an exception thrown on processing options.
APEXOptionException() - Constructor for class ch.epfl.lsr.apex.APEXOptionException
 
APEXOptionException(String) - Constructor for class ch.epfl.lsr.apex.APEXOptionException
 
APEXParsingException - exception ch.epfl.lsr.apex.APEXParsingException.
An APEXParsingException is a exception thrown from APEX when parsing incoming messages or content to be added to messages.
APEXParsingException() - Constructor for class ch.epfl.lsr.apex.APEXParsingException
 
APEXParsingException(String) - Constructor for class ch.epfl.lsr.apex.APEXParsingException
 
APEXProcess - interface ch.epfl.lsr.apex.APEXProcess.
The APEXProcess the general interface for every APEX using application.
APEXProfile - class ch.epfl.lsr.apex.APEXProfile.
The PCApexProfile handles incoming messages from the underlying BEEP protocol.
APEXProfile(APEXManager, Object) - Constructor for class ch.epfl.lsr.apex.APEXProfile
Instantiates a APEXProfile with an associated APEXManager for call backs and a channel identifier for later message association.
APEXRelayManager - class ch.epfl.lsr.apex.APEXRelayManager.
The APEXRelayManager is called from a instanciated from a relay process (implementing APEXRelayProcess).
APEXRelayManager(APEXRelayProcess, String, String) - Constructor for class ch.epfl.lsr.apex.APEXRelayManager
Creates an APEXRelayManager object using the well-known TCP port number 912 assigned by the IANA.
APEXRelayProcess - interface ch.epfl.lsr.apex.APEXRelayProcess.
The APEXRelayProcess the interface for an APEX relay application and provides their properities for call-backs: every class registering as a relay application needs to implement this interface.
APEXReliableBroadcastService - class ch.epfl.lsr.apex.services.APEXReliableBroadcastService.
The 'Reliable Broadcast Service' is an additional service for the APEX model.
APEXReliableBroadcastService() - Constructor for class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Creates a new APEXReliableBroadcastService within the specified APEX manager
APEXReply - class ch.epfl.lsr.apex.APEXReply.
The APEXReply sends a reply containing a three-digit reply code and a reason statement on error replies according a specified message.
APEXReply(APEXMessage, int) - Constructor for class ch.epfl.lsr.apex.APEXReply
Instantiates a common reply (error or ok element) to a specified message with a three-digit code.
APEXReply(APEXMessage, int, String) - Constructor for class ch.epfl.lsr.apex.APEXReply
Instantiates a reply (error or ok element) to a specified message with a three-digit code and a special textual (XML) content.
APEXReply(APEXMessage, int, boolean) - Constructor for class ch.epfl.lsr.apex.APEXReply
Instantiates a explicitly a reply element on boolean to a specified message with a three-digit code.
APEXReply(APEXMessage, int, String, boolean) - Constructor for class ch.epfl.lsr.apex.APEXReply
Instantiates a explicitly a reply element on boolean to a specified message with a three-digit code and a special textual (XML) content.
APEXReplyListener - class ch.epfl.lsr.apex.connection.APEXReplyListener.
Since the BEEP reply offers no explicit listener, a this APEXReplyListener takes on this role: if the standalone thread receives a reply, it calls the handleReply method of the correspondant connection.
APEXReplyListener(Reply, APEXMessage, APEXConnection) - Constructor for class ch.epfl.lsr.apex.connection.APEXReplyListener
Instantiates a new APEXReplyListener for the specified reply, message, and call-back class connection.
APEXReportService - class ch.epfl.lsr.apex.services.APEXReportService.
The APEXReportService represents the report service as it is specified in RFC3340.
APEXReportService() - Constructor for class ch.epfl.lsr.apex.services.APEXReportService
Instantiates a new report service
APEXRoutingPoint - class ch.epfl.lsr.apex.APEXRoutingPoint.
An APEXRoutingPoint object translates a domain in another according the relay configuration file.
APEXRoutingPoint(String, String, int) - Constructor for class ch.epfl.lsr.apex.APEXRoutingPoint
Instantiates a new APEXRoutingPoint for the specified arguments ( identity relayed to gateway:(mesh)port )
APEXService - class ch.epfl.lsr.apex.services.APEXService.
The APEXService gives several properties to an APEX service.
APEXService() - Constructor for class ch.epfl.lsr.apex.services.APEXService
 
APEXStatus - class ch.epfl.lsr.apex.APEXStatus.
A status listener for APEX operations.
APEXStatus() - Constructor for class ch.epfl.lsr.apex.APEXStatus
Instantiates a new APEX status.
APEXStatus(Object) - Constructor for class ch.epfl.lsr.apex.APEXStatus
Instantiates a new APEX status containig an optional object for later reuse.
APEXStatus(ActionListener) - Constructor for class ch.epfl.lsr.apex.APEXStatus
Instantiates a new APEX status with an associated ActionListener Please consider the possibility to redefine the receivedStatus method for reuse.
APEXStatus(ActionListener, Object) - Constructor for class ch.epfl.lsr.apex.APEXStatus
Instantiates a new APEX status with an associated ActionListener and an object for reuse (e.g. in actionPerformed) Please consider the possibility to redefine the receivedStatus method for reuse.
APEXTerminateMessage - class ch.epfl.lsr.apex.APEXTerminateMessage.
An APEXTerminateMessage is the message sent for terminate bindings and attachments, and defines its syntax as it is specified in the Application Exchange (APEX) Protocol RFC3340 DTD.
APEXTerminateMessage(int) - Constructor for class ch.epfl.lsr.apex.APEXTerminateMessage
Instantiates an APEXTerminateMessage for the specified arguments.
APEXTerminateMessage(int, int) - Constructor for class ch.epfl.lsr.apex.APEXTerminateMessage
Instantiates an APEXTerminateMessage for the specified arguments.
APEXTerminateMessage(int, int, String) - Constructor for class ch.epfl.lsr.apex.APEXTerminateMessage
Instantiates an APEXTerminateMessage for the specified arguments.
APEXTerminateMessage(int, int, String, String) - Constructor for class ch.epfl.lsr.apex.APEXTerminateMessage
Instantiates an APEXTerminateMessage for the specified arguments.
APPBEEPXML - Static variable in class ch.epfl.lsr.apex.APEXMessage
MIME identifier for APPLICATION/BEEP+XML messages
ATTACH - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: attach (element)
ATTACH - Static variable in class ch.epfl.lsr.apex.APEXMessage
Message type: attach message
activateFinalAndNonProcessedOptions() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Reactivates final and not processing options before sending a message (only active options are sent to the next hop).
addApplicableEndpoint(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXOption
Adds an applicable endpoints defined in processing of this option.
addAttachedAs(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Updates the authenticatedAs table if the manager is successfully attached as the specified endpoint address.
addBoundAs(String) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Updates the authenticatedAs table if the manager is successfully bound as the specified administrative domain.
addContent(Object, Object) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Adds content with an associated key to the content table.
addFirstMessage(APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Adds a message to the first position of the FIFO message file.
addMessage(APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Adds a message to the FIFO message file.
addOption(APEXOption) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Adds an option to this message
addOption(APEXOption) - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Adds an option to this endpoint address
addRecipient(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets the recipient of the message.
addTransaction(Object, int, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Adds a transaction identified by a transID number associated to an APEX endpoint / relay (entity) to the internal transactionTable.
advertiseProfile(Session) - Method in class ch.epfl.lsr.apex.APEXProfile
 
apexMessageFactory(MessageMSG) - Static method in class ch.epfl.lsr.apex.APEXMessage
Accepts an incoming org.beepcore.beep.core.MessageMSG and parses this object in order to extract a complete APEXMessage.
application - Variable in class ch.epfl.lsr.apex.APEXManager
The application associated to this process
attach(APEXEndpointAddress, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Attaches as the endpoint address on this connection, say at the entity, and adds the status listener to the attach message.
attachAs(APEXEndpointAddress, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Allows an application to attach as the specified endpoint and to set a listener on the APEXStatus.
attachEndpoint(APEXAttachMessage, Object) - Method in class ch.epfl.lsr.apex.APEXRelayManager
is called when an attach element is received a status code (for the reply is returned)
authenticatedAs - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
A table of authenticated names of this entity on this connection

B

BEEPXML - Static variable in class ch.epfl.lsr.apex.APEXMessage
MIME identifier for BEEP+XML messages
BIND - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: bind (element)
BIND - Static variable in class ch.epfl.lsr.apex.APEXMessage
Message type: bind message
BOUND - Static variable in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
bind(String, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Binds as the administrative domain on this connection, say at the entity, and adds the status listener to the attach message.
bindRelay(APEXBindMessage, Object) - Method in class ch.epfl.lsr.apex.APEXRelayManager
is called when an bind element is received a status code (for the reply is returned)
bindRelay(String, int) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Adds the newly bound relay to the internal id file.
buildMimeBodyPart(String) - Static method in class ch.epfl.lsr.apex.APEXMessage
Builds a MIME body part of a textual String and adds the BEEP headers (beep-xml) for Content-Type

C

CHANNEL_CLOSING - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: closing channel
CHANNEL_ESTABLISHED - Static variable in class ch.epfl.lsr.apex.connection.APEXConnection
 
CHANNEL_ESTABLISHMENT - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: establishing channel
CID - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: cid: (value part of content attribute)
CODE - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: code (attribute of reply or error element)
CONNECTION_INITIATION - Static variable in class ch.epfl.lsr.apex.connection.APEXConnection
 
CONNECTION_LISTENER - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionListener
internal state: listening
CONTENT - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: content (attribute of data element)
CONTENTID - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: #Content (value of content attribute)
CONTENTTRANSFERENCODING - Static variable in class ch.epfl.lsr.apex.APEXMessage
Content-Transfer-Encoding identifier
CONTENTTYPE - Static variable in class ch.epfl.lsr.apex.APEXMessage
Content-Type identifier
ch.epfl.lsr.apex.connection - package ch.epfl.lsr.apex.connection
 
ch.epfl.lsr.apex.services - package ch.epfl.lsr.apex.services
 
channelEstablished() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Is called by the connection thread if an APEX channel is successfully established - allows to update the status of the connection.
channelEstablished() - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
channelEstablished() - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
channelID - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
A unique channel identifier for this connection
clearMessageFile() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Flushes the whole message file irrevocable.
clone() - Method in class ch.epfl.lsr.apex.APEXDataMessage
 
clone() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
 
closeChannel(Channel) - Method in class ch.epfl.lsr.apex.APEXProfile
 
code - Variable in class ch.epfl.lsr.apex.APEXTerminateMessage
 
connection - Variable in class ch.epfl.lsr.apex.connection.APEXReplyListener
 
connectionEstablished - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
indicates the state of the connection
connectionThread - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
The actual connection runs in a connection thread for this connection
content - Variable in class ch.epfl.lsr.apex.APEXTerminateMessage
 
currentConnections - Static variable in class ch.epfl.lsr.apex.connection.APEXConnection
A static table for all currently running connections.

D

DATA - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: data (element)
DATA - Static variable in class ch.epfl.lsr.apex.APEXMessage
Message type: data message
DATACONTENT - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: data-content (element)
DESTINATION - Static variable in class ch.epfl.lsr.apex.services.APEXReportService
APEX Report Service syntax: destination
debug(String) - Method in class ch.epfl.lsr.apex.APEXManager
Accepts and passes messages to the application's debug method.
debug(String) - Method in interface ch.epfl.lsr.apex.APEXProcess
In order to debug services and processes, a set of debug messages is sent to the process.
disconnected() - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Is called if a disconnection is noticed and initiates appropriate solutions (policies for relay and endpoint).
disconnected() - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Is called if a disconnection is noticed and initiates appropriate solutions (policies for relay).

E

EDGECONNECTION - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionListener
connection type: edge connection
EMPTY - Static variable in class ch.epfl.lsr.apex.APEXOption
content of the option: empty
ENC_7BIT - Static variable in class ch.epfl.lsr.apex.APEXMessage
Encoding type for 7 bit
ENC_8BIT - Static variable in class ch.epfl.lsr.apex.APEXMessage
Encoding type for 8 bit
ENC_BASE64 - Static variable in class ch.epfl.lsr.apex.APEXMessage
Encoding type for base 64
ENC_BINARY - Static variable in class ch.epfl.lsr.apex.APEXMessage
Encoding type for binary content
ENC_QUOTEDPRINTABLE - Static variable in class ch.epfl.lsr.apex.APEXMessage
Encoding type for quoted printable
ENC_UUENCODE - Static variable in class ch.epfl.lsr.apex.APEXMessage
Encoding type for UUEncode
ENDPOINT - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: endpoint (attribute)
ERROR - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: error (element)
ERROR - Static variable in class ch.epfl.lsr.apex.APEXMessage
Message type: error message
EXTERNAL - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: external (attribute of option element)
EXTERNAL - Static variable in class ch.epfl.lsr.apex.APEXOption
identifier type: external
endStatus() - Method in class ch.epfl.lsr.apex.APEXStatus
Can be called from the application to disable and terminate the status and release blocked threads.
endpoint - Variable in class ch.epfl.lsr.apex.APEXAttachMessage
The endpoint address to attach as
entity - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
The general entity name for this connection (relay or endpoint name)
equals(Object) - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
 
equals(Object) - Method in class ch.epfl.lsr.apex.APEXOption
 

F

FALSE - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: false (value of mustUnderstand attribute)
FILENAME - Static variable in class ch.epfl.lsr.apex.APEXMessage
Filename identifier
FINAL - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: final (value of targetHop attribute)
FINAL - Static variable in class ch.epfl.lsr.apex.APEXDataMessage
internal option identifier status

G

getAPEXDataMessage(HashSet) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns a new APEXDataMessage addressed to the specified set of recipient endpoint addresses.
getAPEXDataMessage(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns a new APEXDataMessage addressed to the specified recipient endpoint address.
getAPEXEdgeConnection(APEXManager, String, Channel, Object) - Static method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
APEXEdgeConnectionFACTORY Returns either a new APEXEdgeConnection or an existing, stored in the connection table.
getAPEXEdgeConnection(String) - Static method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
APEXEdgeConnectionFACTORY Returns either an existing APEXEdgeConnection stored in the connection table or null.
getAPEXEdgeConnection(APEXManager, String, int) - Static method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
APEXEdgeConnectionFACTORY Returns either a new APEXEdgeConnection or an existing stored in the connection table.
getAPEXMeshConnection(APEXManager, String, Channel, Object) - Static method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
APEXMeshConnectionFACTORY Returns either a new APEXMeshConnection or an existing, stored in the connection table.
getAPEXMeshConnection(String) - Static method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
APEXMeshConnectionFACTORY Returns either an existing APEXMeshConnection stored in the connection table or null.
getAPEXMeshConnection(APEXManager, APEXRoutingPoint) - Static method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
APEXEdgeConnectionFACTORY Returns either a new APEXEdgeConnection or an existing stored in the connection table.
getAllOptions() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns an array containing all options of this message.
getApplicableEndpoints() - Method in class ch.epfl.lsr.apex.APEXOption
Returns a set of applicable endpoints defined in processing of this option.
getApplication() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns the application (subaddress) of the endpoint address
getApplication() - Method in class ch.epfl.lsr.apex.APEXManager
Returns the application (APEXProcess) associated to this manager.
getAttachMessage(APEXEndpointAddress, int) - Static method in class ch.epfl.lsr.apex.APEXAttachMessage
Returns an attach message for the specified endpoint address and the transaction identifier in a static way.
getAttachedEndpoints() - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Returns a set of the attached endpoints.
getBindMessage(String, int) - Static method in class ch.epfl.lsr.apex.APEXBindMessage
Returns an bind message for the specified relay address and the transaction identifier in a static way.
getChannel() - Method in class ch.epfl.lsr.apex.connection.APEXConnectionThread
Returns the open(ed) channel for this thread.
getChannelID() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Returns the channel identifier associated to this connection.
getCode() - Method in class ch.epfl.lsr.apex.APEXReply
Returns the code of this option.
getCode() - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Returns the code attribute's value of this termination.
getConnectionForChannel(Channel) - Static method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Returns a APEXEdgeConnection or null for a given org.beepcore.beep.core.Channel.
getConnectionForChannel(Channel) - Static method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Returns a APEXMeshConnection or null for a given org.beepcore.beep.core.Channel.
getContent() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the content table of this message.
getContent(Object) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the content in the content table associated to the key.
getContent() - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Returns the content of this termination.
getContentID() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the content URI for the starting MIME part
getContentType() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the content type of this message.
getDataStream() - Method in class ch.epfl.lsr.apex.APEXDataMessage
 
getDataStream() - Method in class ch.epfl.lsr.apex.APEXMessage
Returns the whole message as an OutputDataStream which is accepted by the Channel.sendMessage method to send a message over the channel.
getDomain() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns the domain of the endpoint address
getEndpoint() - Method in class ch.epfl.lsr.apex.APEXAttachMessage
Returns the endpoint address of this attach message.
getEndpointAddress() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns to full endpoint address as a String
getEndpointAddress(String) - Static method in class ch.epfl.lsr.apex.APEXEndpointAddress
Static method to get an 'APEXEndpointAddress' from a sample String.
getFromTable(Object) - Method in class ch.epfl.lsr.apex.APEXManager
Returns an object associated to the key or null if the key is not mapped in the message hash table.
getFromTableAndLock(Object, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Offers the possibility to any class (mainly static classes to read arbitrary content identified by a unique key and lock while reading and updating an element for a special group.
getGateway() - Method in class ch.epfl.lsr.apex.APEXRoutingPoint
Returns the gateway of this routing point.
getGeneralEndpointAddress() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns to general endpoint address (without subaddress) as a String.
getIdentifier() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the identifier ("name") attribute's value for this option.
getLocal() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns the local part of the endpoint address
getMainAdministrativeDomain() - Method in class ch.epfl.lsr.apex.APEXRelayManager
Returns the main administrative domain of this relay
getMessage() - Method in class ch.epfl.lsr.apex.APEXMessage
Returns the org.beepcore.beep.core.MessageMSG associated to this message (used internally for processing).
getMessage() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Blocking method which is called by the connection thread in order to get a new message to send.
getMimeContent() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the MIME body part specified by the content ID.
getMimeMessage(MimeMultipart) - Static method in class ch.epfl.lsr.apex.APEXMessage
Converts a MIME Multipart in a fully defined MIME message.
getMimeMultipart(MimeBodyPart, MimeBodyPart) - Static method in class ch.epfl.lsr.apex.APEXMessage
Relates (multipart/related) two MIME body parts in one MIME Multipart.
getMustUnderstand() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the mustUnderstand attribute's value for this option.
getObject() - Method in class ch.epfl.lsr.apex.APEXStatus
Returns the object associated to this status
getOptionNode() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the whole option as a Node.
getOptions() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns all options of this message.
getOptions() - Method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Returns a table of all options this service is willing to handle.
getOptions() - Method in class ch.epfl.lsr.apex.services.APEXReportService
 
getOptions() - Method in class ch.epfl.lsr.apex.services.APEXService
Offers a Hashtable containing all identifiers of options this service is able to handle.
getOriginator() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the originator endpoint address of this message.
getPort() - Method in class ch.epfl.lsr.apex.APEXRoutingPoint
Returns the listening mesh port of the gateway
getRealDomain() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns the domain of the endpoint address
getReason(int) - Static method in class ch.epfl.lsr.apex.APEXReply
Returns a textual (standard) reason for a given three-digit code.
getReason() - Method in class ch.epfl.lsr.apex.APEXReply
Returns the reason of this option.
getRecipients() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns a set of recpient endpoint addresses of this message.
getRecipientsAddresses() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns an array of recpient endpoint addresses of this message.
getRelay() - Method in class ch.epfl.lsr.apex.APEXBindMessage
Returns the relay address of this bind message.
getReliableBroadcastOption(APEXEndpointManager, APEXEndpointAddress, APEXEndpointAddress[]) - Static method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Returns an 'APEXOption' formed for 'Reliable Broadcast'.
getStatus() - Method in class ch.epfl.lsr.apex.APEXMessage
Returns the status listener for this message.
getStatusCode() - Method in class ch.epfl.lsr.apex.APEXStatus
Returns the status code of this status or blocks if the status code is not known yet.
getStatusReason() - Method in class ch.epfl.lsr.apex.APEXStatus
Returns the textual reason of this status or blocks if the status code is not known yet.
getStatusRequestOption(int, String, String) - Static method in class ch.epfl.lsr.apex.services.APEXReportService
Returns an APEXOption for the specified arguments.
getStatusRequestOption(int, String) - Static method in class ch.epfl.lsr.apex.services.APEXReportService
Returns an APEXOption for the specified arguments and mustUnderstand='false'.
getStatusRequestOption(int) - Static method in class ch.epfl.lsr.apex.services.APEXReportService
Returns an APEXOption for the specified transID with targetHop='final' and mustUnderstan='false'.
getStatusRequestOption(APEXEndpointManager, APEXEndpointAddress, String, String) - Static method in class ch.epfl.lsr.apex.services.APEXReportService
Returns an APEXOption for the specified arguments with automatically obtained transID.
getStatusRequestOption(APEXEndpointManager, APEXEndpointAddress, String) - Static method in class ch.epfl.lsr.apex.services.APEXReportService
Returns an APEXOption for the specified arguments with automatically obtained transID and mustUnderstand='false'.
getStatusRequestOption(APEXEndpointManager, APEXEndpointAddress) - Static method in class ch.epfl.lsr.apex.services.APEXReportService
Returns an APEXOption for the specified arguments with automatically obtained transID, targetHop='final', and mustUnderstan='false'.
getTargetHop() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the targetHop attribute's value for this option.
getTransID() - Method in class ch.epfl.lsr.apex.APEXAttachMessage
Returns the transaction identifier of this attach message.
getTransID() - Method in class ch.epfl.lsr.apex.APEXBindMessage
Returns the transaction identifier of this bind message.
getTransID() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the transaction identifier of this option.
getTransID() - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Returns the transaction identifier of this termination.
getTransaction(Object, int) - Method in class ch.epfl.lsr.apex.APEXManager
Returns the operation identifier for a specified transaction identifier of an associated channel.
getURI() - Static method in class ch.epfl.lsr.apex.APEXProfile
Returns the URI of the APEX profile
getUniqueTransID(APEXStatus, APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Returns a unique transaction identifier for the specified endpoint address.
getUniqueTransID() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Returns a unique transaction identifier for this connection.
getXMLAttachMessage(APEXEndpointAddress, int) - Static method in class ch.epfl.lsr.apex.APEXAttachMessage
Returns an XML attach message for the specified endpoint address and the transaction identifier in a static way.
getXMLBindMessage(String, int) - Static method in class ch.epfl.lsr.apex.APEXBindMessage
Returns an XML bind message for the specified relay address and the transaction identifier in a static way.
getXMLContent() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns the XML content of an XML data message (otherwise null)
getXMLContent() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the XML Content of the option.
getXMLMessage() - Method in class ch.epfl.lsr.apex.APEXAttachMessage
Returns an XML attach message for the specified endpoint address and the transaction identifier.
getXMLMessage() - Method in class ch.epfl.lsr.apex.APEXBindMessage
Returns an XML bind message for the specified endpoint address and the transaction identifier.
getXMLMessage(HashSet) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns an XML message of this data operation for the specified set of recipient endpoint addresses.
getXMLMessage() - Method in class ch.epfl.lsr.apex.APEXDataMessage
 
getXMLMessage() - Method in class ch.epfl.lsr.apex.APEXMessage
Returns an XML message of this operation.
getXMLMessage(int, String) - Static method in class ch.epfl.lsr.apex.APEXReply
Returns an ok or error element according the code (adds the specified reason in erro elements).
getXMLMessage(int) - Static method in class ch.epfl.lsr.apex.APEXReply
Returns an ok or error element according the code.
getXMLMessage() - Method in class ch.epfl.lsr.apex.APEXReply
Returns an XML String of this reply.
getXMLMessage() - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
 
getXMLOption() - Method in class ch.epfl.lsr.apex.APEXOption
Returns the option as a String.
getXMLOption(String) - Method in class ch.epfl.lsr.apex.APEXOption
Returns a String containing the fully created XML option.
getXMLOriginator() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns an XML originator element according RFC3380.
getXMLOriginator(String) - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns an XML originator element according RFC3380 using a given indent, e.g. new String(" ") for two spaces indent.
getXMLRecipient() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns an XML recipient element according RFC3380.
getXMLRecipient(String) - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
Returns an XML recipient element according RFC3380 using a given indent, e.g. new String(" ") for two spaces indent.
getXMLReply() - Method in class ch.epfl.lsr.apex.APEXReply
Returns an explicitly a reply element of this reply (used in services, so no ok or error element is generated).
getXmlLang() - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Returns the xml:lang attribute's value of this termination.

H

handleDiscarded(APEXOption, APEXMessage, int, String, String) - Method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
This method is not used for reliable broadcast service
handleDiscarded(APEXOption, APEXMessage, int, String, String) - Method in class ch.epfl.lsr.apex.services.APEXReportService
Updates the status in the hashtable for a discarded message.
handleDiscarded(APEXOption, APEXMessage, int, String, String) - Method in class ch.epfl.lsr.apex.services.APEXService
Is called by the 'APEXRelayManager' if a message is discarded since the relay wasn't able / gave up establishing a connection to a destination after serveral attempts or the message hasn't been accepted.
handleIncomingMessage(APEXMessage, Object) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
When a message has been received on a connection it calls its manager's ' handleIncomingMessage' method.
handleIncomingMessage(APEXMessage, Object) - Method in class ch.epfl.lsr.apex.APEXManager
When a message has been received on a connection it calls its manager's ' handleIncomingMessage' method.
handleIncomingMessage(APEXMessage, Object) - Method in class ch.epfl.lsr.apex.APEXRelayManager
When a message has been received on a connection it calls its manager's ' handleIncomingMessage' method.
handleMessage(APEXMessage) - Method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Handles an incoming message destined explicitly to this service.
handleMessage(APEXMessage) - Method in class ch.epfl.lsr.apex.services.APEXReportService
 
handleMessage(APEXMessage) - Method in class ch.epfl.lsr.apex.services.APEXService
Handles an incoming message destined explicitly to this service.
handleOption(APEXOption, APEXMessage, String) - Method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Handles an option destinated to this service.
handleOption(APEXOption, APEXMessage, String) - Method in class ch.epfl.lsr.apex.services.APEXReportService
Handles the statusRequest option for the first time: in a RELAY: adds all status objects for alls applicable endpoints in a hashtable in an ENDPOINT: replies with a statusResponse message
handleOption(APEXOption, APEXMessage, String) - Method in class ch.epfl.lsr.apex.services.APEXService
Handles an option is found on an incoming message (handled the first time before even sending the message).
handleReliableBroadcastOption(APEXOption, APEXDataMessage, String) - Method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Handles a 'reliable broadcast' option and sends appropriate messages to the relay.
handleReply(Message, APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Handles a received reply message to a correspondent (sent) APEX message (attach, bind, terminate, or data).
handleReply(Message, APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
handleReply(Message, APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
handleSent(APEXOption, APEXMessage, APEXReply, String) - Method in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
This method is not used for reliable broadcast service
handleSent(APEXOption, APEXMessage, APEXReply, String) - Method in class ch.epfl.lsr.apex.services.APEXReportService
Updates the status in the hashtable for a sent message.
handleSent(APEXOption, APEXMessage, APEXReply, String) - Method in class ch.epfl.lsr.apex.services.APEXService
Is called by the 'APEXRelayManager' if a message is sent to another entity, say an or an message is returned - but at least, the message HAS BEEN sent!
hasOriginator() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns true if an originator is set, otherwise false.
hasRecipients() - Method in class ch.epfl.lsr.apex.APEXDataMessage
Returns true if at least one recipient is set, otherwise false.
hashCode() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
 
hashCode() - Method in class ch.epfl.lsr.apex.APEXOption
 
hashset2AddressTable(HashSet) - Static method in class ch.epfl.lsr.apex.APEXMessage
Converts a HashSet containing APEXEndpointAddresses into an array.

I

IDENTITY - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: identity (attribute)
IDLE - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionListener
internal state: idle
IDLE - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: idle
INIT - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: initiation
INTERNAL - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: internal (attribute of option element)
INTERNAL - Static variable in class ch.epfl.lsr.apex.APEXOption
identifier type: internal
init(String, ProfileConfiguration) - Method in class ch.epfl.lsr.apex.APEXProfile
 
initListener() - Method in class ch.epfl.lsr.apex.connection.APEXConnectionListener
Initiates a listener with the APEXProfile
internalIDs - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
A table of internal identifiers to map back attached endpoints or bound relays to correspondent transaction identifiers
isAuthenticated(APEXDataMessage) - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Returns a boolean which depends if the message is authentcated to be sent or not to the hop (either attached or bound).
isAuthenticated(APEXDataMessage) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
isAuthenticated(APEXDataMessage) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 

K

knownChannels - Static variable in class ch.epfl.lsr.apex.connection.APEXConnection
A static table for already known channels to link different attaching endpoints or relays (for a relay) and different domains (for an endpoint) on the same connection.

L

LOCALIZE - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: localize (attribute of option element)
LOCALIZE_IDEFAULT - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: i-default (value of localize attribute)
lockedIdentifiers - Variable in class ch.epfl.lsr.apex.APEXManager
Set of identifiers (b)locked for in the semaphore when getting an element of the messageTable.

M

MESHCONNECTION - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionListener
connection type: mesh connection
MESSAGE_TRANSFER - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: transfering fetched message
MIMECONTENT - Static variable in class ch.epfl.lsr.apex.APEXMessage
Content Type of this message: MIME Multipart structured content
MIMECONTENT_HASHKEY - Static variable in class ch.epfl.lsr.apex.APEXMessage
Table key for MIME content
MUSTUNDERSTAND - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: mustUnderstand (attribute of option element)
MimeBodyPartToString(MimeBodyPart) - Static method in class ch.epfl.lsr.apex.APEXMessage
Converts a MimeBodyPart to a String.
manager - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
The associated manager for call-backs
manager - Variable in class ch.epfl.lsr.apex.services.APEXService
The associated manager
message - Variable in class ch.epfl.lsr.apex.APEXMessage
the received org.beepcore.beep.core.MessageMSG message
message - Variable in class ch.epfl.lsr.apex.connection.APEXReplyListener
 
messageDiscarded(APEXDataMessage, int, String) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
This mesthod is called when a connection wasn't able to send an 'APEXDataMessage', say a (where x !
messageDiscarded(APEXDataMessage, int, String) - Method in class ch.epfl.lsr.apex.APEXManager
This mesthod is called when a connection wasn't able to send an 'APEXMessage', say a (where x !
messageDiscarded(APEXDataMessage, int, String) - Method in class ch.epfl.lsr.apex.APEXRelayManager
This mesthod is called when a connection wasn't able to send an 'APEXMessage', say a (where x !
messageFile - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
A message file (channel) FIFO
messageNotSent(APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Is called by the connection thread if the session is down an the message has not been sent.
messageNotSent(APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
messageNotSent(APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
messageSent(APEXDataMessage, APEXReply) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
This mesthod is called when an 'APEXDataMessage' is successfully sent on a connection, say an element has been received.
messageSent(APEXDataMessage, APEXReply) - Method in class ch.epfl.lsr.apex.APEXManager
This mesthod is called when an 'APEXMessage' is successfully sent on a connection, say an element has been received.
messageSent(APEXDataMessage, APEXReply) - Method in class ch.epfl.lsr.apex.APEXRelayManager
This mesthod is called when an 'APEXDataMessage' is successfully sent on a connection, say an element has been received.
messageTable - Variable in class ch.epfl.lsr.apex.APEXManager
Hash table for multiple use (e.g. storage for static classes)

N

NAME - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: Name (attribute of data-content element)
NOTIFICATION_ATTACH - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on an attachment.
NOTIFICATION_BIND - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on an binding of an other relay.
NOTIFICATION_BOUND - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on an binding of this relay.
NOTIFICATION_INIT - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on initialization.
NOTIFICATION_MESSAGE_DISCARDED - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on a failure in sending a data message.
NOTIFICATION_MESSAGE_IN - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on a new incoming message.
NOTIFICATION_MESSAGE_SENT - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on a success in sending a data message.
NOTIFICATION_REMOVEATTACHMENT - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on an endnding of an attachment due to a disconnection.
NOTIFICATION_TERMINATE - Static variable in class ch.epfl.lsr.apex.APEX
Internal notification on an termination.
NOTPROCESSING - Static variable in class ch.epfl.lsr.apex.APEXDataMessage
internal option identifier status
newAttachmentOrBinding() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Is called on a new attachment or binding in order to release blocked connection threads in the getMessage table.
noConnectionEstablished() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Is called by the connection thread if no connection is established and initiates correspondent actions (according the connection type and the underlying manager).
noConnectionEstablished() - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
noConnectionEstablished() - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
notification(int, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Accepts and passes messages to the application's notification method.
notification(int, Object) - Method in interface ch.epfl.lsr.apex.APEXProcess
An process needs to redefine in order to maintain and react on different event of the APEXManager.

O

OK - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: ok (element)
OK - Static variable in class ch.epfl.lsr.apex.APEXMessage
Message type: ok message
OPTION - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: option (element)
ORDER - Static variable in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Reliable Broadcast service syntax: order
ORIGINATOR - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: originator (element)

P

PASSIV - Static variable in class ch.epfl.lsr.apex.APEXDataMessage
internal option identifier status
PROCESSTYPE_ENDPOINT - Static variable in class ch.epfl.lsr.apex.APEXManager
Endpoint process type
PROCESSTYPE_RELAY - Static variable in class ch.epfl.lsr.apex.APEXManager
Relay process type
parseMessage(Document) - Static method in class ch.epfl.lsr.apex.APEXMessageParser
Extracts and returnes a parsed APEXMessage or throws an appropriate Exception on failure.
parsePort(String) - Method in class ch.epfl.lsr.apex.APEXManager
Parses a String port number, e.g. from an XML attribute and returns the port number as an int if it is valid (between 1 and 65535).
parseReply(InputStream) - Static method in class ch.epfl.lsr.apex.APEXReply
Parses and builds an APEX reply from an input stream.
parseServiceConfigFile(APEXManager, String) - Static method in class ch.epfl.lsr.apex.APEXProfile
Parses the service configuration file an creates ab array of Hashtables (2 elements) to store the service handlers and the service priorities.
pollingIntervall - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
The polling interval for connection control: 10 sec
port - Variable in class ch.epfl.lsr.apex.APEXManager
Default port number to connect to (edge and mesh respectively)
profile - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
The profile associated to this connection
putToTable(Object, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Offers the possibility to any class (mainly static classes to store arbitrary content identified by a unique key.
putToTableAndUnlock(Object, Object, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Puts a value to the message tabe and afterwards unlocks the table.

R

RECIPIENT - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: recipient (element)
RELATED - Static variable in class ch.epfl.lsr.apex.APEXMessage
MIME identifier for multipart/related
RELAY - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: relay (attribute of attach element)
RELIABLEBROADCAST - Static variable in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
External URI for a reliable broadcast option: http://lsrwww.epfl.ch/APEX/reliableBroadcast
REPLY - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: reply (element)
REPLY_LISTENER - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: fetching reply (starting reply listener)
receiveData(APEXDataMessage) - Method in interface ch.epfl.lsr.apex.APEXEndpointProcess
Is called if an APEXDataMessage is incident in the APEXEndpointManager for this process.
receiveMSG(MessageMSG) - Method in class ch.epfl.lsr.apex.APEXProfile
Is called on incoming messages: parses the MessageMSG to an APEXMessage calls the manager's handleIncomingMessage method On a processing error, a error reply APEX.STATUS_GENERAL_SYNTAX_ERROR is sent to the originator of the incoming message.
receivedStatus(APEXStatus) - Method in class ch.epfl.lsr.apex.APEXStatus
Can be redefined in order to call methods within the application on an event.
relay - Variable in class ch.epfl.lsr.apex.APEXBindMessage
A relay domain address
removeAllTransactions(Object) - Method in class ch.epfl.lsr.apex.APEXManager
Removes completely the transaction table for the associated channel.
removeAttachedAs(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Updates the authenticatedAs table if an the manager is not attached (any more) as the specified endpoint address.
removeAttachment(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Removes an attachment of the register and sends a notification to the application Internal use only!
removeAttachments(HashSet) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Removes a set of attachments of the register and sends a notification to the application Internal use only!
removeBoundAs(String) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Updates the authenticatedAs table if an the manager is not bound (any more) as the specified administrative domain.
removeEdgeConnection(String) - Static method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Removes the edge connection entry in the connection table for the specified entity name.
removeFromTable(Object) - Method in class ch.epfl.lsr.apex.APEXManager
Removes a key and its associated content from the message hash table.
removeMeshConnection(String) - Static method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Removes the edge connection entry in the connection table for the specified entity name.
removeOptionForProcessing(APEXOption) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Converts an option to a not processing option (not processed in hops).
removeOptionPermanently(APEXOption) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Removes an option from this message.
removeRecipient(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Removes a recipient endpoint address from this message.
removeTransaction(Object, int) - Method in class ch.epfl.lsr.apex.APEXManager
Removes and returns the operation identifier for a specified transaction identifier of an associated channel.
reply - Variable in class ch.epfl.lsr.apex.connection.APEXReplyListener
 
requestedChannelNotStarted() - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Is called by the connection thread if no APEX channel is established and initiates correspondent actions (according the connection type and the underlying manager).
requestedChannelNotStarted() - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
requestedChannelNotStarted() - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
run() - Method in class ch.epfl.lsr.apex.connection.APEXConnectionListener
State machine for the connection thread
run() - Method in class ch.epfl.lsr.apex.connection.APEXConnectionThread
The state machine of the connection thread: If a channel is not yet opened: establish session open channel Repeating: wait for a new message to send send this message start a reply listener for the reply reference To close a connection: close channel close connection
run() - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
 
run() - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
 
run() - Method in class ch.epfl.lsr.apex.connection.APEXReplyListener
 
running - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
indicates the state thread

S

SERVICEADDRESS - Static variable in class ch.epfl.lsr.apex.services.APEXReportService
Service address: apex=report
SERVICENAME - Static variable in class ch.epfl.lsr.apex.services.APEXReliableBroadcastService
Service name: APEXReliableBroadcast
SERVICENAME - Static variable in class ch.epfl.lsr.apex.services.APEXReportService
Service name: APEXReportService
SERVICENAME - Static variable in class ch.epfl.lsr.apex.services.APEXService
The Service name
SERVICEPRIORITIES - Static variable in class ch.epfl.lsr.apex.APEXManager
Service properties identifier in service array
SERVICETABLE - Static variable in class ch.epfl.lsr.apex.APEXManager
Service table identifier in service array
SESSION_CLOSING - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: closing session
SESSION_ESTABLISHMENT - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: establishing session
START - Static variable in class ch.epfl.lsr.apex.APEXMessage
start identifier
START_HASHKEY - Static variable in class ch.epfl.lsr.apex.APEXMessage
Table key for start identifier
STATUSREQUEST - Static variable in class ch.epfl.lsr.apex.services.APEXReportService
APEX Report Service syntax: statusRequest
STATUSRESPONSE - Static variable in class ch.epfl.lsr.apex.services.APEXReportService
APEX Report Service syntax: statusResponse
STATUS_ACTION_ABORDED - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 451
STATUS_ACTION_NOT_AUTHORIZED - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 537
STATUS_ACTION_NOT_TAKEN - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 450
STATUS_AUTHENTICATION_FAILURE - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 535
STATUS_AUTHENTICATION_MECHANISM_INSUFFICENT - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 534
STATUS_AUTHENTICATION_REQUIRED - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 530
STATUS_AUTHENTICATION_REQUIRES_ENCRYPTION - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 538
STATUS_GENERAL_SYNTAX_ERROR - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 500
STATUS_PARAMETER_INVALID - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 553
STATUS_PARAMETER_NOT_IMPLEMENTED - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 504
STATUS_REQUESTED_ACTION_NOT_TAKEN - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 550
STATUS_SERVICE_NOT_AVAILABLE - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 421
STATUS_SYNTAX_PARAMETER_ERROR - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 501
STATUS_TEMPORARY_AUTHENTICATION_FAILURE - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 454
STATUS_TRANSACTION_FAILED - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 554
STATUS_TRANSACTION_IN_PROGRESS - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 555
STATUS_TRANSACTION_SUCCESSFUL - Static variable in class ch.epfl.lsr.apex.APEX
APEX three-digit reply code: 250
STRINGCONTENT - Static variable in class ch.epfl.lsr.apex.APEXMessage
Content Type of this message: String content (only for instantiation)
STRINGCONTENT - Static variable in class ch.epfl.lsr.apex.APEXOption
content of the option: string content (on instantiation)
STRINGCONTENT_HASHKEY - Static variable in class ch.epfl.lsr.apex.APEXMessage
Table key for String content
sendAPEXDataMessage(APEXDataMessage) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Sends an APEXDataMessage to the recipients specified within the object.
sendAPEXDataMessage(APEXDataMessage) - Method in class ch.epfl.lsr.apex.APEXManager
Sends an APEXDataMessage to the recipients specified within the object.
sendAPEXDataMessage(APEXDataMessage) - Method in class ch.epfl.lsr.apex.APEXRelayManager
Sends an APEXDataMessage to the recipients specified within the object.
sendMessage(APEXEndpointAddress, APEXEndpointAddress, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Sends a data message to the specified recipient endpoint address containing the specified textual / XML content.
sendMessage(APEXEndpointAddress, HashSet, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Sends a data message to the specified recipient endpoint addresses containing the specified textual / XML content.
sendMessage(APEXEndpointAddress, APEXEndpointAddress, byte[], String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Sends a data message (MIME Multipart) to the specified recipient endpoint address containing the specified byte content.
sendMessage(APEXEndpointAddress, HashSet, byte[], String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Sends a data message (MIME Multipart) to the specified recipient endpoint addresses containing the specified byte content.
sendMessage(APEXDataMessage, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Sends an APEXDataMessage to the recipients specified within the object.
sendMessage(APEXDataMessage, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Sends a message on this connection.
sendMessage(APEXMessage) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Sends a message on this connection.
sendReply() - Method in class ch.epfl.lsr.apex.APEXReply
Sends the reply to the associated message originator.
sendReply(APEXMessage, int) - Static method in class ch.epfl.lsr.apex.APEXReply
Sends a reply with the specified code to the specified message originator.
sendReply(APEXMessage, int, String) - Static method in class ch.epfl.lsr.apex.APEXReply
Sends a reply with the specified code and reaseon to the specified message originator.
sendReply(MessageMSG, int) - Static method in class ch.epfl.lsr.apex.APEXReply
Sends a reply with the specified code to the specified org.beepcore.beep.core.MessageMSG originator.
sendReply(MessageMSG, int, String) - Static method in class ch.epfl.lsr.apex.APEXReply
Sends a reply with the specified code to the specified org.beepcore.beep.core.MessageMSG originator.
services - Variable in class ch.epfl.lsr.apex.APEXManager
Service array containing on SERVICETABLE a table of all services mapped by their option identifer and on SERVICEPRIORITIES a vector of the priority of their processing.
setActionListener(ActionListener) - Method in class ch.epfl.lsr.apex.APEXStatus
Sets an ActionListener on this status which is activated is a status update is performes.
setApplicableEndpoints(HashSet) - Method in class ch.epfl.lsr.apex.APEXOption
Adds a set of applicable endpoints defined in processing of this option.
setApplication(String) - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
If an endpoint formed by an endpoint name and a subaddress should be created, either the direct way aea = new APEXEndpointAddress("fred/appl=wb@example.com"); or aea = new APEXEndpointAddress("fred@example.com"); aea.setApplication("appl=wb"); can be used, e.g. if later the application should be set.
setAttachedAs(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Registeres an attached endpoint in the endpoint manager and sends a notification to the application.
setCode(int) - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Sets the (applicational) code attribute's value.
setContent(String) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the textual content for this option.
setContent(String) - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Sets the XML content.
setContentID(String) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets the content URI for the starting MIME part.
setContentType(int) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets the content type of this message (@see APEXMessage).
setFinalOption(APEXOption) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Converts an option to a final option (not processed in intermediate hops).
setIdentifier(String) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the identifier ("name") for this option.
setLocalize(String) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the localize attribute's value for this option.
setManager(APEXManager) - Method in class ch.epfl.lsr.apex.services.APEXService
Updates the manager of this service.
setMessage(MessageMSG) - Method in class ch.epfl.lsr.apex.APEXMessage
Adds a org.beepcore.beep.core.MessageMSG message to this message (used internally for processing).
setMimeContent(MimeMultipart) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets MIME Multipart content for this message
setMustUnderstand(String) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the mustUnderstand attribute's value for this option.
setObject(Object) - Method in class ch.epfl.lsr.apex.APEXStatus
Sets an object associated to this status
setOptionNode(Node) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the content (option node) internally for this option.
setOriginator(APEXEndpointAddress) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets the originator of the message.
setPassiveOption(APEXOption) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Converts an option to a passive option (not sent to next hop).
setRecipients(HashSet) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets the recipients of the message.
setStatus(APEXStatus) - Method in class ch.epfl.lsr.apex.APEXMessage
Sets a status listener for this message.
setStatus(int) - Method in class ch.epfl.lsr.apex.APEXStatus
Is called internally if the status for this status is known.
setStatus(int, String) - Method in class ch.epfl.lsr.apex.APEXStatus
Is called internally if the status for this status is known.
setStringContent(String) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets string content for this message
setTargetHop(String) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the targetHop attribute's value for this option.
setTask(int) - Method in class ch.epfl.lsr.apex.connection.APEXConnectionThread
Sets the state of the thread
setTransID(int) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the transaction identifier for this option.
setType(int) - Method in class ch.epfl.lsr.apex.APEXOption
Sets the type of this option.
setXMLContent(NodeList) - Method in class ch.epfl.lsr.apex.APEXDataMessage
Sets XML content for this message
setXMLLang(String) - Method in class ch.epfl.lsr.apex.APEXTerminateMessage
Sets the xml:lang attribute's value.
sortOptions(APEXOption[]) - Method in class ch.epfl.lsr.apex.APEXManager
Returns an array of sorted 'APEXOptions' as they are specified in the configuration file for the services by the attribute priority.
startChannel(Channel, String, String) - Method in class ch.epfl.lsr.apex.APEXProfile
 
status - Variable in class ch.epfl.lsr.apex.APEXMessage
an optional APEX status associated to this message
stopRun() - Method in class ch.epfl.lsr.apex.connection.APEXConnectionThread
Stopps the connection thread on the next turn.

T

TARGETHOP - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: targetHop (attribute of option element)
TERMINATE - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: terminate (element)
TERMINATE - Static variable in class ch.epfl.lsr.apex.APEXMessage
Message type: terminate message
THIS - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: this (value of targetHop attribute)
TRANSID - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: transID (attribute of bind element)
TRUE - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: true (value of mustUnderstand attribute)
TYPE - Static variable in class ch.epfl.lsr.apex.APEXMessage
type identifier
task - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
the state of the connection
terminate(APEXEndpointAddress, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Terminates an attachment as the specified endpoint address or throws an APEXException if the manager is not attached as the specified endpoint
terminate(APEXEndpointAddress, int, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Terminates an attachment as the specified endpoint address or throws an APEXException if the manager is not attached as the specified endpoint
terminate(APEXEndpointAddress, int, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Terminates an attachment as the specified endpoint address or throws an APEXException if the manager is not attached as the specified endpoint
terminate(APEXEndpointAddress, int, String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Terminates an attachment as the specified endpoint address or throws an APEXException if the manager is not attached as the specified endpoint
terminate(APEXEndpointAddress, int, int, String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Terminates an attachment as the specified endpoint address or throws an APEXException if the manager is not attached as the specified endpoint
terminate(APEXTerminateMessage, Object) - Method in class ch.epfl.lsr.apex.APEXEndpointManager
Is called when an terminate element is received a status code (for the reply is returned).
terminate(APEXTerminateMessage, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Is called when an terminate element is received a status code (for the reply is returned).
terminate(APEXTerminateMessage, Object) - Method in class ch.epfl.lsr.apex.APEXRelayManager
Is called when an terminate element is received a status code (for the reply is returned).
terminate(APEXEndpointAddress, int, String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Terminates the endpoint address attachment on this connection, say at the (endpoint) / this (relay) entity, adds the status listener to the terminate message, and removes the endpoint address of the authenticatedAs table.
terminate(int, int, String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXEdgeConnection
Terminates a transaction on this connection, say at the entity, and adds the status listener to the terminate message.
terminate(String, int, String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Terminates the relay binding on this connection, say at this / this entity, adds the status listener to the terminate message, and removes the endpoint address of the authenticatedAs table.
terminate(int, int, String, String, APEXStatus) - Method in class ch.epfl.lsr.apex.connection.APEXMeshConnection
Terminates a transaction on this connection, say at the entity, and adds the status listener to the terminate message.
toString() - Method in class ch.epfl.lsr.apex.APEXEndpointAddress
 
toString() - Method in class ch.epfl.lsr.apex.APEXMessage
 
toString() - Method in class ch.epfl.lsr.apex.APEXOption
 
toString() - Method in class ch.epfl.lsr.apex.APEXReply
 
toString() - Method in class ch.epfl.lsr.apex.APEXRoutingPoint
 
transID - Variable in class ch.epfl.lsr.apex.APEXAttachMessage
A transaction identifier for this transaction
transID - Variable in class ch.epfl.lsr.apex.APEXBindMessage
A transaction identifier for this transaction
transID - Variable in class ch.epfl.lsr.apex.APEXTerminateMessage
 
transID - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
The transaction identifier counter for this connection
transactionTable - Variable in class ch.epfl.lsr.apex.APEXManager
Table containing all sets of transactions, mapped by the channelID
translateToRealAddress(String) - Static method in class ch.epfl.lsr.apex.APEXEndpointAddress
Translates a domain address to a real Internet addressed, either a domain name to be resolved or a domain literal (e.g. [10.1.1.1]) to an IP address.
trialNb - Variable in class ch.epfl.lsr.apex.connection.APEXConnection
Attempt counter on reconnection

U

URI - Static variable in class ch.epfl.lsr.apex.APEXProfile
Profile URI of APEX: http://iana.org/beep/APEX
unlockTable(Object, Object) - Method in class ch.epfl.lsr.apex.APEXManager
Unlocks the message table for the specified key and the identifier.
updateTransID(int) - Method in class ch.epfl.lsr.apex.connection.APEXConnection
Updates the internal transID counter if the opposite hop used a new transaction identifier.

V

validatePort(int) - Method in class ch.epfl.lsr.apex.APEXManager
Validates a given port number (between 1 and 65535).

W

WAIT_FOR_MESSAGES - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: waiting for messages
WAIT_FOR_TASK - Static variable in class ch.epfl.lsr.apex.connection.APEXConnectionThread
internal state: waiting for a new task

X

XMLCONTENT - Static variable in class ch.epfl.lsr.apex.APEXMessage
Content Type of this message: XML content
XMLCONTENT - Static variable in class ch.epfl.lsr.apex.APEXOption
content of the option: xml content
XMLCONTENT_HASHKEY - Static variable in class ch.epfl.lsr.apex.APEXMessage
Table key for XML content
XMLLANG - Static variable in class ch.epfl.lsr.apex.APEX
APEX syntax: xml:lang (attribute of option element)
xmlLang - Variable in class ch.epfl.lsr.apex.APEXTerminateMessage
 

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