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

A

accept() - Method in interface org.xlattice.Acceptor
 
accept(Runnable) - Method in class org.xlattice.util.threads.ThreadPool
Accept a Runnable into the job queue.
Acceptor - Interface in org.xlattice
An Acceptor is used by a Node or Peer to accept connection requests.
add(Term) - Method in class org.xlattice.util.context.Expr
Add a term to the expression.
add(Template) - Method in class org.xlattice.util.template.SeqTemplate
 
add(Killable) - Method in class org.xlattice.util.threads.ThreadList
Add a thread to the lit.
addConnection(Connection) - Method in interface org.xlattice.Node
 
addConnector(Connector) - Method in class org.xlattice.Peer
 
addOverlay(Overlay) - Method in interface org.xlattice.Node
 
addOverlay(Overlay) - Method in class org.xlattice.Peer
 
addPeer(Peer) - Method in interface org.xlattice.Node
 
Address - Interface in org.xlattice
An Address provides enough information to identify an endpoint.
address() - Method in interface org.xlattice.Overlay
 
AddressException - Exception in org.xlattice
 
AddressException() - Constructor for exception org.xlattice.AddressException
No-argument constructor.
AddressException(String) - Constructor for exception org.xlattice.AddressException
Constructor taking a single String argument.
algorithm() - Method in interface org.xlattice.Key
 
algorithm() - Method in interface org.xlattice.Secret
 
allBusy() - Method in class org.xlattice.util.threads.ThreadList
Is everyone busy?
allIdle() - Method in class org.xlattice.util.threads.ThreadList
Is everyone idle?
ArgCursor - Class in org.xlattice.util.cmdline
Cursor over an array of command-line arguments.
ArgCursor(String[]) - Constructor for class org.xlattice.util.cmdline.ArgCursor
Create a cursor over a copy of an array of command line arguments.
ArrayStack - Class in org.xlattice.util
Deprecated.  
ArrayStack() - Constructor for class org.xlattice.util.ArrayStack
Deprecated. No-arg constructor.
ArrayStack(int) - Constructor for class org.xlattice.util.ArrayStack
Deprecated. Constructor specifying an initial stack size.

B

base - Variable in class org.xlattice.util.Stack
 
Base64Coder - Class in org.xlattice.util
Implementation of the 'filesafe' variant of Base64 encoding and decoding.
Base64Coder() - Constructor for class org.xlattice.util.Base64Coder
 
BinaryTemplate - Class in org.xlattice.util.template
A Template which consists of an irreducible byte array.
BinaryTemplate(byte[]) - Constructor for class org.xlattice.util.template.BinaryTemplate
 
bind(String, Object) - Method in class org.xlattice.Context
Bind a name to an Object at this Context level.
bind(String[], Object) - Method in class org.xlattice.util.cmdline.Bindery
Bind the command line arguments to fields in the target.
bind(String[], CmdLineOpt[], Object) - Static method in class org.xlattice.util.cmdline.Bindery
Bind the command line arguments, given a set of option descriptors.
Bindery - Class in org.xlattice.util.cmdline
Facility for binding an array of command line arguments to a set of fields in an object.
Bindery(CmdLineSpec) - Constructor for class org.xlattice.util.cmdline.Bindery
Create a bindery from a command line specification.
Bindery(CmdLineOpt[]) - Constructor for class org.xlattice.util.cmdline.Bindery
Create a bindery from a set of command line options.
bindFarEnd(EndPoint) - Method in interface org.xlattice.Connection
Set the far end point of a connection.
bindField(Class) - Method in class org.xlattice.util.cmdline.BooleanOpt
 
bindField(Class) - Method in class org.xlattice.util.cmdline.CmdLineOpt
Bind parameter to target class field.
bindField(Class) - Method in class org.xlattice.util.cmdline.DoubleOpt
 
bindField(Class) - Method in class org.xlattice.util.cmdline.IntOpt
 
bindField(Class) - Method in class org.xlattice.util.cmdline.LongOpt
 
bindField(Class) - Method in class org.xlattice.util.cmdline.StringOpt
 
bindNearEnd(EndPoint) - Method in interface org.xlattice.Connection
Set the near end point of a connection.
BooleanOpt - Class in org.xlattice.util.cmdline
Binds a boolean field in an object to a command line argument.
BooleanOpt(String, String, String) - Constructor for class org.xlattice.util.cmdline.BooleanOpt
 
BooleanOpt(String, String) - Constructor for class org.xlattice.util.cmdline.BooleanOpt
 
BOUND - Static variable in interface org.xlattice.Connection
near end point is set
byteArrayToHex(byte[]) - Static method in class org.xlattice.util.StringLib
 
byteArrayToHex(byte[], int, int) - Static method in class org.xlattice.util.StringLib
 
bytesTransferred - Variable in exception org.xlattice.TimeoutException
How many bytes were transferred by the I/O operation before the interrupt occurred.

C

capacity() - Method in class org.xlattice.util.threads.JobQueue
If the list is of fixed capacity, returns that fixed capacity; otherwise returns -1, denoting a variable-length list.
capacity() - Method in class org.xlattice.util.threads.ThreadList
 
chomp(String) - Static method in class org.xlattice.util.StringLib
Remove any combination of line-ending characters from the end of a String.
clear() - Method in class org.xlattice.util.ArrayStack
Deprecated. Removes all elements from the stack.
clone() - Method in class org.xlattice.NodeID
 
close() - Method in interface org.xlattice.Acceptor
 
close() - Method in interface org.xlattice.Connection
Bring the connection to the DISCONNECTED state.
close() - Method in class org.xlattice.util.NonBlockingLog
Kill the log thread without necessarily completing the writing of all log entries to disk.
CmdLineException - Exception in org.xlattice.util.cmdline
Exception thrown when there is an error in the command line.
CmdLineException(String) - Constructor for exception org.xlattice.util.cmdline.CmdLineException
 
CmdLineOpt - Class in org.xlattice.util.cmdline
Superclass for bindings between command line arguments and object fields.
CmdLineOpt(String, String, String) - Constructor for class org.xlattice.util.cmdline.CmdLineOpt
Creates descriptor for an individual option
CmdLineSpec - Class in org.xlattice.util.cmdline
Specification for the binding between command line options and a set of fields in an object.
CmdLineSpec(String, CmdLineOpt[], String) - Constructor for class org.xlattice.util.cmdline.CmdLineSpec
Create a command line specification.
CmdLineSpec(CmdLineOpt[]) - Constructor for class org.xlattice.util.cmdline.CmdLineSpec
Default constructor.
compareParts(String, String) - Static method in class org.xlattice.util.JnlpVersion
Compare two parts as numbers if possible, otherwise lexigraphically.
compareTo(Object) - Method in class org.xlattice.NodeID
 
compareTo(JnlpVersion) - Method in class org.xlattice.util.JnlpVersion
Compare this to another version numerically if possible, otherwise lexigraphically.
connect(EndPoint, boolean) - Method in interface org.xlattice.Connector
Establish a Connection with another entity using the transport and address in the EndPoint.
CONNECTED - Static variable in interface org.xlattice.Connection
both end points have been set, connection is established
Connection - Interface in org.xlattice
A Connection is a relationship between two EndPoints.
Connector - Interface in org.xlattice
Used to establish a Connection with another entity (Node).
connectorCount() - Method in class org.xlattice.Peer
Deprecated.  
connectors - Variable in class org.xlattice.Peer
 
Context - Class in org.xlattice
A naming context consisting of a possibly nested set of name-to-object bindings.
Context() - Constructor for class org.xlattice.Context
Create a context without a parent.
Context(Context) - Constructor for class org.xlattice.Context
Create a context with a parent Context.
CryptoException - Exception in org.xlattice
 
CryptoException() - Constructor for exception org.xlattice.CryptoException
No-argument constructor.
CryptoException(String) - Constructor for exception org.xlattice.CryptoException
Constructor taking a single String argument.
cursor() - Method in class org.xlattice.util.cmdline.Bindery
 

D

daemon - Variable in class org.xlattice.util.threads.ThreadPool
 
DATE_FMT - Static variable in class org.xlattice.util.Timestamp
 
decode(String) - Static method in class org.xlattice.util.Base64Coder
Given a String containing a base-64 encoded value, returns a reference to a byte array containing the decoded equivalent.
decodeUInt16(byte[], int) - Static method in class org.xlattice.util.UIntLib
Decode a byte field representing a 16-bit unsigned integer in big-endian form.
dequeue() - Method in class org.xlattice.util.Queue
 
dequeue() - Method in class org.xlattice.util.threads.JobQueue
Remove first object from the queue, if there is such a first object.
description - Variable in class org.xlattice.util.cmdline.CmdLineOpt
 
die() - Method in interface org.xlattice.util.threads.Killable
Terminate this thread in an orderly manner.
die() - Method in class org.xlattice.util.threads.ThreadList
Mark all list members as dying.
die() - Method in class org.xlattice.util.threads.Worker
Mark this thread as dying.
DigSigner - Interface in org.xlattice
Digital signature generator.
DISCONNECTED - Static variable in interface org.xlattice.Connection
connection has been closed
DoubleOpt - Class in org.xlattice.util.cmdline
Binds a command line argument to a double field in an object.
DoubleOpt(String, String, String, double, double) - Constructor for class org.xlattice.util.cmdline.DoubleOpt
Create the binding between the option and the field, optionally specifying maximum and minimum values.
DoubleOpt(String, String, double, double) - Constructor for class org.xlattice.util.cmdline.DoubleOpt
 
DoubleOpt(String, String, String) - Constructor for class org.xlattice.util.cmdline.DoubleOpt
 
DoubleOpt(String, String) - Constructor for class org.xlattice.util.cmdline.DoubleOpt
 

E

encode(byte[]) - Static method in class org.xlattice.util.Base64Coder
Given a byte array, returns a reference to a String containing the base-64 encoded equivalent.
encodeUInt16(int, byte[], int) - Static method in class org.xlattice.util.UIntLib
Encode an integer into a byte array, treating the integer as an unsigned 16-bit value.
endJob() - Method in class org.xlattice.util.threads.ThreadList
Decrease busy count.
EndPoint - Class in org.xlattice
An EndPoint is specified by a transport and an Address, including the local part.
EndPoint(Transport, Address) - Constructor for class org.xlattice.EndPoint
 
enqueue(Object) - Method in class org.xlattice.util.Queue
 
enqueue(Runnable) - Method in class org.xlattice.util.threads.JobQueue
Add object at the end of the queue.
equals(Object) - Method in interface org.xlattice.Address
 
equals(Object) - Method in interface org.xlattice.Connection
 
equals(Object) - Method in class org.xlattice.NodeID
 
equals(Object) - Method in interface org.xlattice.Overlay
 
equals(Object) - Method in class org.xlattice.Peer
 
equals(Object) - Method in interface org.xlattice.PublicKey
 
EXACT - Static variable in class org.xlattice.util.JnlpVersionMatcher
exact match between version numbers requird
Expr - Class in org.xlattice.util.context
This class converts a substring into a sequence of Terms.
Expr(String, int, boolean) - Constructor for class org.xlattice.util.context.Expr
Create an expression, a series of Terms, from a substring.
Expr(String) - Constructor for class org.xlattice.util.context.Expr
Converts an entire string into an expression.

F

fieldName - Variable in class org.xlattice.util.cmdline.CmdLineOpt
 
fieldRef - Variable in class org.xlattice.util.cmdline.CmdLineOpt
 
FileLib - Class in org.xlattice.util
 
findOption(String) - Method in class org.xlattice.util.cmdline.CmdLineSpec
 
from() - Method in class org.xlattice.util.context.Expr
 
from() - Method in class org.xlattice.util.context.Literal
 
from() - Method in class org.xlattice.util.context.Symbol
 
from() - Method in interface org.xlattice.util.context.Term
 

G

get(int) - Method in class org.xlattice.util.ArrayStack
Deprecated. Get an object from the stack, removing it.
get(int) - Method in class org.xlattice.util.context.Expr
 
get() - Method in class org.xlattice.util.context.Symbol
 
get(int) - Method in class org.xlattice.util.JnlpVersion
Returns the Nth part of a JNLP version number.
getAddress() - Method in class org.xlattice.EndPoint
 
getAlgorithm() - Method in interface org.xlattice.DigSigner
 
getAlgorithm() - Method in class org.xlattice.SigVerifier
 
getBuild() - Method in class org.xlattice.Version
Returns the build number.
getBytes(Context) - Method in interface org.xlattice.Template
Recursively reduce all constituent Templates in the Context to byte arrays, concatenate them, and return the result.
getBytes(Context) - Method in class org.xlattice.util.template.BinaryTemplate
For efficiency, returns a reference to the byte array.
getBytes(Context) - Method in class org.xlattice.util.template.SeqTemplate
 
getBytes(Context) - Method in class org.xlattice.util.template.StringTemplate
 
getBytes(Context) - Method in class org.xlattice.util.template.VarTemplate
 
getConnection(int) - Method in interface org.xlattice.Node
 
getConnector(int) - Method in class org.xlattice.Peer
Return a Connector, an Address-Protocol pair identifying an Acceptor for the Peer.
getDecimal() - Method in class org.xlattice.Version
Returns the third part of the version number.
getDescription() - Method in class org.xlattice.util.cmdline.CmdLineOpt
 
getEndPoint() - Method in interface org.xlattice.Acceptor
 
getFarEnd() - Method in interface org.xlattice.Connection
 
getFarEnd() - Method in interface org.xlattice.Connector
 
getFieldName() - Method in class org.xlattice.util.cmdline.CmdLineOpt
 
getInputStream() - Method in interface org.xlattice.Connection
 
getInstance(String) - Static method in class org.xlattice.util.NonBlockingLog
 
getJavaArgs() - Method in class org.xlattice.util.cmdline.CmdLineSpec
 
getMajor() - Method in class org.xlattice.Version
Returns the first part of the version number.
getMaxLenJobQueue() - Method in class org.xlattice.util.threads.ThreadPool
 
getMaxThreads() - Method in class org.xlattice.util.threads.ThreadPool
 
getMinor() - Method in class org.xlattice.Version
Returns the second part of the version number.
getName() - Method in class org.xlattice.util.threads.ThreadPool
 
getNearEnd() - Method in interface org.xlattice.Connection
 
getNodeID() - Method in interface org.xlattice.Node
 
getNodeID() - Method in class org.xlattice.Peer
 
getOptionDescriptors() - Method in class org.xlattice.util.cmdline.CmdLineSpec
 
getOptionName() - Method in class org.xlattice.util.cmdline.CmdLineOpt
 
getOtherArgDesc() - Method in class org.xlattice.util.cmdline.CmdLineSpec
 
getOutputStream() - Method in interface org.xlattice.Connection
 
getOverlay(int) - Method in interface org.xlattice.Node
 
getOverlay(int) - Method in class org.xlattice.Peer
 
getPackage() - Method in class org.xlattice.Version
Returns the fully qualified package name in dotted form, such as "org.xlattice.util".
getParent() - Method in class org.xlattice.Context
 
getPeer(int) - Method in interface org.xlattice.Node
 
getPublicKey() - Method in interface org.xlattice.Key
Another experiment.
getPublicKey() - Method in interface org.xlattice.Node
 
getPublicKey() - Method in class org.xlattice.Peer
 
getSigner(String) - Method in interface org.xlattice.Key
Given a message digest algorithm, return a reference to a digital signature generator suitable for this key.
getSigner() - Method in interface org.xlattice.Node
 
getState() - Method in interface org.xlattice.Connection
Return the current state index.
getTransport() - Method in class org.xlattice.EndPoint
 
getType() - Method in interface org.xlattice.Template
 
getType(int) - Method in class org.xlattice.util.JnlpVersionMatcher
Returns the type of matching (the modifier) for the Nth version matcher.
getType() - Method in class org.xlattice.util.template.TemplateImpl
 
getVersion(int) - Method in class org.xlattice.util.JnlpVersionMatcher
Return the version part of the Nth version element.
getVersion() - Method in class org.xlattice.Version
Returns the package name, version number, and the build number if it is non-zero.

H

hashCode() - Method in interface org.xlattice.Address
 
hashCode() - Method in interface org.xlattice.Connection
 
hashCode() - Method in class org.xlattice.NodeID
 
hashCode() - Method in interface org.xlattice.Overlay
 
hashCode() - Method in class org.xlattice.Peer
 
hashCode() - Method in interface org.xlattice.PublicKey
 
hasNext() - Method in class org.xlattice.util.cmdline.ArgCursor
 
head - Variable in class org.xlattice.util.Queue
 

I

index() - Method in class org.xlattice.util.cmdline.ArgCursor
 
init(PublicKey) - Method in class org.xlattice.SigVerifier
Initialize the verifier for use with a particular PublicKey.
IntOpt - Class in org.xlattice.util.cmdline
Bind a command line argument to an int field in an object, optionally specifiying minimum and maximum value.
IntOpt(String, String, String, int, int) - Constructor for class org.xlattice.util.cmdline.IntOpt
Create a command line argument-int field binding.
IntOpt(String, String, int, int) - Constructor for class org.xlattice.util.cmdline.IntOpt
 
IntOpt(String, String, String) - Constructor for class org.xlattice.util.cmdline.IntOpt
 
IntOpt(String, String) - Constructor for class org.xlattice.util.cmdline.IntOpt
 
isBlocking() - Method in interface org.xlattice.Connection
 
isBusy() - Method in class org.xlattice.util.threads.Worker
 
isClosed() - Method in interface org.xlattice.Acceptor
 
isClosed() - Method in interface org.xlattice.Connection
This should be considered deprecated.
isDying() - Method in class org.xlattice.util.threads.Worker
 
isEmpty() - Method in class org.xlattice.util.ArrayStack
Deprecated.  
isEmpty() - Method in class org.xlattice.util.Queue
 
isEmpty() - Method in class org.xlattice.util.Stack
 
isEmpty() - Method in class org.xlattice.util.threads.JobQueue
 
isOpen() - Method in class org.xlattice.util.NonBlockingLog
 
isValid(byte[]) - Static method in class org.xlattice.NodeID
Whether the array reference is non-null and the array of the right length.

J

JnlpVersion - Class in org.xlattice.util
Versions for Webstart (JNLP) as specified in Sun's JSR-056, "Java Network Launching Protocol".
JnlpVersion(String) - Constructor for class org.xlattice.util.JnlpVersion
Create a JNLP version from a String consisting of a number of parts separated by dot, dash, or underscore (".-_") as required by JSR 56.
JnlpVersion(Version) - Constructor for class org.xlattice.util.JnlpVersion
Create a JNLP version number from an XLattice version number.
JnlpVersionMatcher - Class in org.xlattice.util
Specifier for a set of JNLP-compatible version numbers and the type of matches permitted.
JnlpVersionMatcher(String) - Constructor for class org.xlattice.util.JnlpVersionMatcher
Create a matcher for JNLP (Webstart, JSR 56) versions.
jobQ - Variable in class org.xlattice.util.threads.ThreadPool
we synchronize access to this
JobQueue - Class in org.xlattice.util.threads
A queue of fixed or variable-length capacity.
JobQueue(int) - Constructor for class org.xlattice.util.threads.JobQueue
Create a JobQueue of fixed capacity if n is positive and of indefinite capacity if n is -1;
jobQueue - Variable in class org.xlattice.util.threads.Worker
 

K

Key - Interface in org.xlattice
An asymmetric cryptographic key.
Killable - Interface in org.xlattice.util.threads
Interface implemented by threads handling queued jobs.

L

lcFirst(String) - Static method in class org.xlattice.util.StringLib
 
length() - Method in interface org.xlattice.DigSigner
 
LENGTH - Static variable in class org.xlattice.NodeID
length of the node ID in bytes
length() - Method in class org.xlattice.util.cmdline.ArgCursor
 
Literal - Class in org.xlattice.util.context
A literal is simple text containing no Symbols.
Literal(String, int, int) - Constructor for class org.xlattice.util.context.Literal
 
LongOpt - Class in org.xlattice.util.cmdline
Binding between a command line option and a long field in an object, with optional minimum and maximum values.
LongOpt(String, String, String, long, long) - Constructor for class org.xlattice.util.cmdline.LongOpt
Create command line option and long field binding, optionally specifying a minimum and maximum option value.
LongOpt(String, String, long, long) - Constructor for class org.xlattice.util.cmdline.LongOpt
 
LongOpt(String, String, String) - Constructor for class org.xlattice.util.cmdline.LongOpt
Constructor defaulting option values to MIN_VALUE and MAX_VALUE.
LongOpt(String, String) - Constructor for class org.xlattice.util.cmdline.LongOpt
 
lookup(String) - Method in class org.xlattice.Context
Looks up a name recursively.

M

match(JnlpVersion) - Method in class org.xlattice.util.JnlpVersionMatcher
Whether there is a match between the candidate version number and ANY of the elements of this matcher.
match(String) - Method in class org.xlattice.util.JnlpVersionMatcher
Whether there is a match between a JNLP version number specified as a String and ANY of the elements of this matcher.
maxLenJobQ - Variable in class org.xlattice.util.threads.ThreadPool
If -1, length varies dynamically with no specific max; otherwise, rejects jobs if max queue length exceeded.
maxThreads - Variable in class org.xlattice.util.threads.ThreadPool
 
message(String) - Method in class org.xlattice.util.NonBlockingLog
Queue a message for logging.
MIN_CAPACITY - Static variable in class org.xlattice.util.threads.JobQueue
 
MIN_CAPACITY - Static variable in class org.xlattice.util.threads.ThreadList
 
mkSubDir(String, String) - Static method in class org.xlattice.util.FileLib
Creates a subdirectory below a given parent directory if it does not already exist.

N

name() - Method in interface org.xlattice.Protocol
 
name() - Method in interface org.xlattice.Transport
 
name - Variable in class org.xlattice.util.threads.ThreadPool
 
next() - Method in class org.xlattice.util.cmdline.ArgCursor
Returns next arg, advancing the cursor.
next() - Method in class org.xlattice.util.context.TermParser
 
next - Variable in class org.xlattice.util.SinglyLinkedNode
 
Node - Interface in org.xlattice
A Node is uniquely identified by a NodeID and can satisfy an identity test constructed using its public key.
NodeID - Class in org.xlattice
Quasi-unique 160-bit value serving as a global identifier.
NodeID(byte[]) - Constructor for class org.xlattice.NodeID
Create the node ID from a byte array.
NodeID(String) - Constructor for class org.xlattice.NodeID
Create the node ID from a base-64 encoded value.
nodeID - Variable in class org.xlattice.Peer
 
NonBlockingLog - Class in org.xlattice.util
A simple non-blocking logger.

O

option - Variable in class org.xlattice.util.cmdline.CmdLineOpt
 
OptionDescriptorException - Exception in org.xlattice.util.cmdline
Exception thrown when there is an error in the command line specification.
OptionDescriptorException(String) - Constructor for exception org.xlattice.util.cmdline.OptionDescriptorException
 
optionForHelp() - Method in class org.xlattice.util.cmdline.CmdLineOpt
Overridden if something more elaborate than '-h' is needed.
optionForHelp() - Method in class org.xlattice.util.cmdline.DoubleOpt
 
optionForHelp() - Method in class org.xlattice.util.cmdline.IntOpt
 
optionForHelp() - Method in class org.xlattice.util.cmdline.LongOpt
 
OR_BETTER - Static variable in class org.xlattice.util.JnlpVersionMatcher
version number matches or sorts after the current version number
org.xlattice - package org.xlattice
This package contains abstractions for all of the basic types dealt with in XLattice.
org.xlattice.util - package org.xlattice.util
 
org.xlattice.util.cmdline - package org.xlattice.util.cmdline
This is a facility for rapidly setting up software to pick values off of command lines.
org.xlattice.util.context - package org.xlattice.util.context
 
org.xlattice.util.template - package org.xlattice.util.template
 
org.xlattice.util.threads - package org.xlattice.util.threads
 
Overlay - Interface in org.xlattice
A Overlay is characterized by an address space, a transport protocol, and possibly a set of rules for navigating the address space using the protocol.
overlays - Variable in class org.xlattice.Peer
 

P

PADCHAR - Static variable in class org.xlattice.util.Base64Coder
 
partialMatch(JnlpVersion) - Method in class org.xlattice.util.JnlpVersion
Determine whether the candidate rhs version is an exact match to this version, without normalizing beyond the length of this version.
peek() - Method in class org.xlattice.util.ArrayStack
Deprecated. Get the object at the top of the stack without removing it.
peek(int) - Method in class org.xlattice.util.ArrayStack
Deprecated. Get an object from the stack without removing it.
peek() - Method in class org.xlattice.util.cmdline.ArgCursor
Returns next argument without advancing the cursor.
peek() - Method in class org.xlattice.util.Stack
Peek at the Object at the top of the stack, if any.
Peer - Class in org.xlattice
A Peer is another Node, a neighbor.
Peer(NodeID) - Constructor for class org.xlattice.Peer
 
Peer(NodeID, PublicKey, Overlay[], Connector[]) - Constructor for class org.xlattice.Peer
 
PENDING - Static variable in interface org.xlattice.Connection
connection to far end point has been requested
pop() - Method in class org.xlattice.util.ArrayStack
Deprecated. Get the object from the top of the stack, removing it.
pop() - Method in class org.xlattice.util.Stack
Pop the Object at the top of the stack, if any.
pop() - Method in class org.xlattice.util.threads.ThreadList
Remove last object from list.
protocol() - Method in interface org.xlattice.Overlay
 
Protocol - Interface in org.xlattice
Abstracts a family of messages.
pubkey - Variable in class org.xlattice.Peer
Peer's PublicKey, possibly learned via nodeID
PublicKey - Interface in org.xlattice
That part of a public key cryptography key which is not secret.
push(Object) - Method in class org.xlattice.util.ArrayStack
Deprecated. Push an object on to the stack.
push(Object) - Method in class org.xlattice.util.Stack
Push an Object on the stack; the Object may be null.

Q

QMARK - Static variable in class org.xlattice.util.JnlpVersionMatcher
partial match; requires exact match but only on parts specified
Queue - Class in org.xlattice.util
A simple, unsynchronized queue.
Queue() - Constructor for class org.xlattice.util.Queue
 
Queue(Object) - Constructor for class org.xlattice.util.Queue
 

R

recursingDelete(String) - Static method in class org.xlattice.util.FileLib
Deletes x and, if it is a directory, all files contained in it, including subdirectories, recursively.
remove(Killable) - Method in class org.xlattice.util.threads.ThreadList
Remove a specific item from the list.
removeConnection(Connection) - Method in interface org.xlattice.Node
 
removeOverlay(Overlay) - Method in interface org.xlattice.Node
 
removePeer(Peer) - Method in interface org.xlattice.Node
 
resolve(Context) - Method in class org.xlattice.util.context.Expr
Given a context, reduce this expression to a string by concatenating its Terms, first replacing any Symbol with the value it binds to in the context.
resolve(Context) - Method in class org.xlattice.util.context.Literal
Resolve the Literal in the context.
resolve(Context) - Method in class org.xlattice.util.context.Symbol
 
resolve(Context) - Method in interface org.xlattice.util.context.Term
Evaluate the term within the context.
reverseMap(char) - Static method in class org.xlattice.util.Base64Coder
 
run() - Method in interface org.xlattice.Node
 
run() - Method in class org.xlattice.util.NonBlockingLog
 
run() - Method in class org.xlattice.util.threads.Worker
If there is a job to run, run it.
runNextJob() - Method in class org.xlattice.util.threads.Worker
Split out to allow easy subclassing.

S

search(Object) - Method in class org.xlattice.util.ArrayStack
Deprecated. Search the stack for an object.
Secret - Interface in org.xlattice
An symmetric cryptographic key.
SeqTemplate - Class in org.xlattice.util.template
Operations require external synchronization.
SeqTemplate(Template[]) - Constructor for class org.xlattice.util.template.SeqTemplate
 
setField(Field, Object) - Method in class org.xlattice.util.cmdline.Bindery
Set a field in the target object (typically an instance of the class with main(String []args) in it).
setParent(Context) - Method in class org.xlattice.Context
Change the parent Context.
setPublicKey(PublicKey) - Method in class org.xlattice.Peer
 
setValue(Bindery) - Method in class org.xlattice.util.cmdline.BooleanOpt
XXX modify to flip sense
setValue(Bindery) - Method in class org.xlattice.util.cmdline.CmdLineOpt
Set the value in the object field bound to this option.
setValue(Bindery) - Method in class org.xlattice.util.cmdline.DoubleOpt
 
setValue(Bindery) - Method in class org.xlattice.util.cmdline.IntOpt
 
setValue(Bindery) - Method in class org.xlattice.util.cmdline.LongOpt
 
setValue(Bindery) - Method in class org.xlattice.util.cmdline.StringOpt
 
sign() - Method in interface org.xlattice.DigSigner
Generate a digital signature and implicitly reset().
SigVerifier - Class in org.xlattice
Given a PublicKey, instances of this class can verify digital signatures.
SigVerifier() - Constructor for class org.xlattice.SigVerifier
 
SinglyLinkedNode - Class in org.xlattice.util
Basic element of high-performance unsynchronized queues.
SinglyLinkedNode() - Constructor for class org.xlattice.util.SinglyLinkedNode
 
SinglyLinkedNode(Object) - Constructor for class org.xlattice.util.SinglyLinkedNode
 
SinglyLinkedNode(Object, SinglyLinkedNode) - Constructor for class org.xlattice.util.SinglyLinkedNode
 
size() - Method in class org.xlattice.Context
 
size() - Method in class org.xlattice.util.ArrayStack
Deprecated.  
size() - Method in class org.xlattice.util.context.Expr
 
size() - Method in class org.xlattice.util.JnlpVersion
The number of parts.
size() - Method in class org.xlattice.util.JnlpVersionMatcher
 
size() - Static method in class org.xlattice.util.NonBlockingLog
 
size() - Method in class org.xlattice.util.Queue
 
size() - Method in class org.xlattice.util.Stack
 
size() - Method in class org.xlattice.util.template.SeqTemplate
 
size() - Method in class org.xlattice.util.threads.JobQueue
 
size() - Method in class org.xlattice.util.threads.ThreadList
 
size() - Method in class org.xlattice.util.threads.ThreadPool
 
sizeConnections() - Method in interface org.xlattice.Node
 
sizeConnectors() - Method in class org.xlattice.Peer
 
sizeOverlays() - Method in interface org.xlattice.Node
 
sizeOverlays() - Method in class org.xlattice.Peer
 
sizePeers() - Method in interface org.xlattice.Node
 
Stack - Class in org.xlattice.util
A simple, unsynchronized stack.
Stack() - Constructor for class org.xlattice.util.Stack
 
Stack(Object) - Constructor for class org.xlattice.util.Stack
 
startJob() - Method in class org.xlattice.util.threads.ThreadList
Increase busy count.
stop() - Method in class org.xlattice.util.threads.ThreadPool
XXX Doesn't actually wait for worker threads to stop running.
StringLib - Class in org.xlattice.util
 
StringLib() - Constructor for class org.xlattice.util.StringLib
 
StringOpt - Class in org.xlattice.util.cmdline
Bind a command line option value to a String field.
StringOpt(String, String, String) - Constructor for class org.xlattice.util.cmdline.StringOpt
 
StringOpt(String, String) - Constructor for class org.xlattice.util.cmdline.StringOpt
 
StringTemplate - Class in org.xlattice.util.template
A template which consists of an irreducible String, one which will not be examined for any embedded templates.
StringTemplate(String) - Constructor for class org.xlattice.util.template.StringTemplate
 
Symbol - Class in org.xlattice.util.context
This represents what is inside the delimiting ${ and } and may be any Expr, any sequence of literals and symbols.
Symbol(String, int, boolean) - Constructor for class org.xlattice.util.context.Symbol
Create a Symbol, meaning a substring bracketed by ${ and }

T

tail - Variable in class org.xlattice.util.Queue
 
Template - Interface in org.xlattice
XXX THIS DOES NOT CONFORM TO THE IMPLEMENTATION IN PROGRESS.
TemplateImpl - Class in org.xlattice.util.template
 
TemplateImpl(int) - Constructor for class org.xlattice.util.template.TemplateImpl
 
Term - Interface in org.xlattice.util.context
A context Term is part of an expression, a Literal or a Symbol, where a literal is something that cannot be resolved further, and a Symbol is a substring bracketed by ${ and }, which can be resolved.
TermParser - Class in org.xlattice.util.context
Parse a string or substring, returning a sequence of Terms, where a Term is either a Literal (which cannot be parsed further) or a Symbol, something enclosed in braces (which can be parsed further).
TermParser(String) - Constructor for class org.xlattice.util.context.TermParser
Creates the base parser for a string.
TermParser(String, int, boolean) - Constructor for class org.xlattice.util.context.TermParser
Creates a possibly nested parser for a string.
threadGroup - Variable in class org.xlattice.util.threads.ThreadPool
 
ThreadList - Class in org.xlattice.util.threads
A fixed-size list of Killables, Threads which can run jobs for us.
ThreadList(int) - Constructor for class org.xlattice.util.threads.ThreadList
 
ThreadPool - Class in org.xlattice.util.threads
Fixed size pool of Killable threads which consume a (possibly variable in size) queue of Killable jobs, Runnables with a die() method.
ThreadPool(String, int) - Constructor for class org.xlattice.util.threads.ThreadPool
Create a thread pool with a default queue size of 128 and using a default ThreadGroup
ThreadPool(String, int, ThreadGroup) - Constructor for class org.xlattice.util.threads.ThreadPool
Create a thread group with a default queue size of 128
ThreadPool(String, int, int, ThreadGroup, boolean) - Constructor for class org.xlattice.util.threads.ThreadPool
Create a thread pool, making up a default name if necessary.
TimeoutException - Exception in org.xlattice
Thrown to indicate that an I/O operation was interrupted, more specifically that it timed out.
TimeoutException() - Constructor for exception org.xlattice.TimeoutException
Constructs a TimeoutException with a null detail message.
TimeoutException(String) - Constructor for exception org.xlattice.TimeoutException
Constructs a TimeoutException with a detail message which may later be retrieved by Throwable.getMessage().
Timestamp - Class in org.xlattice.util
Convenience class handling YYYY-MM-DD HH:MM:SS formatted dates.
Timestamp() - Constructor for class org.xlattice.util.Timestamp
 
Timestamp(String) - Constructor for class org.xlattice.util.Timestamp
 
to() - Method in class org.xlattice.util.context.Expr
 
to() - Method in class org.xlattice.util.context.Literal
 
to() - Method in class org.xlattice.util.context.Symbol
 
to() - Method in interface org.xlattice.util.context.Term
 
toArray() - Method in class org.xlattice.util.ArrayStack
Deprecated.  
toArray(Object[]) - Method in class org.xlattice.util.ArrayStack
Deprecated. Return an array with elements of the same type as the sample.
top - Variable in class org.xlattice.util.Stack
 
toString() - Method in interface org.xlattice.Address
 
toString() - Method in class org.xlattice.EndPoint
 
toString() - Method in class org.xlattice.NodeID
 
toString(Context) - Method in interface org.xlattice.Template
Recursively reduce all constituent Templates in the Context to Strings, concatenate them, and return the result.
toString() - Method in class org.xlattice.util.context.Expr
 
toString() - Method in class org.xlattice.util.context.Literal
 
toString() - Method in class org.xlattice.util.context.Symbol
 
toString() - Method in class org.xlattice.util.context.TermParser
 
toString() - Method in class org.xlattice.util.JnlpVersion
Return the original String form of the version number.
toString(Context) - Method in class org.xlattice.util.template.BinaryTemplate
Return the byte array as a String.
toString(Context) - Method in class org.xlattice.util.template.SeqTemplate
 
toString(Context) - Method in class org.xlattice.util.template.StringTemplate
 
toString(Context) - Method in class org.xlattice.util.template.VarTemplate
 
toString() - Method in class org.xlattice.util.Timestamp
 
TPL_APPLY - Static variable in interface org.xlattice.Template
A Template application, a data structure consisting of (1) a reference to the Template being applied and (2) a list of name-value pairs.
TPL_ATTR - Static variable in interface org.xlattice.Template
The Template consists of two Strings, the first of which should resolve in the Context to an object and the second of which is the name of a field in the class of which the object is an instance.
TPL_BINARY - Static variable in interface org.xlattice.Template
The Template is an irreducible byte array.
TPL_BY_NAME - Static variable in interface org.xlattice.Template
The Template is a String which should resolve to a Template in the Context.
TPL_IF - Static variable in interface org.xlattice.Template
A conditional Template consisting of a String value test and a reference to a Template.
TPL_IF_ELSE - Static variable in interface org.xlattice.Template
A conditional Template consisting of a String value test and references to two Templates.
TPL_MAP - Static variable in interface org.xlattice.Template
A Template mapping consisting of (1) a name referring to one or more values and (2) a reference to a Template.
TPL_REF - Static variable in interface org.xlattice.Template
The Template contains a reference to a Template.
TPL_SEQ - Static variable in interface org.xlattice.Template
A Template consisting of a number of Templates.
TPL_STRING - Static variable in interface org.xlattice.Template
The Template is an irreducible String.
TPL_VAR - Static variable in interface org.xlattice.Template
The Template is a String which should be looked up in the Context but is otherwise irreducible.
transport() - Method in interface org.xlattice.Overlay
 
Transport - Interface in org.xlattice
Abstraction of the transport protocol used over a communications channel.

U

ucFirst(String) - Static method in class org.xlattice.util.StringLib
 
UIntLib - Class in org.xlattice.util
 
unbind(String) - Method in class org.xlattice.Context
Remove a binding from the Context.
UNBOUND - Static variable in interface org.xlattice.Connection
neither end point is set
update(byte[]) - Method in interface org.xlattice.DigSigner
Add the binary data referenced to any already processed by the message digest part of the algorithm.
update(byte[], int, int) - Method in interface org.xlattice.DigSigner
 
update(byte[]) - Method in class org.xlattice.SigVerifier
Add block of data to that being checked.
update(byte[], int, int) - Method in class org.xlattice.SigVerifier
 
usageMsg() - Method in class org.xlattice.util.cmdline.Bindery
Construct a usage message from the command line specification.

V

value() - Method in class org.xlattice.NodeID
Return a reference to the byte array.
value - Variable in class org.xlattice.util.SinglyLinkedNode
 
VarTemplate - Class in org.xlattice.util.template
Template whose value is a variable name which is resolved in the Context.
VarTemplate(String) - Constructor for class org.xlattice.util.template.VarTemplate
 
verify(byte[]) - Method in class org.xlattice.SigVerifier
Check the digital signature passed against the data accumulated.
verify(byte[], int, int) - Method in class org.xlattice.SigVerifier
 
Version - Class in org.xlattice.util
THIS CLASS SHOULD BE AUTOMATICALLY GENERATED.
Version() - Constructor for class org.xlattice.util.Version
 
Version - Class in org.xlattice
This is a first step towards a standard approach to version management for all XLattice components.
Version(String, int, int, int, int) - Constructor for class org.xlattice.Version
 
Version(String, int, int, int) - Constructor for class org.xlattice.Version
 

W

Worker - Class in org.xlattice.util.threads
A thread for use in a thread pool.
Worker(ThreadGroup, String, ThreadList, JobQueue, boolean) - Constructor for class org.xlattice.util.threads.Worker
Create a Worker, a carrier for jobs to be run in a thread pool.
workers - Variable in class org.xlattice.util.threads.ThreadPool
we synchronize access to this
workers - Variable in class org.xlattice.util.threads.Worker
 

_

_type - Variable in class org.xlattice.util.template.TemplateImpl
 

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