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

A

addCommandHandler(IpCommandHandler) - Method in class org.iperg.part.core.IpObject
Add a handler that will be invoked to handle commands executed via exec.
addDebugHandler(IpDebugHandler) - Static method in class org.iperg.part.core.IpSystem
Add a debug handler.
addEventHandler(IpEventHandler) - Static method in class org.iperg.part.core.IpSystem
Add an event handler that will be notified about all events that are passed to the local process.
addProperty(String, String, String) - Method in class org.iperg.part.core.IpObject
Create and initialize a new object property.
addProperty(String, String) - Method in class org.iperg.part.core.IpObjectPattern
Add a property requirement.
addProperty(String, String, String) - Method in class org.iperg.part.core.IpObjectPattern
Add a property requirement.
addPropertyExists(String) - Method in class org.iperg.part.core.IpObjectPattern
Add a property requirement.
addPropertyExists(String, String) - Method in class org.iperg.part.core.IpObjectPattern
Add a property requirement.
addPropertyViaFloat(String, String, float) - Method in class org.iperg.part.core.IpObject
Add a new object property and set its value using a float.
addPropertyViaInt(String, String, int) - Method in class org.iperg.part.core.IpObject
Add a new property to the object and set its value using an integer.
addTickEventHandler(IpEventHandler) - Static method in class org.iperg.part.core.IpSystem
Add an event handler that will be notified about tick events that are generated by the local process.
available() - Method in interface org.iperg.part.core.IpInputStream
Returns the number of bytes that can be read from this input stream.
available() - Method in class org.iperg.part.core.IpIoStream
Returns the number of bytes that can be read from this input stream.

B

broadcast() - Method in class org.iperg.part.core.IpNetworkEvent
Send the event to every process that can be reached from the local process.
broadcast(IpNetworkEvent) - Static method in class org.iperg.part.core.IpSystem
Broadcast an event to every process that can be reached from the local process.
BROKEN - Static variable in class org.iperg.part.core.IpConnection
A connection mode that means that the connection does not work properly for some reason, for instance due to a network error or the remote process having crashed.

C

callMethod(IpObject, String, String[]) - Method in interface org.iperg.part.core.IpScriptInterp
 
close() - Method in class org.iperg.part.core.IpConnection
Method to be implemented by sub-classes.
close() - Method in class org.iperg.part.core.IpHttpConnection
Close the connection
close() - Method in class org.iperg.part.core.IpTcpConnection
Close the connection
CLOSED_LOCALLY - Static variable in class org.iperg.part.core.IpConnection
A connection mode that means that the connection has been closed by the local process.
CLOSED_REMOTELY - Static variable in class org.iperg.part.core.IpConnection
A connection mode that means that the connection has been closed by the remote process.
connect(IpUrl, int, boolean) - Static method in class org.iperg.part.core.IpSystem
Set up a connection to a remote process using an address represented by a url.
CONNECT_RETRY_FAILED - Static variable in class org.iperg.part.core.IpProcessEvent
Process event sub-type that indicates that a connection that was attempted from the local process failed.
CONNECTED - Static variable in class org.iperg.part.core.IpConnection
A connection status mode which means that the connection object has been successfully connected to a remote address via a call to connect or as a result of accepting an incoming connection after having called listen.
CONNECTING - Static variable in class org.iperg.part.core.IpConnection
A connection status mode which means that a connection to a remote process is in progress but not yet finished.
CONNECTION_ESTABLISHED - Static variable in class org.iperg.part.core.IpProcessEvent
Process event sub-type that indicates that a connection has been set up between the local and a remote process.
CONNECTION_TERMINATED - Static variable in class org.iperg.part.core.IpProcessEvent
Process event sub-type that indicates that a connection to a remote process has been terminated The reason may be for instance that the connection was closed by one of the processes, or broken due to some network error.
connectionInitiatedByLocalProcess(IpIdentifier) - Static method in class org.iperg.part.core.IpSystem
Check if a connection between the local and a remote process was initiated by the local process, i.e., if the local process called connect and the remote process listen.
contains(String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Check if the an object has been saved in the store under a given name.
contains(IpIdentifier) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Check if the state of a given object has been saved in the persistency store.
contains(IpIdentifier) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Check if the state of a given object has been saved in the record store.
contains(String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Check if the state of a given object has been saved in the record store.
createProperty(String, String, String) - Method in class org.iperg.part.core.IpObject
A method that can be used to add properties to an object when the object is created.
createReply(String, IpIoStream) - Method in class org.iperg.part.core.IpNetworkEvent
Create an event which can be used as a reply to the current event.

D

debug(Object, String, int, String) - Static method in class org.iperg.part.core.IpSystem
Internal method that handles log messages.
decodeInt(byte[]) - Static method in class org.iperg.part.core.IpIoStream
Convert an array of four bytes into an integer
DEFAULT_PROP_GROUP - Static variable in class org.iperg.part.core.IpObject
 
disconnect(IpIdentifier) - Static method in class org.iperg.part.core.IpSystem
Close connection that exists between the local and a remote process.
dispatch(IpEvent) - Method in class org.iperg.part.core.IpEventManager
Dispatch an event.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.iperg.part.servlet.IpServlet
Respond to a GET request for the content produced by this servlet.
doGet(HttpServletRequest, HttpServletResponse) - Method in interface org.iperg.part.servlet.IpServletHelper
Respond to a GET request for the content produced by this servlet.
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.iperg.part.servlet.IpServlet
Respond to a POST request for the content produced by this servlet.

E

encodeInt(int, byte[]) - Static method in class org.iperg.part.core.IpIoStream
Convert an integer into an array of four bytes and write bytes into given buffer
equals(Object) - Method in class org.iperg.part.core.IpIdentifier
Check if the identifier equals another object (identifier)
EQUALS - Static variable in class org.iperg.part.core.IpObjectPattern
A class requirement match type that specifies that the class of an object must equal the given class in order for the object to match the pattern.
equals(Object) - Method in class org.iperg.part.core.IpUrl
Check if the url equals another object.
eval(IpObject, String) - Method in interface org.iperg.part.core.IpScriptInterp
 
EVENT_TYPE - Static variable in class org.iperg.part.core.IpObjectSearchEvent
The event "type"
exec(String) - Method in class org.iperg.part.core.IpObject
Execute a command in the object.
exec(IpIdentifier, IpIdentifier, String) - Static method in class org.iperg.part.core.IpObject
Execute a command in an arbitrary PART object in an arbitrary PART process.

F

fromString(String) - Static method in class org.iperg.part.core.IpIdentifier
Return a new IpIdentifier initialised by a string representation.

G

getAllObjects() - Static method in class org.iperg.part.core.IpObject
Return an enumeration of IpObject instances representing all replicated objects (masters and replicas alike) held by the local process.
getAllPropertyGroupNames() - Method in class org.iperg.part.core.IpObject
Get an enumeration of String instances representing the names of all object property groups.
getAllPropertyNames(String) - Method in class org.iperg.part.core.IpObject
Get an enumeration of String objects representing the names of all properties that "belongs to" the given group.
getConnectionStatus(IpIdentifier) - Static method in class org.iperg.part.core.IpSystem
Get the status of a direct connection between the local and a remote process.
getConnectionUrl() - Method in class org.iperg.part.core.IpConnection
Get url that can be used to connect to the local address monitored by this connection, assuming that the listen method has been called on the connection object.
getConnectionUrl(IpUrl) - Static method in class org.iperg.part.core.IpSystem
Given an url used in a call to listen, get an url that can be used by a remote process when calling connect to connect to the local process.
getConnectRetryInterval() - Static method in class org.iperg.part.core.IpSystem
Get interval (in seconds) that determines how often re-connects will be retried for unconnected persistent connections.
getDebugLevel() - Static method in class org.iperg.part.core.IpSystem
Get the debug level.
getDestination() - Method in class org.iperg.part.core.IpEvent
Get the identifier of the object to which this event is destined.
getDevice() - Method in class org.iperg.part.core.IpUrl
Get the device part of the url.
getEncodedData() - Method in class org.iperg.part.core.IpIoStream
Get the stream "content" (encoded data) as an array of bytes
getEvent(InputStream) - Method in class org.iperg.part.servlet.IpServlet
Read an event from the input stream of an http request
getException() - Method in class org.iperg.part.core.IpProcessEvent
If event type is CONNECTION_FAILED, returns the local exception that caused the call to connect to fail.
getId() - Method in class org.iperg.part.core.IpObject
Get the unique identifier representing this object
getInstance() - Static method in class org.iperg.part.core.IpEventManager
The main access method to retrieve the singleton event manager instance.
getInstance() - Static method in class org.iperg.part.persistency.IpRmsPersistencyManager
The main access method to retrieve the singleton RMS persistency manager instance.
getLocalProcess() - Static method in class org.iperg.part.core.IpSystem
Get a process object that represents the local process.
getLocalProcessId() - Static method in class org.iperg.part.core.IpSystem
Get the identifier representing the local process.
getLogFileDirectory() - Method in class org.iperg.part.log.j2se.IpFileLogManager
Get the directory in which log files are written.
getLogFileName() - Method in class org.iperg.part.log.j2se.IpFileLogManager
Get the file name used by the manager when creating log files.
getLogFileSizeLimit() - Method in class org.iperg.part.log.j2se.IpFileLogManager
Get the current size limit of log files in kilobytes.
getMasterHolderId() - Method in class org.iperg.part.core.IpObject
Get the identifier of the process that holds the master copy of this replicated object.
getMaxNrOfLogFiles() - Method in class org.iperg.part.log.j2se.IpFileLogManager
Get the maximum number of log files that the manager can use when writing logs.
getMostRecentUpdateTime() - Method in class org.iperg.part.core.IpObject
Get time (as given by System.currentTimeMillis()) of the most recent update to any of the object's the properties.
getMostRecentUpdateTime(String, String) - Method in class org.iperg.part.core.IpObject
Get time (as given by System.currentTimeMillis()) of the most recent update to the property.
getObject(IpIdentifier) - Static method in class org.iperg.part.core.IpObject
Get a PART object which has a given id.
getObject() - Method in class org.iperg.part.core.IpObjectEvent
Get the object that the event concerns, e.g., the object to which a property was added.
getObject() - Method in class org.iperg.part.core.IpSubscriptionEvent
Get the object that the event concerns
getObjects() - Method in class org.iperg.part.core.IpObjectSearchEvent
Get the objects that were found
getOldValue() - Method in class org.iperg.part.core.IpObjectEvent
Get the value of the property before it was updated.
getPayload() - Method in class org.iperg.part.core.IpNetworkEvent
Get the event's io stream.
getPersistOnTimerInterval() - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Get the interval of the peristency manager timer.
getProcessId() - Method in class org.iperg.part.core.IpObjectEvent
Get the identifier of the process that caused the event to occur, i.e., the process that is the source of the event.
getProcessId() - Method in class org.iperg.part.core.IpObjectSearchEvent
Get the identifier of the process where the objects were found
getProcessId() - Method in class org.iperg.part.core.IpProcessEvent
Get the identifier of the remote process that the event concerns.
getProperty(String, String) - Method in class org.iperg.part.core.IpObject
Get the value of an object property in a given group.
getProperty(IpIdentifier, IpIdentifier, String, String, int) - Static method in class org.iperg.part.core.IpObject
Get the property value of an object held by an arbitrary PART process.
getPropertyAsFloat(String, String, float) - Method in class org.iperg.part.core.IpObject
Get the value of a property in the given group as a float.
getPropertyAsInt(String, String, int) - Method in class org.iperg.part.core.IpObject
Get the value of an property in the given group as an integer.
getPropertyGroup() - Method in class org.iperg.part.core.IpObjectEvent
Get the name of the group of the property that the event concerns.
getPropertyName() - Method in class org.iperg.part.core.IpObjectEvent
Get the name of the property that the event concerns.
getProtocol() - Method in class org.iperg.part.core.IpUrl
Get the protocol part of the url.
getProtocolSpecific() - Method in class org.iperg.part.core.IpUrl
Get the protocol specific part of the url.
getRemoteProcessId() - Method in class org.iperg.part.core.IpConnection
Get the identifier of the remote process to which this connection object is connected
getReplicaId() - Method in class org.iperg.part.core.IpObjectEvent
Get the identifier of the replicated object that was updated.
getReplyEvent() - Method in class org.iperg.part.core.IpNetworkEvent
Get the reply event.
getReplyTimeout() - Method in class org.iperg.part.core.IpNetworkEvent
Get the current reply timeout.
getScript() - Method in class org.iperg.part.core.IpObject
Get the object's scripting URL
getScriptLang() - Method in interface org.iperg.part.core.IpScriptInterp
 
getSender() - Method in class org.iperg.part.core.IpNetworkEvent
Get the identifier of the object sending this event.
getSilence() - Method in class org.iperg.part.core.IpConnection
Get time (in milliseconds) since any data was last received using this connection.
getStatus() - Method in class org.iperg.part.core.IpConnection
Get the current connection status mode.
getSubscriptionCancelTime() - Static method in class org.iperg.part.core.IpSystem
Get time after which a subscription is cancelled and removed by the master if not renewed.
getSubscriptionInterval(String, String) - Method in class org.iperg.part.core.IpObject
Get the interval at which the local process subscribes to updates to the property with the given name and group.
getSubscriptionRenewInterval() - Static method in class org.iperg.part.core.IpSystem
Get the interval (in seconds) at which object property subscriptions made by the local process are renewed.
getTag() - Method in class org.iperg.part.core.IpObjectSearchEvent
Get the search tag
getTotalBytesReceived() - Method in class org.iperg.part.core.IpConnection
Return the number of bytes that has been received on this connection since it was created.
getTotalBytesSent() - Method in class org.iperg.part.core.IpConnection
Return the number of bytes that has been sent on this connection since it was created.
getType() - Method in class org.iperg.part.core.IpEvent
Get the event type
getUrl() - Method in class org.iperg.part.core.IpConnection
Get url used to create the connection that this object represents
getUrl() - Method in class org.iperg.part.core.IpProcessEvent
Get the connection url
getValue() - Method in class org.iperg.part.core.IpObjectEvent
Get the value of the property after it was updated.

H

handleCommand(String, String[]) - Method in interface org.iperg.part.core.IpCommandHandler
Execute a command and return the result as a string, or null if the command wasn't handled.
handleCommand(String, String[]) - Method in class org.iperg.part.core.IpObject
Should be overridden by sub-classes that wish to handle the invocation of a command.
handleCommand(String, String[]) - Method in class org.iperg.part.core.IpProcess
 
handleDebug(Object, String, int, String) - Method in interface org.iperg.part.core.IpDebugHandler
Handle a debug message.
handleEvent(IpEvent) - Method in interface org.iperg.part.core.IpEventHandler
Method which is called to deliver an event to the handler.
handleEvent(IpEvent) - Method in class org.iperg.part.log.j2se.IpLatLogManager
Is called by PART whenever an event has been generated in the local process or received from the network.
handleEvent(IpEvent) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Is called by PART whenever an event has been generated in the local process or received from the network.
hashCode() - Method in class org.iperg.part.core.IpIdentifier
Return a hash value for the identifier.

I

init(ServletConfig) - Method in class org.iperg.part.servlet.IpServlet
 
init(ServletConfig) - Method in interface org.iperg.part.servlet.IpServletHelper
Is called by PART to initialise the helper object.
initialize(IpIdentifier) - Static method in class org.iperg.part.core.IpSystem
Initialize local process object and set its identifier.
insertEvent(IpNetworkEvent) - Method in class org.iperg.part.core.IpHttpConnection
Insert an event, "pretending" that is was received by the connection.
INSTANCEOF - Static variable in class org.iperg.part.core.IpObjectPattern
A class requirement match type that specifies that the class of an object must be an instance of the given class or interface in order for the object to match the pattern.
IpAlreadyConnectedException - Exception in org.iperg.part.core
An IpAlreadyConnectedException is thrown if the process sets up a connection to a process to which it is already connected.
IpAlreadyConnectedException() - Constructor for exception org.iperg.part.core.IpAlreadyConnectedException
 
IpAlreadyConnectedException(String) - Constructor for exception org.iperg.part.core.IpAlreadyConnectedException
 
IpCommandHandler - Interface in org.iperg.part.core
The IpCommandHandler interface defined methods to be implemented by command handlers.
IpConnection - Class in org.iperg.part.core
The IpConnection class is the super class of all protocol specific connection classes.
IpConnection(int) - Constructor for class org.iperg.part.core.IpConnection
Create a new connection object.
IpDebugHandler - Interface in org.iperg.part.core
The IpDebugHandler interface defines the methods required to recieve debug messages.
IpEvent - Class in org.iperg.part.core
IpEvent is the base class of all platform events.
IpEvent(String) - Constructor for class org.iperg.part.core.IpEvent
Create a new event of the given type.
IpEvent() - Constructor for class org.iperg.part.core.IpEvent
Create a new (empty) event.
IpEventHandler - Interface in org.iperg.part.core
IpEventHandler specifies an interface for event handlers.
IpEventManager - Class in org.iperg.part.core
The IpEventManager class specifies a platform manager that is responsible for dispatching events to their destinations.
IpException - Exception in org.iperg.part.core
The IpException class is the super class of all IPerG exceptions.
IpException() - Constructor for exception org.iperg.part.core.IpException
 
IpException(String) - Constructor for exception org.iperg.part.core.IpException
 
IpFileLogManager - Class in org.iperg.part.log.j2se
The file log manager will store log messages on files.
IpFileLogManager(String, String, int, int, String) - Constructor for class org.iperg.part.log.j2se.IpFileLogManager
Create a new file log manager.
IpFileLogManager(String) - Constructor for class org.iperg.part.log.j2se.IpFileLogManager
Create a file log manager that will use default values for log file directory, name, size limit and max file count.
IpHttpConnection - Class in org.iperg.part.core
The IpHttpConnection class implements a PART HTTP protocol connection.
IpHttpConnection() - Constructor for class org.iperg.part.core.IpHttpConnection
Create an unconnected HTTP connection object
IpHttpConnection(IpUrl) - Constructor for class org.iperg.part.core.IpHttpConnection
Create an connected HTTP connection object representing the server side.
IpIdentifier - Class in org.iperg.part.core
The IpIdentifier class represents identifiers that may be unique in time and space.
IpIdentifier() - Constructor for class org.iperg.part.core.IpIdentifier
Create a new zero identifier which is NOT be unique.
IpIdentifier(IpIdentifier) - Constructor for class org.iperg.part.core.IpIdentifier
Create a new identifier which is a copy of another identifier.
IpIdentifier(IpInputStream) - Constructor for class org.iperg.part.core.IpIdentifier
Create a new identifier by reading data from an input stream.
IpInputStream - Interface in org.iperg.part.core
The IpInputStream interface specifies methods for reading various types of data from a byte stream.
IpInvalidUrlException - Exception in org.iperg.part.core
An IpInvalidUrlException is thrown if an URL used to connect to a remote address, or listen for incoming connections on a local address, is invalid.
IpInvalidUrlException() - Constructor for exception org.iperg.part.core.IpInvalidUrlException
 
IpInvalidUrlException(String) - Constructor for exception org.iperg.part.core.IpInvalidUrlException
 
IpIoStream - Class in org.iperg.part.core
The IpIoStream class can be used to create io streams that support encoding and decoding of data to and from a byte stream.
IpIoStream() - Constructor for class org.iperg.part.core.IpIoStream
Create an empty io stream instance that can be used for encoding data.
IpIoStream(byte[]) - Constructor for class org.iperg.part.core.IpIoStream
Create a io stream that can be used for decoding data and set its content to the given byte array.
IpLatLogManager - Class in org.iperg.part.log.j2se
The IpLatLogManager implements a manager that logs property events (ADD, SET and REMOVE) to logiles in a format accepted by the IPerG Logfile Analysis and Evaluation tool.
IpLatLogManager(String, String) - Constructor for class org.iperg.part.log.j2se.IpLatLogManager
Constructur used to create a new Lat log manager.
IpLogManager - Interface in org.iperg.part.log
The IpLogManager defines methods that must be implemented by log managers, i.e., managers that are able to log runtime events to for instance files.
IpNetworkEvent - Class in org.iperg.part.core
The IpNetworkEvent class is used to represent events that can be sent to remote platform objects, via the network.
IpNetworkEvent(String, IpIdentifier, IpIoStream) - Constructor for class org.iperg.part.core.IpNetworkEvent
Create a new network event of the given type.
IpNetworkEvent() - Constructor for class org.iperg.part.core.IpNetworkEvent
Create a new (empty) network event.
IpNoSuchPropertyException - Exception in org.iperg.part.core
An IpNoSuchPropertyException is thrown when someone tries to update an object property which doesn't exist.
IpNoSuchPropertyException() - Constructor for exception org.iperg.part.core.IpNoSuchPropertyException
 
IpNoSuchPropertyException(String) - Constructor for exception org.iperg.part.core.IpNoSuchPropertyException
 
IpObject - Class in org.iperg.part.core
The IpObject class is the super class of all PART replicated objects.
IpObject() - Constructor for class org.iperg.part.core.IpObject
Create a new object.
IpObject(IpIdentifier) - Constructor for class org.iperg.part.core.IpObject
Create a new object and set its identifier to the given id.
IpObjectEvent - Class in org.iperg.part.core
IpObjectEvent events are generated to notify the application about changes to replicated objects.
IpObjectPattern - Class in org.iperg.part.core
The IpObjectPattern class is used to create object patterns that can be matched against instances of any PART object class.
IpObjectPattern() - Constructor for class org.iperg.part.core.IpObjectPattern
Constructs a empty pattern (the pattern contains no id, class or property requirements).
IpObjectSearchEvent - Class in org.iperg.part.core
IpObjectSearchEvent is generated when the result of a broadcast object search is received from a remote process.
IpObjectSearchEvent(IpIdentifier, IpObject[], String) - Constructor for class org.iperg.part.core.IpObjectSearchEvent
Constructs a search event.
IpOutputStream - Interface in org.iperg.part.core
The IpOutputStream interface specifies methods for writing various types of data to a byte stream.
IpPersistencyManager - Interface in org.iperg.part.persistency
The IpPersistencyManager specifies an interface that needs to be implemented by all persistenct manager components.
IpProcess - Class in org.iperg.part.core
The IpProcess class is used to represent processes in a multi-process PART session.
IpProcess() - Constructor for class org.iperg.part.core.IpProcess
Empty constructor, needed during replication
IpProcess(IpIdentifier) - Constructor for class org.iperg.part.core.IpProcess
 
IpProcessEvent - Class in org.iperg.part.core
The IpProcessEvent class describes events that concern remote processes, for instances the establishment of a new connection between the local and some remote process.
IpRmsPersistencyManager - Class in org.iperg.part.persistency
The IpRmsPersistencyManager class defines a persistency manager that uses a record store to save and load objects and identifiers.
IpScriptInterp - Interface in org.iperg.part.core
The IpScriptInterp interface defines method to be implemented by script interpreters.
IpSerializable - Interface in org.iperg.part.core
The IpSerializable interface specifies methods that allows an object's state to be serialized to and from a byte stream.
IpServlet - Class in org.iperg.part.servlet
The IpServlet class is a PART specific servlet class that can be used to accept incoming connections via the HTTP protocol.
IpServlet() - Constructor for class org.iperg.part.servlet.IpServlet
 
IpServletHelper - Interface in org.iperg.part.servlet
 
IpSubscriptionEvent - Class in org.iperg.part.core
IpSubscriptionEvent events are generated when the subscription status of object subscribed by the local process changes.
IpSystem - Class in org.iperg.part.core
The IpSystem class provides the main PART API for setting up connections to remote processes, and for listening and accepting incoming connections.
IpSystem() - Constructor for class org.iperg.part.core.IpSystem
 
IpTcpConnection - Class in org.iperg.part.core
The IpTcpConnection class implements a PART Tcp protocol connection.
IpTcpConnection() - Constructor for class org.iperg.part.core.IpTcpConnection
Create an unconnected Tcp connection object
IpTimeoutException - Exception in org.iperg.part.core
An IpTimeoutException is thrown if an operation that involves communicating with a remote process takes to long time to complete.
IpTimeoutException() - Constructor for exception org.iperg.part.core.IpTimeoutException
 
IpTimeoutException(String) - Constructor for exception org.iperg.part.core.IpTimeoutException
 
IpUrl - Class in org.iperg.part.core
The IpUrl class is used to represent URLs that express network addresses using a protocol specific syntax.
IpUrl(String) - Constructor for class org.iperg.part.core.IpUrl
Create a new url object using a given string specification.
IpUrl(String, String, String) - Constructor for class org.iperg.part.core.IpUrl
Create a new url instance by giving the protocol, device and protocol specific components separately
IpVetoException - Exception in org.iperg.part.core
An IpVetoException is thrown if an update to a property is not allowed by the platform.
IpVetoException() - Constructor for exception org.iperg.part.core.IpVetoException
 
IpVetoException(String) - Constructor for exception org.iperg.part.core.IpVetoException
 
isConnectionPersistent(IpIdentifier) - Static method in class org.iperg.part.core.IpSystem
Check if a connection between the local and a remote process is peristent, i.e., if it will be re-connected automatically by PART if broken.
isDiscoverable() - Method in class org.iperg.part.core.IpObject
Check if an object is discoverable or not.
isMaster() - Method in class org.iperg.part.core.IpObject
Check if this object instance is the master copy.
isZero() - Method in class org.iperg.part.core.IpIdentifier
Check if the identifier is a "zero" identifier

J

JAVA_EDITION - Static variable in class org.iperg.part.core.IpProcess
 

L

LISTEN - Static variable in class org.iperg.part.core.IpConnection
A connection mode that means that the connection object is listening for incoming connections on a local address as a result of the listen method being called.
listen(IpUrl) - Static method in class org.iperg.part.core.IpSystem
Start listening for connection attempts on a local address represented by a url.
load(IpIdentifier) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Load and return an object which has been previously saved in the persistency store.
load(String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Load and return an object which has been previously saved in the persistency store.
load(IpIdentifier) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Load an object which has been previously saved in the persistency store.
load(String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Load an object which has been previously saved in the persistency store.
loadAll() - Method in interface org.iperg.part.persistency.IpPersistencyManager
Load and return all objects saved in the persistency store.
loadAll() - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Load and return all objects saved in the persistency store.
loadId(String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Load an identifier which has previously been saved using saveId.
loadId(String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Load an identifier which has previously been saved using saveId.
log(String) - Method in interface org.iperg.part.log.IpLogManager
Write a message to the log.
log(String) - Method in class org.iperg.part.log.j2se.IpFileLogManager
Write a message to the log.
log(String) - Method in class org.iperg.part.log.j2se.IpLatLogManager
Write a message to the log.

M

makeReadOnly() - Method in class org.iperg.part.core.IpIdentifier
By making the object read only, its state can not be modified, e.g., by calling the read method.
makeUnique() - Method in class org.iperg.part.core.IpIdentifier
Make sure that the identifier is unique in time and space

N

newUniqueId() - Static method in class org.iperg.part.core.IpIdentifier
Create and return a new unique identifier instance.
notifyBrokenConnection() - Method in class org.iperg.part.core.IpConnection
Should be called by protocol specific connection subclasses when this connection has been broken.
notifyBytesReceived(int) - Method in class org.iperg.part.core.IpConnection
Should be called by sub-classes to report that data has been received from the network.
notifyBytesSent(int) - Method in class org.iperg.part.core.IpConnection
Should be called by sub-classes to report that data has been sent to the network.
notifyExitApp() - Static method in class org.iperg.part.core.IpSystem
Should be called to let the platform know that the application has been told to exit.
notifyPauseApp() - Static method in class org.iperg.part.core.IpSystem
Should be called to let the platform know that the application has been told to pause.
notifyReceivedEvent(IpNetworkEvent) - Method in class org.iperg.part.core.IpConnection
Should be called by protocol specific connection subclasses when an event has been received on this connection.
notifyResumeApp() - Static method in class org.iperg.part.core.IpSystem
Should be called to let the platform know that the application has been told to resume after a pause.

O

ON_CHANGE - Static variable in interface org.iperg.part.persistency.IpPersistencyManager
 
ON_TIMER - Static variable in interface org.iperg.part.persistency.IpPersistencyManager
 
org.iperg.part.core - package org.iperg.part.core
 
org.iperg.part.log - package org.iperg.part.log
 
org.iperg.part.log.j2se - package org.iperg.part.log.j2se
 
org.iperg.part.persistency - package org.iperg.part.persistency
 
org.iperg.part.servlet - package org.iperg.part.servlet
 

P

PART_VERSION - Static variable in class org.iperg.part.core.IpProcess
 
persist(IpObject, String, int) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Save the state of the object repeatedly as specified by the when paramater.
persist(IpObject, String, int) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Save the state of the object repeatedly as specified by the when paramater.
printTrafficStats(int) - Static method in class org.iperg.part.core.IpSystem
Generate network traffic statistics information at a regular interval.
PROCESS_ALIVE - Static variable in class org.iperg.part.core.IpProcessEvent
Process event sub-type that indicates that a certain remote process seems to be alive.
PROCESS_EXIT - Static variable in class org.iperg.part.core.IpProcessEvent
Process event sub-type that indicates that a certain remote process has exited.
PROCESS_SILENT - Static variable in class org.iperg.part.core.IpProcessEvent
Process event sub-type that indicates that the local process has not received any data from the remote process in a while.
PROP_ADD - Static variable in class org.iperg.part.core.IpObject
 
PROP_ADD - Static variable in class org.iperg.part.core.IpObjectEvent
An event type that indicates that a new property has been added to an object.
PROP_REMOVE - Static variable in class org.iperg.part.core.IpObject
 
PROP_REMOVE - Static variable in class org.iperg.part.core.IpObjectEvent
An event type that indicates that a property has been removed from an object.
PROP_SET - Static variable in class org.iperg.part.core.IpObject
 
PROP_UPDATE - Static variable in class org.iperg.part.core.IpObjectEvent
An event type that indicates that the value of an object property has been updated.
propertyUpdateResolve(int, String, String, String, IpIdentifier) - Method in class org.iperg.part.core.IpObject
Is called in the master copy of the object as a result of addProperty, removeProperty or setProperty being called in a the master or a replica.
protoAccept() - Method in class org.iperg.part.core.IpConnection
Accept an incoming connection
protoAccept() - Method in class org.iperg.part.core.IpHttpConnection
Accept a incoming connection on the server socket opened by protoListen.
protoAccept() - Method in class org.iperg.part.core.IpTcpConnection
Accept a incoming connection on the server socket opened by protoListen.
protoConnect(IpUrl) - Method in class org.iperg.part.core.IpConnection
Method to be implemented by sub-classes.
protoConnect(IpUrl) - Method in class org.iperg.part.core.IpHttpConnection
Connect to a network address represented by an url.
protoConnect(IpUrl) - Method in class org.iperg.part.core.IpTcpConnection
Connect to a network address represented by an url.
protoListen(IpUrl) - Method in class org.iperg.part.core.IpConnection
Method to be implemented by sub-classes.
protoListen(IpUrl) - Method in class org.iperg.part.core.IpHttpConnection
 
protoListen(IpUrl) - Method in class org.iperg.part.core.IpTcpConnection
Start listening for incoming connections on a local network address represented by an url.

R

read(IpInputStream) - Method in class org.iperg.part.core.IpEvent
Read the event state from an input stream.
read(IpInputStream) - Method in class org.iperg.part.core.IpIdentifier
Read the state of the process object from an input stream.
read(IpInputStream) - Method in class org.iperg.part.core.IpNetworkEvent
Read the event state from an input stream.
read(IpInputStream) - Method in class org.iperg.part.core.IpObject
Read the object's state from an input stream.
read(IpInputStream) - Method in class org.iperg.part.core.IpObjectPattern
Read the patterns's state from an input stream.
read(IpInputStream) - Method in interface org.iperg.part.core.IpSerializable
Read the object's state from an input stream.
readBoolean() - Method in interface org.iperg.part.core.IpInputStream
Reads a boolean from the input stream.
readBoolean() - Method in class org.iperg.part.core.IpIoStream
Reads a boolean.
readByte() - Method in interface org.iperg.part.core.IpInputStream
Reads a byte from the input stream.
readByte() - Method in class org.iperg.part.core.IpIoStream
Reads a byte.
readBytes() - Method in interface org.iperg.part.core.IpInputStream
Read an array of bytes from the input stream
readBytes() - Method in class org.iperg.part.core.IpIoStream
Reads a byte array
readChar() - Method in interface org.iperg.part.core.IpInputStream
Reads a 16 bits char from the input stream.
readChar() - Method in class org.iperg.part.core.IpIoStream
Reads a 16 bits char.
readDouble() - Method in interface org.iperg.part.core.IpInputStream
Reads a double from the input stream.
readDouble() - Method in class org.iperg.part.core.IpIoStream
Reads a double.
readFloat() - Method in interface org.iperg.part.core.IpInputStream
Reads a float from the input stream.
readFloat() - Method in class org.iperg.part.core.IpIoStream
Reads a float.
readInt() - Method in interface org.iperg.part.core.IpInputStream
Reads an int from the input stream.
readInt() - Method in class org.iperg.part.core.IpIoStream
Reads an int.
readLong() - Method in interface org.iperg.part.core.IpInputStream
Reads a long from the input stream.
readLong() - Method in class org.iperg.part.core.IpIoStream
Reads a long.
readObject() - Method in interface org.iperg.part.core.IpInputStream
 
readObject() - Method in class org.iperg.part.core.IpIoStream
Reads an object
readObject(Object) - Method in class org.iperg.part.core.IpIoStream
Read serialised object data into an existing object.
readShort() - Method in interface org.iperg.part.core.IpInputStream
Reads a short from the input stream.
readShort() - Method in class org.iperg.part.core.IpIoStream
Reads a short.
readString() - Method in interface org.iperg.part.core.IpInputStream
Reads a string from the input stream.
readString() - Method in class org.iperg.part.core.IpIoStream
Reads a string
release() - Method in class org.iperg.part.core.IpObject
Should be called to tell PART to remove any references to the object, for instance in order for the objnect to become deallocated.
releaseAllObjects() - Static method in class org.iperg.part.core.IpObject
Should be called to tell PART to remove references to all replicated objects.
remove(IpIdentifier) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Remove the saved state of the given object from the persistency store.
remove(String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Remove the saved state of an object associated to the given name.
remove(IpIdentifier) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Remove the saved state of the given object.
remove(String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Remove the saved state of the given object.
removeAll() - Method in interface org.iperg.part.persistency.IpPersistencyManager
Remove the content of the persistency store.
removeAll() - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Remove the contents of the persistency store.
removeId(String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Remove an identifier which has previously been saved using saveId.
removeId(String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Remove an identifier which has previously been saved using saveId.
removeProperty(String, String) - Method in class org.iperg.part.core.IpObject
Remove an object property
replicate(IpIdentifier) - Method in class org.iperg.part.core.IpObject
Replicate the object to a remote process identified by the given identifier.
replicaUpdateCb(IpObjectEvent) - Method in class org.iperg.part.core.IpObject
Is called when the object (master or replica) has been updated somehow.
run() - Method in class org.iperg.part.core.IpConnection
Connection thread's run method which checks for incoming connections if connection is in "listen mode", receives data chunks if the connection is in "connected mode", or performs connect if mode is "connecting".
run() - Method in class org.iperg.part.core.IpEventManager
Event dispatching thread's run method.

S

s_debug - Static variable in class org.iperg.part.core.IpSystem
 
save(IpObject, String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Save the state of an object in the persistency store.
save(IpObject, String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Save the state of an object in the persistency store.
saveId(IpIdentifier, String) - Method in interface org.iperg.part.persistency.IpPersistencyManager
Save an identifier in the store and associate it to a name.
saveId(IpIdentifier, String) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Save an identifier in the store and associate it to a name.
SCRIPT_INIT_PROC - Static variable in interface org.iperg.part.core.IpScriptInterp
 
searchObjectIds(IpIdentifier, IpObjectPattern, int, int) - Static method in class org.iperg.part.core.IpSystem
Search for objects matching a given pattern in a remote process.
searchObjects(IpIdentifier, IpObjectPattern, int, int) - Static method in class org.iperg.part.core.IpSystem
Search for objects matching a given pattern in a remote process.
searchObjectsAsync(IpIdentifier, IpObjectPattern, int, String) - Static method in class org.iperg.part.core.IpSystem
Search for objects matching a given pattern in a remote process, or in all processes that can be reached from the local process.
send() - Method in class org.iperg.part.core.IpNetworkEvent
Send an event to its destination object.
setClass(String, int) - Method in class org.iperg.part.core.IpObjectPattern
Set class requirement.
setConnectRetryInterval(int) - Static method in class org.iperg.part.core.IpSystem
Set the connect retry interval.
setDebugLevel(int) - Static method in class org.iperg.part.core.IpSystem
Set the debug level.
setDestination(IpIdentifier) - Method in class org.iperg.part.core.IpEvent
Set the identifier of the object for which the event is destined.
setDestination(IpIdentifier) - Method in class org.iperg.part.core.IpNetworkEvent
Set the event destination.
setDiscoverable(boolean) - Method in class org.iperg.part.core.IpObject
Set the discoverable status of a PART object.
setId(IpIdentifier) - Method in class org.iperg.part.core.IpObjectPattern
Set id requirement.
setIncarnation(short) - Method in class org.iperg.part.core.IpIdentifier
 
setInputStream(InputStream) - Method in class org.iperg.part.core.IpConnection
Set stream to be used for reading incoming network data.
setOutputStream(OutputStream) - Method in class org.iperg.part.core.IpConnection
Set stream to be used for writing outgoing network data.
setPersistOnTimerInterval(int) - Method in class org.iperg.part.persistency.IpRmsPersistencyManager
Set the interval of the peristency manager timer.
setProperty(String, String, String) - Method in class org.iperg.part.core.IpObject
Set the value of an object property in given group.
setPropertyViaFloat(String, String, float) - Method in class org.iperg.part.core.IpObject
Set the value of a property in given group using a float value.
setPropertyViaInt(String, String, int) - Method in class org.iperg.part.core.IpObject
Set the value of a property in given group using an integer value.
setReplyTimeout(int) - Method in class org.iperg.part.core.IpNetworkEvent
Set the reply timeout.
setScript(String) - Method in class org.iperg.part.core.IpObject
Set the script associated to the object.
setSubscriptionCancelTime(int) - Static method in class org.iperg.part.core.IpSystem
Set time after which a subscription is cancelled and removed by the master if not renewed.
setSubscriptionRenewInterval(int) - Static method in class org.iperg.part.core.IpSystem
Set the subscription renew interval.
setUrl(IpUrl) - Method in class org.iperg.part.core.IpConnection
Set url used to create the connection that this object represents
stopListen(IpUrl) - Static method in class org.iperg.part.core.IpSystem
Stop listening for connection attempts on a local address represented by a url.
subscribe(String, String, int) - Method in class org.iperg.part.core.IpObject
Subscribe to updates to a property in the given group.
subscribeAll(int) - Method in class org.iperg.part.core.IpObject
Subscribe to all object properties using the same interval.
SUBSCRIPTION_CANCEL - Static variable in class org.iperg.part.core.IpSubscriptionEvent
Event sub-type that means that the master has cancelled a subscription to a local object and property, made by a remote process.
SUBSCRIPTION_CONFIRM - Static variable in class org.iperg.part.core.IpSubscriptionEvent
Event sub-type that means that the local subscription of properties of a object has been confirmed by the process holding the master copy.
SUBSCRIPTION_TIMEOUT - Static variable in class org.iperg.part.core.IpSubscriptionEvent
Event sub-type that means that the local subscription of properties of a object has not been confirmed by the process holding the master copy in a long time.
synchronise() - Method in class org.iperg.part.core.IpObject
Synchronise the values of all object properties with the master object copy.
synchronise(IpIdentifier) - Method in class org.iperg.part.core.IpObject
Synchronise the values of the replica with the replica (or master) copy held by a remote process.
synchroniseProperty(String, String) - Method in class org.iperg.part.core.IpObject
Synchronise the value of a property in the given group with the master object copy.
synchroniseProperty(String, String, IpIdentifier) - Method in class org.iperg.part.core.IpObject
Synchronise the value of a property in the given group with the replica (or master) copy held by another remote process.

T

TICK_EVENT - Static variable in class org.iperg.part.core.IpSystem
 
timeUntilReplyTimeout() - Method in class org.iperg.part.core.IpNetworkEvent
Check how long it will take until the reply timeout will occur.
toString() - Method in class org.iperg.part.core.IpIdentifier
Return a string representation of a identifier
toString() - Method in class org.iperg.part.core.IpObject
Return a string representation of the PART object.
toString() - Method in class org.iperg.part.core.IpUrl
Create a string representation of this url

U

UNCONNECTED - Static variable in class org.iperg.part.core.IpConnection
A connection status mode that means that the connection object has not yet been connected to a local or remote address using the listen or connect methods.
unsubscribe(String, String) - Method in class org.iperg.part.core.IpObject
Cancel the subscription of a property in the given group.
unsubscribeAll() - Method in class org.iperg.part.core.IpObject
Will cause all local subscriptions to the object's properties to be cancelled.

V

verifyRoute(IpIdentifier, int) - Static method in class org.iperg.part.core.IpSystem
Tell PART to try to verify the connection route to a remote process.

W

waitForReply() - Method in class org.iperg.part.core.IpNetworkEvent
Block the current thread until a reply event has been received, or a timeout exception is thrown.
write(IpOutputStream) - Method in class org.iperg.part.core.IpEvent
Write the event state into an output stream.
write(IpOutputStream) - Method in class org.iperg.part.core.IpIdentifier
Write the state of the process object into an putput stream .
write(IpOutputStream) - Method in class org.iperg.part.core.IpNetworkEvent
Write the event state into an output stream.
write(IpOutputStream) - Method in class org.iperg.part.core.IpObject
Write the state of the object into an output stream.
write(IpOutputStream) - Method in class org.iperg.part.core.IpObjectPattern
Write the state of the pattern into an output stream.
write(IpOutputStream) - Method in interface org.iperg.part.core.IpSerializable
Write the state of the object into an output stream.
writeBoolean(boolean) - Method in class org.iperg.part.core.IpIoStream
Writes a boolean.
writeBoolean(boolean) - Method in interface org.iperg.part.core.IpOutputStream
Writes a boolean into the output stream.
writeByte(byte) - Method in class org.iperg.part.core.IpIoStream
Writes a byte.
writeByte(byte) - Method in interface org.iperg.part.core.IpOutputStream
Writes a byte into the output stream.
writeBytes(byte[]) - Method in class org.iperg.part.core.IpIoStream
Writes a byte array
writeBytes(byte[]) - Method in interface org.iperg.part.core.IpOutputStream
Write an array of bytes into the output stream
writeCachedEvents(OutputStream) - Method in class org.iperg.part.core.IpHttpConnection
Can be used on a server side connection to write all cached events to an output stream.
writeChar(char) - Method in class org.iperg.part.core.IpIoStream
Writes a 16 bits char.
writeChar(char) - Method in interface org.iperg.part.core.IpOutputStream
Writes a 16 bits char into the output stream.
writeDouble(double) - Method in class org.iperg.part.core.IpIoStream
Writes a double.
writeDouble(double) - Method in interface org.iperg.part.core.IpOutputStream
Writes a double into the output stream.
writeFloat(float) - Method in class org.iperg.part.core.IpIoStream
Writes a float.
writeFloat(float) - Method in interface org.iperg.part.core.IpOutputStream
Writes a float into the output stream.
writeInt(int) - Method in class org.iperg.part.core.IpIoStream
Writes an int.
writeInt(int) - Method in interface org.iperg.part.core.IpOutputStream
Writes an integer into the output stream.
writeLong(long) - Method in class org.iperg.part.core.IpIoStream
Writes a long.
writeLong(long) - Method in interface org.iperg.part.core.IpOutputStream
Writes a long into the output stream.
writeObject(Object) - Method in class org.iperg.part.core.IpIoStream
Writes an object
writeObject(Object) - Method in interface org.iperg.part.core.IpOutputStream
Write an object into the marshaller.
writeShort(short) - Method in class org.iperg.part.core.IpIoStream
Writes a short.
writeShort(short) - Method in interface org.iperg.part.core.IpOutputStream
Writes a short into the output stream.
writeString(String) - Method in class org.iperg.part.core.IpIoStream
Writes a string
writeString(String) - Method in interface org.iperg.part.core.IpOutputStream
Writes a string into the output stream.

_

_outgoingEventsAreCached() - Method in class org.iperg.part.core.IpConnection
Check if events sent via the send method are cached locally.
_outgoingEventsAreCached() - Method in class org.iperg.part.core.IpHttpConnection
Check if events sent via the send method are cached locally.
_outgoingEventsAreCached() - Method in class org.iperg.part.core.IpTcpConnection
Check if events sent via the send method are cached locally.
_send(IpNetworkEvent) - Method in class org.iperg.part.core.IpConnection
Method that does the actual work of sending data to the network.
_send(IpNetworkEvent) - Method in class org.iperg.part.core.IpHttpConnection
Send an event to the remote process.

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