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

A

addBacklink() - Method in class org.topoweb.ila.StateBuffer
Adds one to the backlink count and bumps the version.
addCoBacklink() - Method in class org.topoweb.ila.StateBuffer
Adds one to the co-backlink count and bumps the version.
AuthenticationException - exception org.topoweb.ila.server.AuthenticationException.
Exception type indicating an authentication error for a privileged network service (e.g.
AuthenticationException() - Constructor for class org.topoweb.ila.server.AuthenticationException
Creates a default instance.
AuthenticationException(IlaSession) - Constructor for class org.topoweb.ila.server.AuthenticationException
Creates a new instance with the specified session.
AuthenticationException(String) - Constructor for class org.topoweb.ila.server.AuthenticationException
Creates a new instance with the specified message.
AuthenticationException(String, IlaSession) - Constructor for class org.topoweb.ila.server.AuthenticationException
Creates an instance with the given message and session.

B

BACK - Static variable in interface org.topoweb.ila.NodeConstants
Bit field indicating the backward link.
backOut(Session) - Method in class org.topoweb.ila.server.RequestProcessor
 
bumpSyncVersion() - Method in class org.topoweb.ila.StateBuffer
Bumps the current version and sets the sync version to the current version.
bumpVersion() - Method in class org.topoweb.ila.StateBuffer
Bumps the current version.

C

checkForm(Node) - Method in class org.topoweb.ila.NodeSet
Checks the form of the node.
checkVersion(Element) - Method in class org.topoweb.ila.protocol.RemoteService
Checks the version of the response.
checkVersion(Element) - Method in class org.topoweb.ila.server.RequestProcessor
Checks the protocol version.
checkVersion(String) - Method in class org.topoweb.ila.protocol.RequestParser
Checks the protocol version.
clear() - Method in class org.topoweb.ila.HttpStateBuffer
 
clear() - Method in class org.topoweb.ila.IncommunicadoStateBuffer
 
clear() - Method in class org.topoweb.ila.StateBuffer
Clears the buffer.
clear() - Method in class org.topoweb.ila.protocol.RequestParser
 
clear() - Method in class org.topoweb.ila.server.IlaSession
Clears the fields of this instance.
CoLinkPolicy - interface org.topoweb.ila.server.spi.CoLinkPolicy.
Encapsulates the policy used to decide whether a link is a co-link or a regular link.
commit() - Method in interface org.topoweb.ila.server.spi.DataAccessor
Commits updates since the last commit or rollback.
compareTo(Node) - Method in class org.topoweb.ila.Node
Compares this instance with the other.
compareTo(Object) - Method in class org.topoweb.ila.Node
Compares this instance with the other.
count() - Method in class org.topoweb.ila.NodeSet
Returns the number of nodes stored in this instance.

D

DataAccessor - interface org.topoweb.ila.server.spi.DataAccessor.
The data access layer.
DataAccessorException - exception org.topoweb.ila.server.spi.DataAccessorException.
Represents application-specific errors arising from the database implementation layer.
DataAccessorException() - Constructor for class org.topoweb.ila.server.spi.DataAccessorException
Creates a default instance.
DataAccessorException(String) - Constructor for class org.topoweb.ila.server.spi.DataAccessorException
Creates a new instance with the specified message.
DataAccessorException(String, Throwable) - Constructor for class org.topoweb.ila.server.spi.DataAccessorException
Creates a new instance with the specified message and cause.
DataAccessorException(Throwable) - Constructor for class org.topoweb.ila.server.spi.DataAccessorException
Creates an instance with the given cause.
DEF_MAX_COUNT - Static variable in interface org.topoweb.ila.server.DefaultConstants
Default "max count" property value.
DefaultConstants - interface org.topoweb.ila.server.DefaultConstants.
Default constants used by the server.
doGetKnown(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 
doGetLinkNode(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 
doGetLinks(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 
doGetNode(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 
doRegister(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 
doRemoveBacklink(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 
doSetLink(Element, IlaSession) - Method in class org.topoweb.ila.server.RequestProcessor
 

E

EMPTY - Static variable in class org.topoweb.ila.NodeSet
An empty set with infinite range.
enqueue(Session) - Method in class org.topoweb.ila.server.RequestProcessor
Enqueue's the given session in the read-completed queue.
equals(Node) - Method in class org.topoweb.ila.Node
Tests whether the other instance is equal to this instance.
equals(Object) - Method in class org.topoweb.ila.Node
Tests whether the other instance is equal to this instance.

F

FIRST_PAGE - Static variable in interface org.topoweb.ila.NodeConstants
Bit field indicating the first page of a link result set.
FORE - Static variable in interface org.topoweb.ila.NodeConstants
Bit field indicating the forward link.

G

getAnswerElement(Element, String, String) - Method in class org.topoweb.ila.protocol.RemoteService
Extracts the answser from the response envelop.
getBacklinks() - Method in class org.topoweb.ila.LinkNode
Returns the backlinks.
getCoLinkCount(int) - Method in class org.topoweb.ila.State
Returns the co-link count for the specified link type.
getCoLinkCount(int) - Method in class org.topoweb.ila.StateBuffer
Returns the co-link count for the specified link type.
getContentLength() - Method in class org.topoweb.ila.HttpState
Returns the content-length.
getContentLength() - Method in class org.topoweb.ila.HttpStateBuffer
Returns the content-length, or zero if not set.
getContentType() - Method in class org.topoweb.ila.HttpState
Returns the content-type HTTP header field
getContentType() - Method in class org.topoweb.ila.HttpStateBuffer
Returns the content-type, or null if not set.
getDefaultMaxCount() - Method in class org.topoweb.ila.server.RequestProcessor
Returns the default "max count" property.
getEnvelop() - Method in class org.topoweb.ila.protocol.RequestParser
Returns the "envelop" element.
getErrorCode() - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Returns the error code, or zero if not set.
getErrorCode() - Method in class org.topoweb.ila.IncommunicadoState
Returns the error code.
getExpiration() - Method in class org.topoweb.ila.HttpState
 
getForelinks() - Method in class org.topoweb.ila.LinkNode
Returns the forelinks.
getFunction() - Method in class org.topoweb.ila.protocol.RequestParser
Returns the "function" element.
getHttpStatus() - Method in class org.topoweb.ila.HttpState
Returns the HTTP status code.
getHttpStatus() - Method in class org.topoweb.ila.HttpStateBuffer
Returns the HTTP status code, or zero if not set.
getInstruction() - Method in class org.topoweb.ila.server.Request
Returns the instruction if the instance is "local".
getKnown(StringRange, int, int) - Method in interface org.topoweb.ila.Ila
Returns a list of nodes known by Ila in the given lexical range as a NodeSet.
getKnown(StringRange, int, int) - Method in class org.topoweb.ila.protocol.RemoteIla
 
getKnown(StringRange, int, int) - Method in class org.topoweb.ila.server.spi.IlaImpl
 
getKnown(StringRange, int, int) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Returns a list of known nodes in the given lexical range.
getLastModified() - Method in class org.topoweb.ila.HttpState
 
getLink(Ori, int, Ori) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Returns the state information for the given link.
getLinkCount(int) - Method in class org.topoweb.ila.State
Returns the link count for the specified link type.
getLinkCount(int) - Method in class org.topoweb.ila.StateBuffer
Returns the link count for the specified link type.
getLinkNode(Ori, int, StringRange, int, int) - Method in interface org.topoweb.ila.Ila
Returns a linked-node containing links with the specified type and in the specified lexical range.
getLinkNode(Ori, int, StringRange, int, int) - Method in class org.topoweb.ila.protocol.RemoteIla
 
getLinkNode(Ori, int, StringRange, int, int) - Method in class org.topoweb.ila.server.spi.IlaImpl
 
getLinks(int) - Method in class org.topoweb.ila.LinkNode
Returns the links for the given type.
getLinks(Ori, int, StringRange, int, int) - Method in interface org.topoweb.ila.Ila
Returns the links of the specified type for the node with the given Ori as a NodeSet.
getLinks(Ori, int, StringRange, int, int) - Method in class org.topoweb.ila.protocol.RemoteIla
 
getLinks(Ori, int, StringRange, int, int) - Method in class org.topoweb.ila.server.spi.IlaImpl
 
getLinks(Ori, int, StringRange, int, int) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Returns the links of the specified type for the given node.
getLinkType(Element) - Method in class org.topoweb.ila.protocol.RequestParser
 
getMaxCount(Element) - Method in class org.topoweb.ila.protocol.RequestParser
 
getMessage() - Method in class org.topoweb.ila.ResolutionException
Returns a detail message.
getNode(int) - Method in class org.topoweb.ila.NodeSet
Returns the node at the specified index.
getNode(Ori) - Method in interface org.topoweb.ila.Ila
Returns the node for the specified Ori.
getNode(Ori) - Method in class org.topoweb.ila.protocol.RemoteIla
 
getNode(Ori) - Method in class org.topoweb.ila.server.spi.IlaImpl
 
getOri() - Method in class org.topoweb.ila.ResolutionException
Returns the ORI of the source node that raised this error.
getOri() - Method in class org.topoweb.ila.Node
Returns this instance's identifier.
getOri(Element) - Method in class org.topoweb.ila.protocol.RequestParser
 
getOutputStream() - Method in class org.topoweb.ila.server.IlaSession
Returns an in-memory java.io.OutputStream that backs the ByteBuffers returned by this instance.
getPage(Element) - Method in class org.topoweb.ila.protocol.RequestParser
 
getPageOrder() - Method in class org.topoweb.ila.NodeSet
Returns the page order of this instance.
getRange() - Method in class org.topoweb.ila.NodeSet
Returns the lexical range of the Oris of nodes that this set covers.
getRange(Element) - Method in class org.topoweb.ila.protocol.RequestParser
 
getRequest() - Method in class org.topoweb.ila.protocol.RequestParser
Returns the "request" element.
getServiceType() - Method in interface org.topoweb.ila.server.spi.ServiceProviderResolver
Returns the type of service this instance is resolving.
getSession() - Method in class org.topoweb.ila.server.Request
Returns the session if the instance is "remote".
getSession() - Method in class org.topoweb.ila.server.AuthenticationException
Returns the session.
getState() - Method in class org.topoweb.ila.Node
Returns the state of this instance.
getState(Ori) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Returns the state information for the given ORI.
getStatus() - Method in class org.topoweb.ila.State
Returns the status code for the instance.
getStatus() - Method in class org.topoweb.ila.StateBuffer
Returns the status code.
getSyncVersionId() - Method in class org.topoweb.ila.State
Returns the sync version ID for this instance.
getSyncVersionId() - Method in class org.topoweb.ila.StateBuffer
Returns the sync version ID for this instance.
getSyncVersionTimestamp() - Method in class org.topoweb.ila.State
Returns the version timestamp for this instance.
getSyncVersionTimestamp() - Method in class org.topoweb.ila.StateBuffer
Returns the version timestamp for this instance.
getTitle() - Method in class org.topoweb.ila.HttpState
 
getTxnId() - Method in class org.topoweb.ila.protocol.RequestParser
Returns the transaction ID.
getTxnId() - Method in class org.topoweb.ila.server.IlaSession
Returns the transaction ID.
getUserAgent() - Method in class org.topoweb.ila.HttpStateBuffer
Returns the user-agent, or null if not set.
getUserAgent() - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Returns the user-agent, or null if not set.
getUserAgent() - Method in class org.topoweb.ila.VisitedState
Returns the user-agent that attempted to visit the node.
getVersion() - Method in class org.topoweb.ila.protocol.RequestParser
Returns the "version" string.
getVersion() - Method in class org.topoweb.ila.protocol.RemoteService
Returns the version string of the protocol implemented.
getVersionId() - Method in class org.topoweb.ila.State
Returns the version ID for this instance.
getVersionId() - Method in class org.topoweb.ila.StateBuffer
Returns the version ID.
getVersionTimestamp() - Method in class org.topoweb.ila.State
Returns the version timestamp for this instance.
getVersionTimestamp() - Method in class org.topoweb.ila.StateBuffer
Returns the version timestamp.
getWriteBuffers() - Method in class org.topoweb.ila.server.IlaSession
Returns the "write buffers".

H

hashCode() - Method in class org.topoweb.ila.Node
Returns the hashcode as per the general contract.
HttpState - class org.topoweb.ila.HttpState.
The respresentation of the state of an HTTP node in an Ila system.
HttpState(int, int, long, int, long, int, int, long, long, int, String, int, long, long, String, String) - Constructor for class org.topoweb.ila.HttpState
Creates a new instance using the given HTTP status code, content-length, and user-agent fields.
HttpStateBuffer - class org.topoweb.ila.HttpStateBuffer.
Creates and transmutes immutable State and HttpState instances.
HttpStateBuffer() - Constructor for class org.topoweb.ila.HttpStateBuffer
 

I

Ila - interface org.topoweb.ila.Ila.
The query interface for Ila.
IlaException - exception org.topoweb.ila.IlaException.
Base exception type for errors when transacting with Ila.
IlaException() - Constructor for class org.topoweb.ila.IlaException
Creates a default instance.
IlaException(String) - Constructor for class org.topoweb.ila.IlaException
Creates a new instance with the specified message.
IlaException(String, Throwable) - Constructor for class org.topoweb.ila.IlaException
Creates a new instance with the specified message and cause.
IlaException(Throwable) - Constructor for class org.topoweb.ila.IlaException
Creates an instance with the given cause.
IlaImpl - class org.topoweb.ila.server.spi.IlaImpl.
Base local Ila implementation class.
IlaImpl(DataAccessor, ServiceProviderResolver) - Constructor for class org.topoweb.ila.server.spi.IlaImpl
Creates a new instance with the given DataAccessor.
IlaProtocolException - exception org.topoweb.ila.protocol.IlaProtocolException.
Encapsulates protocol-related errors.
IlaProtocolException() - Constructor for class org.topoweb.ila.protocol.IlaProtocolException
Creates a default instance.
IlaProtocolException(String) - Constructor for class org.topoweb.ila.protocol.IlaProtocolException
Creates a new instance with the specified message.
IlaProtocolException(String, Throwable) - Constructor for class org.topoweb.ila.protocol.IlaProtocolException
Creates a new instance with the specified message and cause.
IlaProtocolException(Throwable) - Constructor for class org.topoweb.ila.protocol.IlaProtocolException
Creates an instance with the given cause.
IlaServiceResolver - interface org.topoweb.ila.IlaServiceResolver.
The service resolution interface for Ila.
IlaSession - class org.topoweb.ila.server.IlaSession.
Encapsulates conversational state in an Ila server.
IlaSession() - Constructor for class org.topoweb.ila.server.IlaSession
 
IlaSession(SocketChannel) - Constructor for class org.topoweb.ila.server.IlaSession
Creates a new instance with the specified channel.
IncommunicadoState - class org.topoweb.ila.IncommunicadoState.
The respresentation of the state of a node that cannot be visited due to some sort of network error.
IncommunicadoState(int, int, long, int, long, int, int, long, long, String, int) - Constructor for class org.topoweb.ila.IncommunicadoState
Creates a new instance using the given error code.
IncommunicadoStateBuffer - class org.topoweb.ila.IncommunicadoStateBuffer.
Creates and transmutes immutable State and IncommunicadoState instances.
IncommunicadoStateBuffer() - Constructor for class org.topoweb.ila.IncommunicadoStateBuffer
 
indexOfCursor(String) - Method in class org.topoweb.ila.NodeSet
Returns the index of the Node whose Ori is lexically equal to the given string cursor.
init() - Method in class org.topoweb.ila.server.RequestProcessor
Initializes the instance.
initCoLinked() - Method in class org.topoweb.ila.StateBuffer
Initializes the instance to NV status with exactly one backlink and one co-backlink.
initImpl() - Method in class org.topoweb.ila.server.RequestProcessor
Initialization implementation method.
initLinked() - Method in class org.topoweb.ila.StateBuffer
Initializes the instance to NV status with exactly one backlink and zero co-backlinks.
Instruction - class org.topoweb.ila.server.Instruction.
A locally generated unit of processing.
Instruction() - Constructor for class org.topoweb.ila.server.Instruction
 
IntegrityException - exception org.topoweb.ila.server.IntegrityException.
Exception type indicating a data integrity error.
IntegrityException() - Constructor for class org.topoweb.ila.server.IntegrityException
Creates a default instance.
IntegrityException(String) - Constructor for class org.topoweb.ila.server.IntegrityException
Creates a new instance with the specified message.
isAlive() - Method in class org.topoweb.ila.server.RequestProcessor
 
isAuthenticated() - Method in class org.topoweb.ila.server.IlaSession
Returns the "authenticated" property.
isCoLink(Ori, Ori) - Method in interface org.topoweb.ila.server.spi.CoLinkPolicy
Returns whether the link represented by the specified end-points should be classified as a co-link.
isComplete() - Method in class org.topoweb.ila.NodeSet
Returns whether this instance contains all the nodes in its range.
isFirstPage() - Method in class org.topoweb.ila.NodeSet
Tests whether this instance represents the first page.
isLastPage() - Method in class org.topoweb.ila.NodeSet
Tests whether this instance represents the last page.
isLocal() - Method in class org.topoweb.ila.server.Request
Tests whether this instance represents a local event.
isLocal(Ori) - Method in interface org.topoweb.ila.server.spi.ServiceProviderResolver
Tests whether the local VM is the authoritative server for the given ORI.
ISR_ILA - Static variable in interface org.topoweb.ila.server.spi.ServiceProviderResolver
The basic Ila client/server interface.
ISR_MIRROR - Static variable in interface org.topoweb.ila.server.spi.ServiceProviderResolver
The mirror service-provider interface.
ISR_REGISTRAR - Static variable in interface org.topoweb.ila.server.spi.ServiceProviderResolver
The registrar service-provider interface.
isRemote() - Method in class org.topoweb.ila.server.Request
Tests whether this instance represents a remote event.
isTruncated() - Method in class org.topoweb.ila.NodeSet
Returns whether this instance contains only a subset of the nodes in its range.

J

join(int) - Method in class org.topoweb.ila.server.RequestProcessor
 

L

LAST_PAGE - Static variable in interface org.topoweb.ila.NodeConstants
Bit field indicating the last page of a link result set.
LINK_MASK - Static variable in interface org.topoweb.ila.NodeConstants
Link type bit-mask.
LinkNode - class org.topoweb.ila.LinkNode.
A Node subclass which may contain references to other linked Node instances.
LinkNode(Ori, State, NodeSet, NodeSet) - Constructor for class org.topoweb.ila.LinkNode
Creates a new instance with the specified ori, state, forelinks and backlinks.
load(Element) - Method in class org.topoweb.ila.protocol.RequestParser
 
load(HttpState) - Method in class org.topoweb.ila.HttpStateBuffer
Loads the given HttpState) instance.
load(IncommunicadoState) - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Loads the given HttpState) instance.
load(State) - Method in class org.topoweb.ila.HttpStateBuffer
Loads the given state object.
load(State) - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Loads the given state object.
load(State) - Method in class org.topoweb.ila.StateBuffer
Loads the given state object.
LocalIla - interface org.topoweb.ila.server.spi.LocalIla.
Marker interface for a local (non-remote) implementation of Ila.
LocalMirror - interface org.topoweb.ila.server.spi.LocalMirror.
Marker interface for a local (non-remote) implementation of the Mirror interface.
LOGGER - Static variable in class org.topoweb.ila.server.RequestProcessor
The logger used to log messages.

M

Mirror - interface org.topoweb.ila.server.spi.Mirror.
Interface through which link and state information is exchanged across the system.
MirrorImpl - class org.topoweb.ila.server.spi.MirrorImpl.
Base local Mirror implementation class.
MirrorImpl(DataAccessor, ServiceProviderResolver, CoLinkPolicy) - Constructor for class org.topoweb.ila.server.spi.MirrorImpl
Creates a new instance with the given data accessor and co-link policy.

N

newTransactionId() - Method in class org.topoweb.ila.protocol.RemoteService
Returns a new transaction ID.
NF - Static variable in interface org.topoweb.ila.StateConstants
Not found status.
NK - Static variable in interface org.topoweb.ila.StateConstants
Not known state.
Node - class org.topoweb.ila.Node.
The respresentation of linked object in the Ila system.
Node(Ori, State) - Constructor for class org.topoweb.ila.Node
Constructs a new instance with the given identifier and state.
NodeConstants - interface org.topoweb.ila.NodeConstants.
Constants used to describe Nodes and NodeSets.
NodeSet - class org.topoweb.ila.NodeSet.
Immutable encapsulation of a list of monotonically ascending Node instances within a given lexical range.
NodeSet(Node[], StringRange) - Constructor for class org.topoweb.ila.NodeSet
Convenience constructor.
NodeSet(Node[], StringRange, int, int) - Constructor for class org.topoweb.ila.NodeSet
Creates a new instance with the given nodes array and range, and optional page flag and size..
NV - Static variable in interface org.topoweb.ila.StateConstants
Not visited state.

O

OK - Static variable in interface org.topoweb.ila.StateConstants
Okay status.
org.topoweb.ila - package org.topoweb.ila
Common classes and interfaces shared by the org.topoweb.ila.* subpackages.
org.topoweb.ila.protocol - package org.topoweb.ila.protocol
Defines the over-the-wire representation (or other serialization) of some Ila classes and interfaces.
org.topoweb.ila.server - package org.topoweb.ila.server
Ila Server Subsystem.
org.topoweb.ila.server.spi - package org.topoweb.ila.server.spi
Service provider interfaces.

P

PAGE_MASK - Static variable in interface org.topoweb.ila.NodeConstants
Page order bit mask.
PC_BACKLINK_COUNT - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_BACKLINKS - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_CO_BACKLINK_COUNT - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_CO_FORELINK_COUNT - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_CONTENT_LENGTH - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_CONTENT_TYPE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_ERROR_CODE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_EXPIRATION - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_FAIL - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_FIRST - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_FORELINK_COUNT - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_FORELINKS - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_GET_KNOWN - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_GET_LINK_NODE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_GET_LINKS - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_GET_NODE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_HI - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_HTTP - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_ID - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_ILA - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
Root element tag for any client or server message.
PC_INCOMMUNICADO - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_LAST - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_LAST_MODIFIED - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_LINK_NODE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_LINK_TYPE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_LO - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_MAX_COUNT - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_NODE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_NODE_SET - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_OKAY - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_ORI - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_PAGE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_REGISTER - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_REQUEST - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_RESPONSE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_SIZE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_STATE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_STATUS - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_SYNC_VERSION_ID - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_SYNC_VERSION_TIMESTAMP - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_TITLE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_USER - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_USER_AGENT - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_USER_NAMESPACE - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_VERSION - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_VERSION_ID - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PC_VERSION_TIMESTAMP - Static variable in interface org.topoweb.ila.protocol.ProtocolConstants
 
PLinkNode - class org.topoweb.ila.protocol.PLinkNode.
The XML respresentation of a LinkNode instance.
PLinkNode(PState, PNodeSet) - Constructor for class org.topoweb.ila.protocol.PLinkNode
Creates a new instance with the given entity translators.
PLinkTypeAttr - class org.topoweb.ila.protocol.PLinkTypeAttr.
Encapsulates the reading and writing of the "link type" attribute.
PLinkTypeAttr() - Constructor for class org.topoweb.ila.protocol.PLinkTypeAttr
 
PMaxCountAttr - class org.topoweb.ila.protocol.PMaxCountAttr.
Encapsulates the reading and writing of the "max count" attribute.
PMaxCountAttr() - Constructor for class org.topoweb.ila.protocol.PMaxCountAttr
 
PNode - class org.topoweb.ila.protocol.PNode.
The XML respresentation of a Node instance.
PNode(PState) - Constructor for class org.topoweb.ila.protocol.PNode
Creates a new instance with the given entity translator.
PNodeSet - class org.topoweb.ila.protocol.PNodeSet.
The XML respresentation of a NodeSet instance.
PNodeSet(PNode) - Constructor for class org.topoweb.ila.protocol.PNodeSet
Creates a new instance with the given entity translator.
POriAttr - class org.topoweb.ila.protocol.POriAttr.
Encapsulates the reading and writing of the "ORI" attribute.
POriAttr() - Constructor for class org.topoweb.ila.protocol.POriAttr
 
PPageAttr - class org.topoweb.ila.protocol.PPageAttr.
Encapsulates the reading and writing the page order attribute.
PPageAttr() - Constructor for class org.topoweb.ila.protocol.PPageAttr
 
PRangeAttr - class org.topoweb.ila.protocol.PRangeAttr.
Encapsulates the reading and writing the StringRanges as attributes.
PRangeAttr() - Constructor for class org.topoweb.ila.protocol.PRangeAttr
 
processLocalRequest(Request) - Method in class org.topoweb.ila.server.RequestProcessor
Processes the given local request.
processRemoteRequest(Request) - Method in class org.topoweb.ila.server.RequestProcessor
Processes the given remote request.
ProtocolConstants - interface org.topoweb.ila.protocol.ProtocolConstants.
Constants used to in Ila's XML-based network protocol.
PState - class org.topoweb.ila.protocol.PState.
The XML respresentation of a State instance.
PState() - Constructor for class org.topoweb.ila.protocol.PState
 

R

readLinkType(Element) - Method in class org.topoweb.ila.protocol.PLinkTypeAttr
Reads and returns the "link type" from the given element.
readMaxCount(Element) - Method in class org.topoweb.ila.protocol.PMaxCountAttr
Reads and returns the "max count" from the given element.
readOri(Element) - Method in class org.topoweb.ila.protocol.POriAttr
Reads and returns the "ORI" from the given element.
readPage(Element) - Method in class org.topoweb.ila.protocol.PPageAttr
Reads and returns the page order from the given element.
readRange(Element) - Method in class org.topoweb.ila.protocol.PRangeAttr
Reads and returns a StringRange from the given element.
register(LinkNode) - Method in class org.topoweb.ila.protocol.RemoteRegistrar
 
register(LinkNode) - Method in class org.topoweb.ila.server.spi.RegistrarImpl
 
register(LinkNode) - Method in interface org.topoweb.ila.server.spi.Registrar
Registers the given node.
register(Ori) - Method in interface org.topoweb.ila.Ila
Registers the given resource.
register(Ori) - Method in class org.topoweb.ila.protocol.RemoteIla
 
register(Ori) - Method in class org.topoweb.ila.server.spi.IlaImpl
This base implementation just returns a node in the NK state.
Registrar - interface org.topoweb.ila.server.spi.Registrar.
Interface through which a bot updates the system.
RegistrarImpl - class org.topoweb.ila.server.spi.RegistrarImpl.
Base local Registrar implementation class.
RegistrarImpl(DataAccessor, ServiceProviderResolver, CoLinkPolicy) - Constructor for class org.topoweb.ila.server.spi.RegistrarImpl
Creates a new instance with the given data accessor and co-link policy.
RemoteIla - class org.topoweb.ila.protocol.RemoteIla.
Ila implementation over an XML/DOM protocol.
RemoteIla(PLinkNode, PNodeSet, PNode, DomProtocol) - Constructor for class org.topoweb.ila.protocol.RemoteIla
Creates a new instance with the given entity translators and protocol handler.
RemoteMirror - class org.topoweb.ila.protocol.RemoteMirror.
Mirror implementation over an XML/DOM protocol.
RemoteMirror(PNode, DomProtocol) - Constructor for class org.topoweb.ila.protocol.RemoteMirror
Creates a new instance with the given entity translator and protocol handler.
RemoteRegistrar - class org.topoweb.ila.protocol.RemoteRegistrar.
Registrar implementation over an XML/DOM protocol.
RemoteRegistrar(PLinkNode, DomProtocol) - Constructor for class org.topoweb.ila.protocol.RemoteRegistrar
Creates a new instance with the given entity translator and protocol handler.
RemoteService - class org.topoweb.ila.protocol.RemoteService.
Base class for the client-side of our XML/DOM protocol.
RemoteService() - Constructor for class org.topoweb.ila.protocol.RemoteService
 
removeBacklink() - Method in class org.topoweb.ila.StateBuffer
Removes one from the backlink count and bumps the version.
removeBacklink(Ori, Node) - Method in class org.topoweb.ila.protocol.RemoteMirror
 
removeBacklink(Ori, Node) - Method in interface org.topoweb.ila.server.spi.Mirror
Removes the specified backlink.
removeBacklink(Ori, Node) - Method in class org.topoweb.ila.server.spi.MirrorImpl
 
removeCoBacklink() - Method in class org.topoweb.ila.StateBuffer
Removes one from the backlink count and bumps the version.
removeLink(Ori, int, Ori) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Removes the state information for the given link.
removeState(Ori) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Removes state information about the given ORI.
Request - class org.topoweb.ila.server.Request.
A basic unit of processing.
Request(IlaSession) - Constructor for class org.topoweb.ila.server.Request
Creates a remote instance with the given session.
Request(Instruction) - Constructor for class org.topoweb.ila.server.Request
Creates a local instance with the given instruction.
RequestParser - class org.topoweb.ila.protocol.RequestParser.
Parses a request.
RequestParser() - Constructor for class org.topoweb.ila.protocol.RequestParser
 
RequestProcessor - class org.topoweb.ila.server.RequestProcessor.
An org.topoweb.util.concurrent.SingleRun that processes incoming requests.
RequestProcessor(Takable, Puttable) - Constructor for class org.topoweb.ila.server.RequestProcessor
Creates a new instance with the given parameters.
ResolutionException - exception org.topoweb.ila.ResolutionException.
Exception type indicating a server resolution error.
ResolutionException(Ori) - Constructor for class org.topoweb.ila.ResolutionException
Creates a new instance with the specified ORI.
resolve(Ori) - Method in interface org.topoweb.ila.IlaServiceResolver
Resolves and returns the address and port number of the network service for the specified ORI.
rollback() - Method in interface org.topoweb.ila.server.spi.DataAccessor
Rolls back updates since the last commit or rollback.
run() - Method in class org.topoweb.ila.server.RequestProcessor
Runs the session processor loop.

S

searchComparator - Static variable in class org.topoweb.ila.NodeSet
The comparator used to implement index-of-cursor searches.
ServiceProviderResolver - interface org.topoweb.ila.server.spi.ServiceProviderResolver.
The generalized resolution interface for all Ila network services.
setAuthenticated(boolean) - Method in class org.topoweb.ila.server.IlaSession
Sets the "authenticated" property.
setBacklink(Ori, Node) - Method in class org.topoweb.ila.server.spi.MirrorImpl
Sets the specified backlink.
setLink(Ori, int, Node) - Method in class org.topoweb.ila.protocol.RemoteMirror
 
setLink(Ori, int, Node) - Method in interface org.topoweb.ila.server.spi.Mirror
Sets a link of the specified type from the given source to destination node.
setLink(Ori, int, Node) - Method in class org.topoweb.ila.server.spi.MirrorImpl
 
setLink(Ori, int, Node) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Sets the state information for the given destination.
setNotFound() - Method in class org.topoweb.ila.HttpStateBuffer
Should not be invoked directly.
setNotFound() - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Should not be invoked directly.
setNotFound() - Method in class org.topoweb.ila.StateBuffer
Sets the result of an unsuccessful visit.
setNotFound(int, String) - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Sets the state of this instance to indicate the resource cannot be found because the network service that is to serve it cannot be reached.
setNotFound4xx(int, String) - Method in class org.topoweb.ila.HttpStateBuffer
Sets the state to that of an HTTP 4xx status code.
setOkay(int, int) - Method in class org.topoweb.ila.HttpStateBuffer
Should not be invoked directly.
setOkay(int, int) - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Should not be invoked.
setOkay(int, int) - Method in class org.topoweb.ila.StateBuffer
Sets the result of a successful visit of a node with the specified [fore-] link and co-link counts.
setOkay2xx(int, String, int, long, long, String, String, int, int) - Method in class org.topoweb.ila.HttpStateBuffer
Sets the state to that of an HTTP 2xx status code.
setOkay3xx(int, String, boolean) - Method in class org.topoweb.ila.HttpStateBuffer
Sets the state to that of an HTTP 3xx status code.
setState(Ori, State) - Method in interface org.topoweb.ila.server.spi.DataAccessor
Sets the state information for the given ORI.
setTxnId(String) - Method in class org.topoweb.ila.server.IlaSession
Sets the transaction ID.
size() - Method in class org.topoweb.ila.NodeSet
Returns the number of elements in the range of this instance.
SPC_REGISTER - Static variable in interface org.topoweb.ila.protocol.SpiProtocolConstants
 
SPC_REMOVE_BACKLINK - Static variable in interface org.topoweb.ila.protocol.SpiProtocolConstants
 
SPC_SET_LINK - Static variable in interface org.topoweb.ila.protocol.SpiProtocolConstants
 
SPC_SPI - Static variable in interface org.topoweb.ila.protocol.SpiProtocolConstants
 
SPC_SPI_NAMESPACE - Static variable in interface org.topoweb.ila.protocol.SpiProtocolConstants
 
SpiProtocolConstants - interface org.topoweb.ila.protocol.SpiProtocolConstants.
Constants used to in Ila's service provider network protocol.
State - class org.topoweb.ila.State.
The respresentation of the state of a node in an Ila system.
State(int, int, long, int, long, int, int, long, long) - Constructor for class org.topoweb.ila.State
Creates a new instance.
StateBuffer - class org.topoweb.ila.StateBuffer.
Creates and transmutes immutable State instances.
StateBuffer() - Constructor for class org.topoweb.ila.StateBuffer
 
StateConstants - interface org.topoweb.ila.StateConstants.
Constants representing the 4 primary state status types for nodes in the Ila system.
statusToString(int) - Static method in class org.topoweb.ila.State
Returns a string representation of an integral status code as defined by StateConstants.
stop() - Method in class org.topoweb.ila.server.RequestProcessor
 
supercedes(State) - Method in class org.topoweb.ila.State
Does this instance supercede the other? Uses the version ID to determine which instance is more recent.

T

toElement(LinkNode, Document) - Method in class org.topoweb.ila.protocol.PLinkNode
Translates the specified node using the given factory.
toElement(Node, Document) - Method in class org.topoweb.ila.protocol.PNode
Translates the specified node using the given factory.
toElement(NodeSet, Document) - Method in class org.topoweb.ila.protocol.PNodeSet
Translates the specified nodeSet using the given factory.
toElement(State, Document) - Method in class org.topoweb.ila.protocol.PState
Translates the specified state using the given factory.
toHttpState() - Method in class org.topoweb.ila.HttpStateBuffer
Returns this an HttpState representation of this instance.
toHttpStateElement(HttpState, Document) - Method in class org.topoweb.ila.protocol.PState
Returns the XML representation of an HttpState instance.
toIncommunicadoState() - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Returns this an IncommunicadoState representation of this instance.
toIncommunicadoStateElement(IncommunicadoState, Document) - Method in class org.topoweb.ila.protocol.PState
Returns the XML representation of an IncommunicadoState instance.
toLinkNode(Element) - Method in class org.topoweb.ila.protocol.PLinkNode
Translates the given element to a LinkNode instance.
toNode(Element) - Method in class org.topoweb.ila.protocol.PNode
Translates the given element to a Node instance.
toNodeSet(Element) - Method in class org.topoweb.ila.protocol.PNodeSet
Translates the given element to a NodeSet instance.
toState() - Method in class org.topoweb.ila.HttpStateBuffer
Returns the state of this buffer as an immutable State or HttpState instance.
toState() - Method in class org.topoweb.ila.IncommunicadoStateBuffer
Returns the state of this buffer as an immutable State or IncommunicadoState instance.
toState() - Method in class org.topoweb.ila.StateBuffer
Returns the state of this buffer as an immutable State instance.
toState(Element) - Method in class org.topoweb.ila.protocol.PState
Translates the given element to a State instance.
toStateElement(State, Document) - Method in class org.topoweb.ila.protocol.PState
Returns the XML representation of a generic State instance.
toString() - Method in class org.topoweb.ila.Node
Returns the string representation of this instance.

U

UNKNOWN - Static variable in class org.topoweb.ila.NodeSet
An empty set with no range.
updateForelink(Ori, Node) - Method in class org.topoweb.ila.server.spi.MirrorImpl
Updates the specified forelink.

V

VisitedState - class org.topoweb.ila.VisitedState.
The respresentation of the state of a node that has been visited.
VisitedState(int, int, long, int, long, int, int, long, long, String) - Constructor for class org.topoweb.ila.VisitedState
Creates a new instance using the given user-agent.

W

writeError(IlaException, Session) - Method in class org.topoweb.ila.server.RequestProcessor
 
writeLinkType(int, Element) - Method in class org.topoweb.ila.protocol.PLinkTypeAttr
Writes the given linkType value in the given element.
writeMaxCount(int, Element) - Method in class org.topoweb.ila.protocol.PMaxCountAttr
Writes the given maxCount value in the given element.
writeOri(Ori, Element) - Method in class org.topoweb.ila.protocol.POriAttr
Writes the given Ori value in the given element.
writePage(int, Element) - Method in class org.topoweb.ila.protocol.PPageAttr
Writes the given page order value in the given element.
writeRange(StringRange, Element) - Method in class org.topoweb.ila.protocol.PRangeAttr
Writes the specified range in the given element.

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

Copyright (C) 2002 Babak Farhang

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.