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

A

accept(TraceMessage) - Method in interface org.elkoserver.util.trace.TraceMessageAcceptor
Accept a message and do whatever is appropriate to make it visible to a user, either now or later.
account - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
The ref of the account.
acquireMessage(Object) - Method in interface org.elkoserver.foundation.net.MessageAcquirer
Do whatever needs to be done with a received message.
activate(String, Contextor) - Method in class org.elkoserver.server.context.AdminObject
Make this object live inside the context server.
activate(String, Contextor) - Method in class org.elkoserver.server.context.BasicInternalObject
Make this object live inside the context server.
activate(String, Contextor) - Method in interface org.elkoserver.server.context.InternalObject
Make this object live inside the context server.
activate() - Method in class org.elkoserver.server.workshop.bank.BankWorker
Activate the bank service.
activate(String, Contextor) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Make this object live inside the context server.
activate() - Method in class org.elkoserver.server.workshop.WorkerObject
Overridable hook for subclasses to be notified about activation.
Actor - Class in org.elkoserver.foundation.actor
An object representing some entity interacting with this server (whatever server this is) over the net.
Actor(Connection) - Constructor for class org.elkoserver.foundation.actor.Actor
Construct a new Actor.
actor() - Method in class org.elkoserver.server.gatekeeper.ReservationResult
Get the actor ID for this result.
add(K, V) - Method in class org.elkoserver.util.HashMapMulti
Add a value to a key's value set.
add(V) - Method in class org.elkoserver.util.HashSetMulti
Add an object to the set.
addBuffer(byte[], int) - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Be given a buffer full of input bytes.
addClass(Class) - Method in class org.elkoserver.foundation.actor.RefTable
Add JSON method dispatch information for a Java class to the table's message dispatcher, independent of any particular object instance.
addClass(Class) - Method in class org.elkoserver.foundation.json.MessageDispatcher
Perform the Java reflection operations needed to do JSON message dispatch on a given Java class.
addClass(String, Class<?>) - Method in interface org.elkoserver.objdb.ObjDB
Inform the object database about a mapping from a JSON object type tag string to a Java class.
addElement(Object) - Method in class org.elkoserver.json.JSONLiteralArray
Add an element to the incomplete array literal.
addElement(Encodable) - Method in class org.elkoserver.json.JSONLiteralArray
Add an object element to an incomplete array.
addElement(double) - Method in class org.elkoserver.json.JSONLiteralArray
Add a floating point element to an incomplete array.
addElement(boolean) - Method in class org.elkoserver.json.JSONLiteralArray
Add a boolean element to an incomplete array.
addElement(int) - Method in class org.elkoserver.json.JSONLiteralArray
Add an integer element to an incomplete array.
addElement(long) - Method in class org.elkoserver.json.JSONLiteralArray
Add a long element to an incomplete array.
addElement(JSONObject) - Method in class org.elkoserver.json.JSONLiteralArray
Add a JSON object element to an incomplete array.
addElement(Referenceable) - Method in class org.elkoserver.json.JSONLiteralArray
Add a reference element to an incomplete array.
addElement(String) - Method in class org.elkoserver.json.JSONLiteralArray
Add a string element to an incomplete array.
addParameter(String, Object) - Method in class org.elkoserver.json.JSONLiteral
Add an arbitrary parameter to an incomplete literal.
addParameter(String, Object[]) - Method in class org.elkoserver.json.JSONLiteral
Add an array parameter to an incomplete literal.
addParameter(String, Collection) - Method in class org.elkoserver.json.JSONLiteral
Add a collection parameter to an incomplete literal (as an array).
addParameter(String, int[]) - Method in class org.elkoserver.json.JSONLiteral
Add an int array parameter to an incomplete literal.
addParameter(String, long[]) - Method in class org.elkoserver.json.JSONLiteral
Add a long array parameter to an incomplete literal.
addParameter(String, double[]) - Method in class org.elkoserver.json.JSONLiteral
Add a double array parameter to an incomplete literal.
addParameter(String, boolean[]) - Method in class org.elkoserver.json.JSONLiteral
Add a boolean array parameter to an incomplete literal.
addParameter(String, JSONArray) - Method in class org.elkoserver.json.JSONLiteral
Add a JSONArray parameter to an incomplete literal.
addParameter(String, JSONLiteralArray) - Method in class org.elkoserver.json.JSONLiteral
Add an array literal parameter to an incomplete literal.
addParameter(String, Encodable) - Method in class org.elkoserver.json.JSONLiteral
Add an object-valued parameter to an incomplete literal.
addParameter(String, double) - Method in class org.elkoserver.json.JSONLiteral
Add a floating point parameter to an incomplete literal.
addParameter(String, boolean) - Method in class org.elkoserver.json.JSONLiteral
Add a boolean parameter to an incomplete literal.
addParameter(String, int) - Method in class org.elkoserver.json.JSONLiteral
Add an integer parameter to an incomplete literal.
addParameter(String, long) - Method in class org.elkoserver.json.JSONLiteral
Add a long parameter to an incomplete literal.
addParameter(String, JSONObject) - Method in class org.elkoserver.json.JSONLiteral
Add a JSON object parameter to an incomplete literal.
addParameter(String, Referenceable) - Method in class org.elkoserver.json.JSONLiteral
Add a reference parameter to an incomplete literal.
addParameter(String, String) - Method in class org.elkoserver.json.JSONLiteral
Add a string parameter to an incomplete literal.
addParameterOpt(String, Object) - Method in class org.elkoserver.json.JSONLiteral
Add an optional arbitrary parameter to an incomplete literal.
addParameterOpt(String, Object[]) - Method in class org.elkoserver.json.JSONLiteral
Add an optional array parameter to an incomplete literal.
addParameterOpt(String, Collection) - Method in class org.elkoserver.json.JSONLiteral
Add an optional collection parameter to an incomplete literal.
addParameterOpt(String, int[]) - Method in class org.elkoserver.json.JSONLiteral
Add an optional int array parameter to an incomplete literal.
addParameterOpt(String, long[]) - Method in class org.elkoserver.json.JSONLiteral
Add an optional long array parameter to an incomplete literal.
addParameterOpt(String, double[]) - Method in class org.elkoserver.json.JSONLiteral
Add an optional double array parameter to an incomplete literal.
addParameterOpt(String, boolean[]) - Method in class org.elkoserver.json.JSONLiteral
Add an optional boolean array parameter to an incomplete literal.
addParameterOpt(String, JSONArray) - Method in class org.elkoserver.json.JSONLiteral
Add an optional JSONArray parameter to an incomplete literal.
addParameterOpt(String, JSONLiteralArray) - Method in class org.elkoserver.json.JSONLiteral
Add an optional array literal parameter to an incomplete literal.
addParameterOpt(String, Encodable) - Method in class org.elkoserver.json.JSONLiteral
Add an optional object-valued parameter to an incomplete literal.
addParameterOpt(String, JSONObject) - Method in class org.elkoserver.json.JSONLiteral
Add an optional JSON object parameter to an incomplete literal.
addParameterOpt(String, Referenceable) - Method in class org.elkoserver.json.JSONLiteral
Add an optional reference parameter to an incomplete literal.
addParameterOpt(String, String) - Method in class org.elkoserver.json.JSONLiteral
Add an optional string parameter to an incomplete literal.
addParameterRef(String, Object[]) - Method in class org.elkoserver.json.JSONLiteral
Add a dereferenceable array parameter to an incomplete literal.
addParameterRef(String, JSONLiteralArray) - Method in class org.elkoserver.json.JSONLiteral
Add a dereferenceable array literal parameter to an incomplete literal.
addParameterRef(String, Referenceable) - Method in class org.elkoserver.json.JSONLiteral
Add a dereferenceable reference parameter to an incomplete literal.
addProperty(String, Object) - Method in class org.elkoserver.json.JSONObject
Add a property to the object.
addProperty(String, boolean) - Method in class org.elkoserver.json.JSONObject
Add a boolean property to the object.
addProperty(String, double) - Method in class org.elkoserver.json.JSONObject
Add a double property to the object.
addProperty(String, int) - Method in class org.elkoserver.json.JSONObject
Add an integer property to the object.
addProperty(String, long) - Method in class org.elkoserver.json.JSONObject
Add a long property to the object.
addProperty(String, Encodable) - Method in class org.elkoserver.json.JSONObject
Add an object that can be encoded as JSON to an object.
addRef(String, DispatchTarget) - Method in class org.elkoserver.foundation.actor.RefTable
Add an object to the table, explicitly specifying its reference string.
addRef(Referenceable) - Method in class org.elkoserver.foundation.actor.RefTable
Add an object to the table, using the reference string it knows for itself.
addTime(long) - Method in interface org.elkoserver.foundation.net.LoadMonitor
Take note of some processing time spent.
addTime(long) - Method in class org.elkoserver.foundation.server.ServerLoadMonitor
Take note of some processing time spent.
AdminObject - Class in org.elkoserver.server.context
Abstract base class for internal objects that want to be addressable in messages delivered over internal (i.e., behind the firewall) communications connections to the server.
AdminObject() - Constructor for class org.elkoserver.server.context.AdminObject
 
after(long, TimeoutNoticer, boolean) - Method in class org.elkoserver.foundation.timer.Timer
Sets a timeout for the specified number of milliseconds.
after(long, TimeoutNoticer) - Method in class org.elkoserver.foundation.timer.Timer
Sets a timeout for the specified number of milliseconds.
allowedStyle(StyleDesc) - Method in class org.elkoserver.server.context.mods.NoteMaker
Test if this mod's style options are compatible with particular style settings.
allowedStyle(StyleDesc) - Method in class org.elkoserver.server.context.mods.StyleOptions
Test if a particular StyleDesc is permissible according to this object's settings.
allowedStyle(StyleDesc) - Method in class org.elkoserver.server.context.mods.TalkOptions
Test if this mod's style options are compatible with particular style settings.
amount - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.EncumbranceDesc
The amount of the encumbrance.
appTrace() - Method in class org.elkoserver.server.context.Contextor
Obtain the application trace object for this context server.
appTrace() - Method in class org.elkoserver.server.workshop.Workshop
Obtain the application trace object for the workshop.
ArgRunnable - Interface in org.elkoserver.util
Arbitrary executable to be run on an argument.
ArrayIterator<V> - Class in org.elkoserver.util
Iterator over an array of objects.
ArrayIterator(V[]) - Constructor for class org.elkoserver.util.ArrayIterator
Constructor.
asHostDesc(int) - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Generate a HostDesc object suitable for establishing a connection to the service described by this service descriptor.
asSafe(Throwable) - Static method in class org.elkoserver.util.trace.ExceptionManager
Wrap a Throwable in a RuntimeException.
asUnmodifiable() - Method in class org.elkoserver.util.HashSetMulti
Produce a new set that is a read-only version of this one.
attachLabel(String) - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Set this service's a label string.
attachTo(BasicObject) - Method in class org.elkoserver.server.context.Mod
Attach this mod to an object.
auth(BasicProtocolActor, AuthDesc, OptString) - Method in class org.elkoserver.foundation.actor.BasicProtocolHandler
JSON method for the 'auth' message.
auth() - Method in class org.elkoserver.foundation.server.metadata.HostDesc
Get this host's authorization information.
auth() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this service's authorization configuration.
auth() - Method in class org.elkoserver.server.gatekeeper.ReservationResult
Get the authorization code for this result.
AuthDesc - Class in org.elkoserver.foundation.server.metadata
Descriptor containing information required or presented to authorize a connection.
AuthDesc(String, String, String) - Constructor for class org.elkoserver.foundation.server.metadata.AuthDesc
Direct constructor.
AuthDesc(String, OptString, OptString) - Constructor for class org.elkoserver.foundation.server.metadata.AuthDesc
JSON-driven constructor.
Authorizer - Interface in org.elkoserver.server.gatekeeper
Interface implemented by classes that provide an authorization policy and mechanism to the Gatekeeper.
avail - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Available (unencumbered) balance in the account.
available() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Get the number of bytes that can be read from this input stream without blocking.

B

backgroundColor() - Method in class org.elkoserver.server.context.mods.StyleDesc
Get the background color.
backgroundColors() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the permissible background colors.
BankClient - Class in org.elkoserver.server.workshop.bank.client
Internal object that acts as a client for the external 'bank' service.
BankClient(String) - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient
Constructor.
BankClient.AccountDesc - Class in org.elkoserver.server.workshop.bank.client
A struct describing an account, returned as part of the results from query accounts.
BankClient.AccountResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for requests that return an account ref (delete account, freeze account, and unfreeze account).
BankClient.AccountResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.AccountResultHandler
 
BankClient.AccountsResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for requests that return an array of account refs (make accounts).
BankClient.AccountsResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.AccountsResultHandler
 
BankClient.BalanceResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for requests that affect an account balance (mint, unmint, and unmintEncmbrance).
BankClient.BalanceResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.BalanceResultHandler
 
BankClient.BankReplyHandler - Class in org.elkoserver.server.workshop.bank.client
Base class for request-specific handlers for replies from the bank.
BankClient.BankReplyHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.BankReplyHandler
 
BankClient.CurrencyResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for the make currency request.
BankClient.CurrencyResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.CurrencyResultHandler
 
BankClient.EncumberResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for the encumber request.
BankClient.EncumberResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.EncumberResultHandler
 
BankClient.EncumbranceDesc - Class in org.elkoserver.server.workshop.bank.client
A struct describing an encumbrance, returned as part of the results from query accounts.
BankClient.KeyResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for request that return a key (cancel key, duplicate key, issue root key, and make key).
BankClient.KeyResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.KeyResultHandler
 
BankClient.QueryAccountsResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for the query account request.
BankClient.QueryAccountsResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.QueryAccountsResultHandler
 
BankClient.QueryCurrenciesResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for the query currencies request.
BankClient.QueryCurrenciesResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.QueryCurrenciesResultHandler
 
BankClient.QueryEncumbranceResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for the query encumbrance request.
BankClient.QueryEncumbranceResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.QueryEncumbranceResultHandler
 
BankClient.ReleaseResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for the release request.
BankClient.ReleaseResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.ReleaseResultHandler
 
BankClient.TransferResultHandler - Class in org.elkoserver.server.workshop.bank.client
Result handler class for transfer requests (transfer and transferEncumbrance).
BankClient.TransferResultHandler() - Constructor for class org.elkoserver.server.workshop.bank.client.BankClient.TransferResultHandler
 
BankWorker - Class in org.elkoserver.server.workshop.bank
Workshop worker object for the bank service.
BankWorker(OptString, String) - Constructor for class org.elkoserver.server.workshop.bank.BankWorker
JSON-driven constructor.
baseCapacity() - Method in class org.elkoserver.server.context.Context
Obtain the number of users who may enter (a clone of) this context before another clone must be created.
baseEncode(JSONLiteral, EncodeControl) - Method in class org.elkoserver.server.context.Item
 
baseRef() - Method in class org.elkoserver.server.context.BasicObject
Obtain an object clone's base reference.
BasicInternalObject - Class in org.elkoserver.server.context
Utitlity base class for internal objects, providing a general implementation of the InternalObject interface that should be suitable for most uses.
BasicInternalObject() - Constructor for class org.elkoserver.server.context.BasicInternalObject
 
BasicObject - Class in org.elkoserver.server.context
Base class of the fundamental addressable objects in the Context Server: context, user, and item.
BasicProtocolActor - Interface in org.elkoserver.foundation.actor
Interface to be implemented by actor classes making use of the BasicProtocolHandler message handler implementation, or handlers derived from it.
BasicProtocolHandler - Class in org.elkoserver.foundation.actor
Utility message handler implementation base class that supports a basic JSON protocol for connection housekeeping.
BasicProtocolHandler() - Constructor for class org.elkoserver.foundation.actor.BasicProtocolHandler
Constructor.
boolProperty(String, boolean) - Method in class org.elkoserver.foundation.boot.BootProperties
Get the value of a property as a boolean.
Boot - Class in org.elkoserver.foundation.boot
This is the universal startup class for applications using Elko.
boot(String[], BootProperties) - Method in interface org.elkoserver.foundation.boot.Bootable
The method that Boot calls to start the application.
boot(String[], BootProperties) - Method in class org.elkoserver.server.broker.BrokerBoot
 
boot(String[], BootProperties) - Method in class org.elkoserver.server.context.ContextServerBoot
 
boot(String[], BootProperties) - Method in class org.elkoserver.server.director.DirectorBoot
 
boot(String[], BootProperties) - Method in class org.elkoserver.server.gatekeeper.GatekeeperBoot
 
boot(String[], BootProperties) - Method in class org.elkoserver.server.presence.PresenceServerBoot
 
boot(String[], BootProperties) - Method in class org.elkoserver.server.repository.RepositoryBoot
 
boot(String[], BootProperties) - Method in class org.elkoserver.server.workshop.WorkshopBoot
 
Bootable - Interface in org.elkoserver.foundation.boot
Interface to be implemented by application classes that want to be launched by Boot.
BootProperties - Class in org.elkoserver.foundation.boot
Enhanced version of the Java Properties class that knows how to pull properties settings out of the command line and also provides a friendlier interface to the values of the properties settings themselves.
BootProperties() - Constructor for class org.elkoserver.foundation.boot.BootProperties
Creates an empty property collection with no default values.
BootProperties(Properties) - Constructor for class org.elkoserver.foundation.boot.BootProperties
Creates an empty property collection with the specified defaults.
borderColor() - Method in class org.elkoserver.server.context.mods.StyleDesc
Get the border color.
borderColors() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the permissible border colors.
BrokerBoot - Class in org.elkoserver.server.broker
The Elko boot class for the Broker.
BrokerBoot() - Constructor for class org.elkoserver.server.broker.BrokerBoot
 
byteArrayToASCII(byte[], int, int) - Static method in class org.elkoserver.util.trace.Trace
Convert an array of bytes into a string suitable for output to a log.
ByteIOFramer - Interface in org.elkoserver.foundation.net
Interface supporting message framing services.
ByteIOFramerFactory - Interface in org.elkoserver.foundation.net
Interface supporting protocol-specific message framing on a connection, to frame inchoate streams of bytes into processable units.

C

call() - Method in class org.elkoserver.foundation.net.TCPConnection
Invoked from the selector thread's work queue when the selector is ready to do a write.
cancel() - Method in class org.elkoserver.foundation.timer.Timeout
Cancels this timeout.
cancelkey(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'cancelkey' request: invalidate an existing key.
cancelKey(String, String, String, BankClient.KeyResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Cancel an authorization key.
cancelkey(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a cancel key request.
Cap - Class in org.elkoserver.server.context.caps
Base class for implementing capability mods that grant access to privileged operations.
Cap(JSONObject) - Constructor for class org.elkoserver.server.context.caps.Cap
JSON-driven constructor.
Cartesian - Class in org.elkoserver.server.context.mods
Mod to provide an item with 2D (rectangular) geometry.
Cartesian(int, int, int, int) - Constructor for class org.elkoserver.server.context.mods.Cartesian
JSON-driven constructor.
CartesianPosition - Class in org.elkoserver.server.context
Position class representing an integer (x,y) coordinate on a plane.
CartesianPosition(int, int) - Constructor for class org.elkoserver.server.context.CartesianPosition
JSON-driven constructor.
Census - Class in org.elkoserver.server.context.mods
Mod to enable tracking a context's population.
Census() - Constructor for class org.elkoserver.server.context.mods.Census
JSON-driven constructor.
census(User) - Method in class org.elkoserver.server.context.mods.Census
Message handler for the 'census' message.
Chat - Class in org.elkoserver.server.context.mods
Mod to enable users in a context to chat with each other.
Chat(OptBoolean, OptBoolean, OptBoolean, OptBoolean) - Constructor for class org.elkoserver.server.context.mods.Chat
JSON-driven constructor.
checkpoint() - Method in class org.elkoserver.server.context.BasicObject
Checkpoint this object, its contents, and any registered codependent objects (that is, objects whose state must be kept consistent with this object and vice versa).
checkpoint(ArgRunnable) - Method in class org.elkoserver.server.context.BasicObject
Checkpoint this object, with completion handler.
ChunkyByteArrayInputStream - Class in org.elkoserver.foundation.net
Input stream similar to ByteArrayInputStream but backed by an ongoing series of byte arrays that can be added to during the stream object's lifetime.
ChunkyByteArrayInputStream() - Constructor for class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Constructor.
Clock - Class in org.elkoserver.foundation.timer
Object which calls the TickNoticer.noticeTick(int) method on a target object every n milliseconds.
clone() - Method in class org.elkoserver.server.context.Mod
Clone this object.
clones(String) - Method in class org.elkoserver.foundation.actor.RefTable
Get a list of all objects in the table that have a common root reference string.
close() - Method in class org.elkoserver.foundation.actor.Actor
Close this Actor's connection.
close() - Method in interface org.elkoserver.foundation.net.Connection
Shut down the connection.
close() - Method in class org.elkoserver.foundation.net.HTTPSessionConnection
Shut down the connection.
close() - Method in class org.elkoserver.foundation.net.RTCPSessionConnection
Shut down the connection.
close() - Method in class org.elkoserver.foundation.net.TCPConnection
Shut down the connection.
closeGate(String) - Method in class org.elkoserver.server.context.Context
Close this context's gate, blocking new users from entering.
code() - Method in class org.elkoserver.foundation.server.metadata.AuthDesc
Get the authorization code.
collectionName() - Method in class org.elkoserver.objdb.store.PutDesc
Get the collection name.
collectionName() - Method in class org.elkoserver.objdb.store.QueryDesc
Get the collection for this query.
collectionName() - Method in class org.elkoserver.objdb.store.RequestDesc
Get the name of the collection being queried, or null if it's to be the default.
color() - Method in class org.elkoserver.server.context.mods.StyleDesc
Get the foreground (text) color.
colors() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the permissible foreground (text) colors.
comm - Static variable in class org.elkoserver.util.trace.Trace
Trace object for the 'comm' (communications) subsystem.
connect(String, MessageHandlerFactory, String) - Method in interface org.elkoserver.foundation.net.ConnectionManager
Make a connection, using this connection manager's communications modality, to another host given a host:port address.
Connection - Interface in org.elkoserver.foundation.net
A communications connection to other entities on the net.
ConnectionBase - Class in org.elkoserver.foundation.net
Base class providing common internals implementation for various types of Connection objects.
ConnectionBase(NetworkManager) - Constructor for class org.elkoserver.foundation.net.ConnectionBase
Constructor.
ConnectionCloseException - Exception in org.elkoserver.foundation.net
Exception to report that a connection was shutdown normally (i.e., without error).
ConnectionCloseException(String) - Constructor for exception org.elkoserver.foundation.net.ConnectionCloseException
 
connectionCount(int) - Method in class org.elkoserver.foundation.net.NetworkManager
Keep track of the number of connections.
connectionCountChange(int) - Method in interface org.elkoserver.foundation.net.ConnectionCountMonitor
Note a change in the number of connections.
connectionCountChange(int) - Method in class org.elkoserver.foundation.server.Server
Track the number of connections, so server can exit gracefully.
ConnectionCountMonitor - Interface in org.elkoserver.foundation.net
Track the number of connections, so server can exit gracefully.
connectionDied(Throwable) - Method in class org.elkoserver.foundation.net.ConnectionBase
Cope with loss of a connection.
connectionDied(Connection, Throwable) - Method in interface org.elkoserver.foundation.net.MessageHandler
Cope with connection death.
connectionDied(Connection, Throwable) - Method in class org.elkoserver.foundation.net.NullMessageHandler
Cope with connection death.
connectionDied(Connection, Throwable) - Method in class org.elkoserver.foundation.server.ServiceActor
Handle loss of connection from the actor.
connectionDied(Connection, Throwable) - Method in class org.elkoserver.server.context.InternalActor
Handle loss of connection from the actor.
connectionDied(Connection, Throwable) - Method in class org.elkoserver.server.workshop.WorkshopActor
Handle loss of connection from the actor.
connectionID() - Method in class org.elkoserver.server.context.User
Obtain this user's connection ID.
ConnectionManager - Interface in org.elkoserver.foundation.net
Interface implemented by classes that support message channel connectivity via some I/O pathway (e.g., TCP/IP, etc.).
ConnectionRetrier - Class in org.elkoserver.foundation.net
Worker object to manage an ongoing attempt to establish an outbound TCP connection, so that failed connection attempts can be retried automatically.
ConnectionRetrier(HostDesc, String, NetworkManager, MessageHandlerFactory, Trace) - Constructor for class org.elkoserver.foundation.net.ConnectionRetrier
Attempt to initiate a connection to another host, with retry on failure.
connectTCP(String, MessageHandlerFactory, ByteIOFramerFactory, Trace) - Method in class org.elkoserver.foundation.net.NetworkManager
Make a TCP connection to another host given a host:port address.
connectVia(String, String, String, MessageHandlerFactory, Trace) - Method in class org.elkoserver.foundation.net.NetworkManager
Make a connection to another host given a host:port address using a named connection manager class.
container() - Method in class org.elkoserver.server.context.BasicObject
Get this objects's container.
container() - Method in class org.elkoserver.server.context.Item
Obtain this item's container.
ContainerWatcher - Interface in org.elkoserver.server.context
Interface implemented by mods that wish to be notified when the item they are attached to has its container changed.
contains(V) - Method in class org.elkoserver.util.HashSetMulti
Test if a given object is a member of the set (i.e., that it has been added more times than it has been removed).
containsKey(K) - Method in class org.elkoserver.util.HashMapMulti
Test if this map has a mapping for a given key.
content() - Method in class org.elkoserver.foundation.net.HTTPRequest
Get the message body content.
contents() - Method in class org.elkoserver.objdb.store.RequestDesc
Get the value of the contents flag.
contents() - Method in class org.elkoserver.server.context.BasicObject
Obtain an iterable for this object's contents.
ContentsWatcher - Interface in org.elkoserver.server.context
Interface implemented by mods that wish to be notified when an item is added to or removed from the container they are attached to.
context() - Method in class org.elkoserver.server.context.BasicObject
Obtain the context in which this object is located, regardless of how deeply nested in containers it might be.
Context - Class in org.elkoserver.server.context
A Context is a place for interaction between connected users.
context() - Method in class org.elkoserver.server.context.Context
Obtain the context this object is associated with.
context() - Method in class org.elkoserver.server.context.Item
Obtain the context in which this item is located, regardless of how deeply nested in containers it might be.
context() - Method in class org.elkoserver.server.context.Mod
Obtain the context in which the object this mod is attached to is located, regardless of how deeply nested in containers the object might be.
context() - Method in class org.elkoserver.server.context.User
Obtain the context this user is currently contained by.
contextID() - Method in class org.elkoserver.server.gatekeeper.ReservationResult
Get the context ID for this result.
ContextKey - Interface in org.elkoserver.server.context
Interface for capabilities that enable entry to entry controlled contexts.
ContextKeyCap - Class in org.elkoserver.server.context.caps
Capability to enable entry to one or more entry controlled contexts.
ContextKeyCap(JSONObject, String[]) - Constructor for class org.elkoserver.server.context.caps.ContextKeyCap
JSON-driven constructor.
ContextMod - Interface in org.elkoserver.server.context
Marker Interface for mods that may be attached to contexts.
contextor() - Method in class org.elkoserver.server.context.AdminObject
Obtain the contextor for this server.
contextor() - Method in class org.elkoserver.server.context.BasicInternalObject
Obtain the contextor for this server.
contextor() - Method in class org.elkoserver.server.context.BasicObject
Obtain the contextor that created this object.
Contextor - Class in org.elkoserver.server.context
Main state data structure in a Context Server.
contextor() - Method in interface org.elkoserver.server.context.InternalObject
Obtain the contextor for this server.
ContextServerBoot - Class in org.elkoserver.server.context
The Elko boot class for the Context Server, the basis of Elko applications built on the context/user/item object model.
ContextServerBoot() - Constructor for class org.elkoserver.server.context.ContextServerBoot
 
ContextShutdownWatcher - Interface in org.elkoserver.server.context
Interface implemented by objects that wish to be notified when their containing context is about to be shutdown.
copyProperty(String, JSONObject) - Method in class org.elkoserver.json.JSONObject
Add a property to the object by copying a property of another object.
crazyKey() - Method in class org.elkoserver.foundation.net.WebSocketRequest
Get the crazy handshake key.
createGeoItem(String, boolean, boolean, double, double) - Method in class org.elkoserver.server.context.Contextor
Return a newly minted geo-positioned Item (i.e., one created at runtime rather than loaded from the object database).
createItem(String, boolean, boolean) - Method in class org.elkoserver.server.context.BasicObject
Create a Item directly (i.e., create it at runtime rather than loading it from the database).
createItem(String, boolean, boolean) - Method in class org.elkoserver.server.context.Contextor
Return a newly minted Item (i.e., one created at runtime rather than loaded from the object database).
createObjectRecord(String, String, BasicObject) - Method in class org.elkoserver.server.context.Contextor
Create a new (offline) object and store its description in the object database.
Cryptor - Class in org.elkoserver.foundation.json
Simple AES-based string encryptor/decryptor, for passing sealed bundles of data through an untrusted party.
Cryptor(String) - Constructor for class org.elkoserver.foundation.json.Cryptor
Constructor.
currency - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Currency the account is denominated in.
Currency - Class in org.elkoserver.server.workshop.bank
Object representing a defined currency: a type token denominating a monetary value.
currentRunner() - Static method in class org.elkoserver.foundation.run.Runner
If called from within a thread servicing a Runner, returns that Runner.

D

debug(BasicProtocolActor, String) - Method in class org.elkoserver.foundation.actor.BasicProtocolHandler
JSON method for the 'debug' message.
debug(Deliverer, String) - Method in class org.elkoserver.foundation.actor.NonRoutingActor
JSON method for the 'debug' message.
DEBUG - Static variable in class org.elkoserver.util.trace.Trace
"Debug" level trace threshold
debug - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of debug messages.
debugi(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at DEBUG level.
debugm(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at DEBUG level.
debugm(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at DEBUG level, with attached object.
debugReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at DEBUG level.
decode(Class, JSONObject, TypeResolver) - Static method in class org.elkoserver.foundation.json.ObjectDecoder
Produce the Java object described by a particular JSON object descriptor.
decode(Class, JSONObject) - Static method in class org.elkoserver.foundation.json.ObjectDecoder
A simple JSON object decoder for one-shot objects.
decode(Class, String) - Static method in class org.elkoserver.foundation.json.ObjectDecoder
A simple JSON string decoder for one-shot objects.
decrypt(String) - Method in class org.elkoserver.foundation.json.Cryptor
Decrypt a (base-64 encoded) encrypted string
decryptJSONObject(String) - Method in class org.elkoserver.foundation.json.Cryptor
Decrypt a (base-64 encoded) encrypted JSON object literal.
decryptObject(Class, String) - Method in class org.elkoserver.foundation.json.Cryptor
Decrypt and decode a (base-64 encoded) encrypted object serialized as a JSON object literal.
DefaultDispatchTarget - Interface in org.elkoserver.foundation.json
Interface for an object to handle JSON messages addressed to it for which it does not otherwise have specific methods.
define(User, OptString, OptString, BasicObject) - Method in class org.elkoserver.server.context.caps.Definer
Message handler for a 'define' message.
Definer - Class in org.elkoserver.server.context.caps
Capability to enable external definition of persistent C-U-I objects.
Definer(JSONObject) - Constructor for class org.elkoserver.server.context.caps.Definer
JSON-driven constructor.
delete(User) - Method in class org.elkoserver.server.context.caps.Cap
Handle a 'delete' message.
delete() - Method in class org.elkoserver.server.context.Item
Delete this item (and, by implication, its contents).
delete(User) - Method in class org.elkoserver.server.context.Item
Message handler for the 'delete' message.
deleteaccount(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'deleteaccount' request: destroy an account.
deleteAccount(String, String, String, BankClient.AccountResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Delete an account.
deleteaccount(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a delete account request.
Deliverer - Interface in org.elkoserver.foundation.json
Interface for an object that will deliver JSON messages somewhere.
delvar(User, String[]) - Method in class org.elkoserver.server.context.mods.Dictionary
Message handler for the 'delvar' message.
deny() - Method in class org.elkoserver.server.gatekeeper.ReservationResult
Get the error message string for this result.
dequeue() - Method in class org.elkoserver.foundation.run.Queue
Get the least-recently-added element off of the queue.
DeviceEphemeralUserFactory - Class in org.elkoserver.server.context.users
Factory that generates a non-persistent user object from connected mobile device information.
DeviceEphemeralUserFactory(String) - Constructor for class org.elkoserver.server.context.users.DeviceEphemeralUserFactory
JSON-driven constructor.
DevicePersistentUserFactory - Class in org.elkoserver.server.context.users
Factory that generates a persistent user object from connected mobile device information.
DevicePersistentUserFactory(String) - Constructor for class org.elkoserver.server.context.users.DevicePersistentUserFactory
JSON-driven constructor.
DevicePersistentUserFactory.DeviceCredentials - Class in org.elkoserver.server.context.users
Struct object holding login info for a device user.
DeviceUserMod - Class in org.elkoserver.server.context.users
This Mod holds device specific identity information for a user.
DeviceUserMod(String) - Constructor for class org.elkoserver.server.context.users.DeviceUserMod
JSON-driven constructor.
Dictionary - Class in org.elkoserver.server.context.mods
Mod to associate a server-moderated hashtable with its object.
Dictionary(String[], String[], OptBoolean) - Constructor for class org.elkoserver.server.context.mods.Dictionary
JSON-driven constructor.
DirectorBoot - Class in org.elkoserver.server.director
The Elko boot class for the Director.
DirectorBoot() - Constructor for class org.elkoserver.server.director.DirectorBoot
 
disconnect(BasicProtocolActor) - Method in class org.elkoserver.foundation.actor.BasicProtocolHandler
JSON method for the 'disconnect' message.
dispatchMessage(Deliverer, DispatchTarget, JSONObject) - Method in class org.elkoserver.foundation.actor.RefTable
Dispatch a JSON message directly to the appropriate method of a given object.
dispatchMessage(Deliverer, JSONObject) - Method in class org.elkoserver.foundation.actor.RefTable
Dispatch a JSON message to the appropriate method on the object that the message says it is addressed to.
dispatchMessage(Deliverer, DispatchTarget, JSONObject) - Method in class org.elkoserver.foundation.json.MessageDispatcher
Dispatch a received JSON message by invoking the appropriate JSON method on the appropriate object with the parameters from the message.
DispatchTarget - Interface in org.elkoserver.foundation.json
Marker interface for objects that can be the recipients of JSON messages.
doAuth(BasicProtocolHandler, AuthDesc, String) - Method in interface org.elkoserver.foundation.actor.BasicProtocolActor
Authorize (or refuse authorization for) a connection for this actor.
doAuth(BasicProtocolHandler, AuthDesc, String) - Method in class org.elkoserver.server.context.InternalActor
Do the actual work of authorizing an actor.
doAuth(BasicProtocolHandler, AuthDesc, String) - Method in class org.elkoserver.server.workshop.WorkshopActor
Do the actual work of authorizing an actor.
doDisconnect() - Method in interface org.elkoserver.foundation.actor.BasicProtocolActor
Disconnect this actor.
doDisconnect() - Method in class org.elkoserver.server.context.InternalActor
Do the actual work of disconnecting an actor.
doDisconnect() - Method in class org.elkoserver.server.workshop.WorkshopActor
Do the actual work of disconnecting an actor.
domain() - Method in interface org.elkoserver.server.presence.SocialGraph
Obtain the domain that this social graph describes.
dontLog() - Method in class org.elkoserver.foundation.server.metadata.HostDesc
Test if this host descriptor says not to log traffic.
doubleProperty(String, double) - Method in class org.elkoserver.foundation.boot.BootProperties
Get the value of a property as a double.
dupkey(WorkshopActor, String, OptString, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'dupkey' request: make a separately cancellable copy of an existing key.
dupKey(String, String, String, BankClient.KeyResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Duplicate an authorization key.
dupkey(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a duplicate key request.

E

edit(User, OptString, StyleDesc) - Method in class org.elkoserver.server.context.mods.Note
Message handler for the 'edit' message.
EmptyIterator<V> - Class in org.elkoserver.util
Iterator for a collection of no elements.
EmptyIterator() - Constructor for class org.elkoserver.util.EmptyIterator
Constructor.
emptySet() - Static method in class org.elkoserver.util.HashSetMulti
Produce an empty set.
enablesEntry(String) - Method in class org.elkoserver.server.context.caps.ContextKeyCap
Test if this capability enables entry to a particular context.
enablesEntry(String) - Method in interface org.elkoserver.server.context.ContextKey
Test if this key enables entry to a particular context.
enc - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.EncumbranceDesc
The ref of the encumbrance.
Encodable - Interface in org.elkoserver.json
Implementing this interface enables an object's state to be output as a JSON object literal.
encode(EncodeControl) - Method in class org.elkoserver.foundation.server.metadata.AuthDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.foundation.server.metadata.LoadDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in interface org.elkoserver.json.Encodable
Produce a JSONLiteral representing the encoded state of this object, suitable for transmission over a messaging medium or for writing to persistent storage.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.ObjectDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.PutDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.QueryDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.RequestDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.ResultDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.UpdateDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.objdb.store.UpdateResultDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.caps.ContextKeyCap
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.caps.Definer
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.CartesianPosition
Encode this position for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.Context
Encode this context for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.GeoPosition
Encode this position for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.Item
Encode this item for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Cartesian
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Census
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Chat
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Dictionary
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Image
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Invisible
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.Note
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.NoteMaker
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.PrivateChat
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.StyleDesc
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.StyleOptions
Encode this object for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.TalkOptions
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.mods.TalkPrefs
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.User
Encode this user for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.context.users.DeviceUserMod
Encode this mod for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.workshop.bank.Currency
Encode this currency descriptor for transmission or persistence.
encode(EncodeControl) - Method in class org.elkoserver.server.workshop.WorkerObject
Produce a JSONLiteral representing the encoded state of this object, suitable for transmission over a messaging medium or for writing to persistent storage.
encodeArray(Iterable<ServiceDesc>) - Static method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Generate a JSONLiteralArray of ServiceDesc objects from a sequence of them.
encodeAsArray() - Method in class org.elkoserver.foundation.server.metadata.LoadDesc
Encode this descriptor as a single-element JSONLiteralArray.
encodeAsArray() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Encode this descriptor as a single-element JSONLiteralArray.
EncodeControl - Class in org.elkoserver.json
Control object for regulating the behavior of an encoding operation.
encodeDefaultParameters(JSONLiteral) - Method in class org.elkoserver.server.context.caps.Cap
Encode the basic capability parameters as part of encoding this capability mod.
encrypt(String) - Method in class org.elkoserver.foundation.json.Cryptor
Produce a (base-64 encoded) encrypted version of a string.
encs - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Array of encumbrance information.
encumber(WorkshopActor, String, OptString, OptString, OptString, String, int, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'encumber' request: reserve money in an account for a future transaction.
encumber(String, String, String, int, long, BankClient.EncumberResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Encumber an account, i.e., provisionally reserve funds for a fuure transaction.
encumber(ServiceActor, String, OptString, OptString, OptString, OptInteger) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to an encumber request.
enqueue(Object) - Method in class org.elkoserver.foundation.run.Queue
Add a new element to the queue.
enqueue(Runnable) - Method in class org.elkoserver.foundation.run.Runner
Queues something for this Runnable's thread to do.
enqueue(Callable<Object>, ArgRunnable) - Method in class org.elkoserver.foundation.run.SubRunner
Enqueue a task for execution.
enqueue(Runnable) - Method in class org.elkoserver.foundation.server.Server
Drop a runnable onto the main run queue.
enqueueHandlerFactory(MessageHandlerFactory) - Method in class org.elkoserver.foundation.net.ConnectionBase
Enqueue a task to invoke a message handler factory to produce a message handler for this connection.
enqueueReceivedMessage(Object) - Method in class org.elkoserver.foundation.net.ConnectionBase
Enqueue a received message for processing.
enqueueSlowTask(Callable<Object>, ArgRunnable) - Method in class org.elkoserver.foundation.server.Server
Drop a task onto the slow queue.
enqueueTask(Callable<Object>, ArgRunnable) - Method in class org.elkoserver.foundation.run.SlowServiceRunner
Enqueue a task to be executed via the slow path.
ensureAuthorized() - Method in class org.elkoserver.server.context.InternalActor
Guard function to guarantee that an operation is being attempted by an actor who is authorized to do it.
ensureAuthorizedAdmin(BasicProtocolActor) - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Guard function to guarantee that an operation is being attempted by an actor who is authorized to do admin operations.
ensureAuthorizedAdmin() - Method in class org.elkoserver.server.workshop.WorkshopActor
Guard function to guarantee that an operation is being attempted by an actor who is authorized to do admin operations.
ensureAuthorizedClient() - Method in class org.elkoserver.server.workshop.WorkshopActor
Guard function to guarantee that an operation is being attempted by an actor who is authorized to do workshop client operations.
ensureHolding(User) - Method in class org.elkoserver.server.context.Mod
Guard function to guarantee that an operation being attempted by a user is being applied to an object that that user is holding.
ensureInContext(User) - Method in class org.elkoserver.server.context.Mod
Guard function to guarantee that an operation being attempted by a user on an object that is contained by the user's context.
ensureReachable(User) - Method in class org.elkoserver.server.context.Mod
Guard function to guarantee that an operation being attempted by a user is being applied to an object that that user is allowed to reach (either because it is in the context or because the user is holding it).
ensureSameContext(User) - Method in class org.elkoserver.server.context.Mod
Guard function to guarantee that an operation being attempted by a user on an object is taking place in the same context as the object.
ensureSameUser(User) - Method in class org.elkoserver.server.context.Mod
Guard function to guarantee that an operation being attempted by a user is being applied to that same user.
ensureValid(User) - Method in class org.elkoserver.server.context.caps.Cap
Guard function to guarantee that an operation being attempted by a user is being applied to a capability that is actually available to that user.
EphemeralUserFactory - Interface in org.elkoserver.server.context
Interface implemented by objects that can synthesize ephemeral User objects on demand.
equals(Object) - Method in class org.elkoserver.foundation.net.NetAddr
Test if another object is a NetAddr denoting the same address as this.
ERROR - Static variable in class org.elkoserver.util.trace.Trace
"Error" level trace threshold
error - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of error messages.
errori(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at ERROR level.
errorm(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at ERROR level.
errorm(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at ERROR level, with attached object.
errorReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at ERROR level.
EVENT - Static variable in class org.elkoserver.util.trace.Trace
"Event" level trace threshold
event - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of event messages.
eventi(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at EVENT level.
eventm(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at EVENT level.
eventm(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at EVENT level, with attached object.
eventReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at EVENT level.
every(long, TickNoticer, boolean) - Method in class org.elkoserver.foundation.timer.Timer
Creates a new clock.
every(long, TickNoticer) - Method in class org.elkoserver.foundation.timer.Timer
Creates a new clock.
ExceptionManager - Class in org.elkoserver.util.trace
A collection of static methods for doing useful things with exceptions.
ExceptionNoticer - Interface in org.elkoserver.util.trace
Interface to be implemented by the entity that is to be notified of all exceptions reported to ExceptionManager or which are uncaught.
ExcludingIterator<V> - Class in org.elkoserver.util
Iterator over a collection that excludes a distinguished element.
ExcludingIterator(Iterator<V>) - Constructor for class org.elkoserver.util.ExcludingIterator
Constructor.
exit(Deliverer) - Method in class org.elkoserver.server.context.Context
Handle the 'exit' verb.
exitContext(String, String, boolean) - Method in class org.elkoserver.server.context.User
Remove this user from their context.
expires - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.EncumbranceDesc
When the encumbrance expires.
extractCredentials(Trace, JSONObject) - Method in class org.elkoserver.server.context.users.DevicePersistentUserFactory
Extract the user login credentials from a user factory parameter object.

F

fail(String, String) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.BankReplyHandler
Handle a failure result, application-specific version: do whatever the application needs or wants to do in a failure case.
failure() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this descriptor's error message.
failure() - Method in class org.elkoserver.objdb.store.ObjectDesc
Get the error message string.
failure() - Method in class org.elkoserver.objdb.store.ResultDesc
Get the error message string.
fatalError(String) - Method in class org.elkoserver.util.trace.Trace
Exit reporting a fatal error.
fatalError(String, Object) - Method in class org.elkoserver.util.trace.Trace
Exit reporting a fatal error, with attached object (usually but not necessarily a Throwable of some kind).
FileObjectStore - Class in org.elkoserver.objdb.store.filestore
A simple ObjectStore implementation that stores objects in text files, one file per object.
FileObjectStore() - Constructor for class org.elkoserver.objdb.store.filestore.FileObjectStore
Constructor.
FilteringIterator<From,To> - Class in org.elkoserver.util
Iterator that takes an iterator producing values of one type and generates values of another type via a transformation method that is supplied by the implementing subclass.
FilteringIterator(Iterator<From>, FilteringIterator.Filter<From, To>) - Constructor for class org.elkoserver.util.FilteringIterator
Constructor.
FilteringIterator.Filter<From,To> - Interface in org.elkoserver.util
Utility class implemented by filters used by the FilteringIterator iterator class.
findActualTarget(Class) - Method in interface org.elkoserver.foundation.json.MessageRetargeter
Return the object that should actually receive a message in place of this object.
findActualTarget(Class) - Method in class org.elkoserver.server.context.BasicObject
Find the object to handle a message for some class (either the object itself or one of its mods).
findEffectiveSource(DispatchTarget) - Method in interface org.elkoserver.foundation.json.SourceRetargeter
Designate an object that should be treated as the source of a message instead of this object.
findService(String, ArgRunnable, boolean) - Method in interface org.elkoserver.foundation.server.metadata.ServiceFinder
Issue a request for service information to the broker.
findService(String, ArgRunnable, boolean) - Method in class org.elkoserver.foundation.server.Server
Issue a request for service information to the broker.
findServiceLink(String, ArgRunnable) - Method in class org.elkoserver.foundation.server.Server
Obtain a message channel to a service.
findServiceLink(String, ArgRunnable) - Method in class org.elkoserver.server.context.Contextor
Find or make a connection to an external service.
finish() - Method in class org.elkoserver.json.JSONLiteral
Finish construction of the literal.
finish() - Method in class org.elkoserver.json.JSONLiteralArray
Finish construction of the literal.
forceClose() - Method in class org.elkoserver.server.context.Context
Close this context, even if it has been retained by one or more calls to the Context.retain() method, and even if there are still users in it (this means kicking those users off).
forceDisconnect() - Method in class org.elkoserver.server.context.User
Force this user to actually disconnect from the server.
forClient - Static variable in class org.elkoserver.json.EncodeControl
A global, encoding control representing the intention to encode for the client.
forRepository - Static variable in class org.elkoserver.json.EncodeControl
A global, encoding control representing the intention to encode for the repository.
freezeaccount(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'freezeaccount' request: block an account from participating in transactions.
freezeAccount(String, String, String, BankClient.AccountResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Freeze an account, rendering it temporarily unable to participate in transactions.
freezeaccount(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a freeze account request.
fromProperties(BootProperties, String, Trace) - Static method in class org.elkoserver.foundation.server.metadata.AuthDesc
Produce an AuthDesc object from information contained in the server configuration properties.
fromProperties(BootProperties, String) - Static method in class org.elkoserver.foundation.server.metadata.HostDesc
Create a HostDesc object from specifications provided by properties:
frozen - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Flag that is true if the account is frozen, false if not.

G

gateIsClosed() - Method in class org.elkoserver.server.context.Context
Test if this context's gate is closed.
Gatekeeper - Class in org.elkoserver.server.gatekeeper
The Gatekeeper itself as presented to its configured Authorizer object.
GatekeeperBoot - Class in org.elkoserver.server.gatekeeper
The Elko boot class for the Gatekeeper.
GatekeeperBoot() - Constructor for class org.elkoserver.server.gatekeeper.GatekeeperBoot
 
GeneralMod - Interface in org.elkoserver.server.context
Marker Interface for mods that may be attached to any object.
generateKey() - Static method in class org.elkoserver.foundation.json.Cryptor
Generate a new, random key.
GeoPosition - Class in org.elkoserver.server.context
Position class representing a latitude/longitude position on the surface of the earth.
GeoPosition(double, double) - Constructor for class org.elkoserver.server.context.GeoPosition
JSON-driven constructor.
get(String) - Method in class org.elkoserver.foundation.actor.RefTable
Look up an object by reference string.
get(String) - Method in class org.elkoserver.server.context.Context
Look up an object in this context's namespace.
getArray(int) - Method in class org.elkoserver.json.JSONArray
Obtain an array-valued element value.
getArray(String) - Method in class org.elkoserver.json.JSONObject
Obtain an array property value.
getBoolean(int) - Method in class org.elkoserver.json.JSONArray
Obtain the boolean value of an element.
getBoolean(String) - Method in class org.elkoserver.json.JSONObject
Obtain the boolean value of a property.
getDevice() - Method in class org.elkoserver.server.context.users.DevicePersistentUserFactory
Obtain the name of the device this factory works with.
getDouble(int) - Method in class org.elkoserver.json.JSONArray
Obtain the double value of an element.
getDouble(String) - Method in class org.elkoserver.json.JSONObject
Obtain a double property value.
getInt(int) - Method in class org.elkoserver.json.JSONArray
Obtain the integer value of an element.
getInt(String) - Method in class org.elkoserver.json.JSONObject
Obtain an integer property value.
getLong(int) - Method in class org.elkoserver.json.JSONArray
Obtain the long value of an element.
getLong(String) - Method in class org.elkoserver.json.JSONObject
Obtain a long property value.
getMetadataContextName(String) - Method in class org.elkoserver.server.context.Contextor
Obtain the name metadata for a context, as most recently reported by the presence server.
getMetadataUserName(String) - Method in class org.elkoserver.server.context.Contextor
Obtain the name metadata for a user, as most recently reported by the presence server.
getMod(Class) - Method in class org.elkoserver.server.context.BasicObject
Obtain one of this object's Mods.
getMulti(K) - Method in class org.elkoserver.util.HashMapMulti
Return the set of values for some key.
getObject(int) - Method in class org.elkoserver.json.JSONArray
Obtain the JSON object value of an element.
getObject(String) - Method in class org.elkoserver.json.JSONObject
Obtain a JSON object property value.
getObject(String, String, ArgRunnable) - Method in interface org.elkoserver.objdb.ObjDB
Fetch an object from the object database.
getObject(String, String, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBLocal
Fetch an object from the store.
getObject(String, String, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBRemote
Fetch an object from the repository.
getObject(String, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Fetch an object from the repository.
getObject(String, String, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Fetch an object from a particular collection in the repository.
getObjects(RequestDesc[], GetResultHandler) - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Service a 'get' request.
getObjects(RequestDesc[], GetResultHandler) - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Service a 'get' request.
getObjects(RequestDesc[], GetResultHandler) - Method in interface org.elkoserver.objdb.store.ObjectStore
Service a 'get' request.
getPort() - Method in class org.elkoserver.foundation.net.NetAddr
Get the port number.
getProperty(String) - Method in class org.elkoserver.json.JSONObject
Obtain the value of a property.
GetResultHandler - Interface in org.elkoserver.objdb.store
Interface for an ObjectStore object to deliver the results of servicing a 'get' request.
getStaticObject(String) - Method in class org.elkoserver.server.context.Context
Look up one of this server's static objects.
getStaticObject(String) - Method in class org.elkoserver.server.context.Contextor
Lookup an object in the static object table.
getString(int) - Method in class org.elkoserver.json.JSONArray
Obtain the string value of an element.
getString(String) - Method in class org.elkoserver.json.JSONObject
Obtain a string property value.
getTicks() - Method in class org.elkoserver.foundation.timer.Clock
Gets the current tick number.
giveUp() - Method in class org.elkoserver.foundation.net.ConnectionRetrier
Stop retrying this connection.

H

handle(ObjectDesc[]) - Method in interface org.elkoserver.objdb.store.GetResultHandler
Receive the results of a 'get' request.
handle(ResultDesc[]) - Method in interface org.elkoserver.objdb.store.RequestResultHandler
Receive the results of a request.
handle(String) - Method in interface org.elkoserver.server.gatekeeper.SetPasswordResultHandler
Deliver the results of processing a set password request.
handleFailure(String) - Method in interface org.elkoserver.server.gatekeeper.ReservationResultHandler
Deliver the results of unsuccessfully processing a reservation request.
handleMessage(Deliverer, JSONObject) - Method in interface org.elkoserver.foundation.json.DefaultDispatchTarget
Handle a message for which the MessageDispatcher could not find an appropriate specific method to invoke.
handleMessage(Deliverer, JSONObject) - Method in class org.elkoserver.server.context.BasicObject
Handle an otherwise unhandled message.
handleReservation(String, String, String, String, String) - Method in interface org.elkoserver.server.gatekeeper.ReservationResultHandler
Deliver the results of successfully processing a reservation request.
hashCode() - Method in class org.elkoserver.foundation.net.NetAddr
Get a hash code for this address.
HashMapMulti<K,V> - Class in org.elkoserver.util
A hashtable-like collection that maps each key to a set of items rather than to a single item.
HashMapMulti() - Constructor for class org.elkoserver.util.HashMapMulti
Construct an empty map.
HashSetMulti<V> - Class in org.elkoserver.util
A hash "set" that objects can be added to multiple times.
HashSetMulti() - Constructor for class org.elkoserver.util.HashSetMulti
Construct a new, empty set.
hasMoreElements() - Method in class org.elkoserver.foundation.run.Queue
Check to see if the queue has more elements.
hasNext() - Method in class org.elkoserver.util.ArrayIterator
Returns true if the iteration has more elements.
hasNext() - Method in class org.elkoserver.util.EmptyIterator
Returns true if the iteration has more elements.
hasNext() - Method in class org.elkoserver.util.ExcludingIterator
Returns true if the iteration has more elements.
hasNext() - Method in class org.elkoserver.util.FilteringIterator
Returns true if the iteration has more elements.
hasNext() - Method in class org.elkoserver.util.SingleObjectIterator
Returns true if the iteration has more elements.
header(String) - Method in class org.elkoserver.foundation.net.HTTPRequest
Get the value of a request header field.
holder() - Method in class org.elkoserver.server.context.BasicObject
Obtain the user or context holding this object, regardless of how deeply nested in containers it might be.
holder() - Method in class org.elkoserver.server.context.Item
Obtain the user or context holding this object, regardless of how deeply nested in containers it might be.
holder() - Method in class org.elkoserver.server.context.Mod
Obtain the user or context holding the object to which this mod is attached, regardless of how deeply nested in containers it might be.
HostDesc - Class in org.elkoserver.foundation.server.metadata
Contact information for establishing a network connection to a host.
HostDesc(String, boolean, String, AuthDesc, int, boolean) - Constructor for class org.elkoserver.foundation.server.metadata.HostDesc
Constructor.
HostDesc(String, String) - Constructor for class org.elkoserver.foundation.server.metadata.HostDesc
Constructor, taking most defaults.
hostPort() - Method in class org.elkoserver.foundation.server.metadata.HostDesc
Get this host's contact address.
hostport() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this service's host:port string.
hostport() - Method in class org.elkoserver.server.gatekeeper.ReservationResult
Get the host:port string for this result.
HTTPFramer - Class in org.elkoserver.foundation.net
An HTTPFramer is responsible for extracting messages from HTTP POSTs arriving on an HTTP connection and doing something meaningful with them.
HTTPFramer(Trace) - Constructor for class org.elkoserver.foundation.net.HTTPFramer
Constructor.
HTTPRequest - Class in org.elkoserver.foundation.net
An HTTP request descriptor, obtained by parsing the lines of text in an HTTP request as they are received.
HTTPRequestByteIOFramerFactory - Class in org.elkoserver.foundation.net
Byte I/O framer factory for HTTP requests.
HTTPSessionConnection - Class in org.elkoserver.foundation.net
An implementation of Connection that virtualizes a continuous message session out of a series of transient HTTP connections.

I

icon() - Method in class org.elkoserver.server.context.mods.StyleDesc
Get the icon URL.
iconHeight() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the height of the icons.
icons() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the permissible icon URLs.
iconWidth() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the width of the icons.
id() - Method in interface org.elkoserver.foundation.net.Connection
Identify this connection for logging purposes.
id() - Method in class org.elkoserver.foundation.net.ConnectionBase
Identify this connection for logging purposes.
id() - Method in class org.elkoserver.foundation.server.metadata.AuthDesc
Get the authorization ID.
Image - Class in org.elkoserver.server.context.mods
Mod to associate an image with an object.
Image(OptInteger, OptInteger, String) - Constructor for class org.elkoserver.server.context.mods.Image
JSON-driven constructor.
inetAddress() - Method in class org.elkoserver.foundation.net.NetAddr
Get the IP address.
init(NetworkManager, Trace) - Method in interface org.elkoserver.foundation.net.ConnectionManager
Initialize this connection manager.
init(PresenceServer, Domain, JSONObject) - Method in interface org.elkoserver.server.presence.SocialGraph
Initialize this social graph.
initialize(BootProperties, String, Trace) - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Do the initialization required to begin providing object store services.
initialize(BootProperties, String, Trace) - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Do the initialization required to begin providing object store services.
initialize(BootProperties, String, Trace) - Method in interface org.elkoserver.objdb.store.ObjectStore
Do whatever initialization is required to begin serving objects.
initialize(Gatekeeper) - Method in interface org.elkoserver.server.gatekeeper.Authorizer
Do whatever initialization is required to begin issuing reservations.
initialize(Gatekeeper) - Method in class org.elkoserver.server.gatekeeper.passwd.PasswdAuthorizer
Initialize the authorization service.
InternalActor - Class in org.elkoserver.server.context
Actor for an internal connection to a context server from within the server farm.
InternalObject - Interface in org.elkoserver.server.context
Interface implemented by static objects that wish to have access to the internal state of the server, and rather than being self-contained entities.
intProperty(String, int) - Method in class org.elkoserver.foundation.boot.BootProperties
Get the value of a property as an integer.
Invisible - Class in org.elkoserver.server.context.mods
Marker mod to indicate that an item should be hidden from clients.
isAtomicFailure() - Method in class org.elkoserver.objdb.store.UpdateResultDesc
Get the atomic failure flag.
isClone() - Method in class org.elkoserver.server.context.BasicObject
Test if this object is a clone.
isContainer() - Method in class org.elkoserver.server.context.BasicObject
Test if this object is allowed to be used as a container.
isContainer() - Method in class org.elkoserver.server.context.Context
Test if this object is a container.
isContainer() - Method in class org.elkoserver.server.context.User
Test if this object is a container.
isCurrentThreadInRunner() - Method in class org.elkoserver.foundation.run.Runner
Tests whether the current thread is holding the run lock
isDeletable() - Method in class org.elkoserver.server.context.Item
Test if unprivileged users inside the context can delete this item (by sending a 'delete' message to the server).
isEmpty() - Method in class org.elkoserver.util.HashSetMulti
Test if this set is empty.
isEphemeral() - Method in class org.elkoserver.server.context.BasicObject
Test if this object is ephemeral.
isEphemeral() - Method in class org.elkoserver.server.context.Mod
Test if this mod is ephemeral.
isExcluded(V) - Method in class org.elkoserver.util.ExcludingIterator
Test if a given element should be excluded from the iteration.
isExpired() - Method in class org.elkoserver.server.context.caps.Cap
Test if this capability has expired.
isNonPersistent() - Method in class org.elkoserver.foundation.net.HTTPRequest
Test if this is a non-persistent connection.
isPortable() - Method in class org.elkoserver.server.context.Item
Test if unprivileged users inside the context can move this item (by sending a 'move' message to the server).
isRequireNew() - Method in class org.elkoserver.objdb.store.PutDesc
Test if this write must be to a new object.
isRestricted() - Method in class org.elkoserver.server.context.Context
Test if this context is restricted, that is, whether it is closed to entry without an internally requested reservation.
isSemiPrivate() - Method in class org.elkoserver.server.context.Context
Test if this context is semi-private.
isShuttingDown() - Method in class org.elkoserver.foundation.run.Runner
Tests if an orderlyShutdown been requested.
issuerootkey(WorkshopActor, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'issuerootkey' request: obtain the bank's root key for the first time.
issueRootKey(BankClient.KeyResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Obtain the bank's root key, if nobody yet has it.
issuerootkey(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to an issue root key request.
isWritable() - Method in class org.elkoserver.foundation.net.TCPConnection
Test if this connection is available for writes.
Item - Class in org.elkoserver.server.context
A Item is an application object contained by a context or a user (or another Item) but which is not a context or user itself.
ItemMod - Interface in org.elkoserver.server.context
Marker Interface for mods that may be attached to items.
iterator() - Method in class org.elkoserver.foundation.actor.RefTable
Support iteration over all objects in the table.
iterator() - Method in class org.elkoserver.util.HashSetMulti
Obtain an iterator over the objects in this set (not repeating multiples).

J

JSONArray - Class in org.elkoserver.json
A parsed JSON array.
JSONArray() - Constructor for class org.elkoserver.json.JSONArray
Construct a new, empty array.
JSONByteIOFramer - Class in org.elkoserver.foundation.net
I/O framer implementation for JSON messages.
JSONByteIOFramer(Trace, MessageReceiver, String) - Constructor for class org.elkoserver.foundation.net.JSONByteIOFramer
Constructor.
JSONByteIOFramer(Trace, MessageReceiver, String, ChunkyByteArrayInputStream) - Constructor for class org.elkoserver.foundation.net.JSONByteIOFramer
Constructor with explicit input.
JSONByteIOFramerFactory - Class in org.elkoserver.foundation.net
Byte I/O framer factory for JSON messaging over a byte stream.
JSONByteIOFramerFactory(Trace) - Constructor for class org.elkoserver.foundation.net.JSONByteIOFramerFactory
Constructor.
JSONDecodingException - Exception in org.elkoserver.json
Thrown when a there is a problem of some sort interpreting the contents of a JSON object.
JSONDecodingException() - Constructor for exception org.elkoserver.json.JSONDecodingException
 
JSONDecodingException(String) - Constructor for exception org.elkoserver.json.JSONDecodingException
 
JSONDecodingException(String, Throwable) - Constructor for exception org.elkoserver.json.JSONDecodingException
 
JSONDecodingException(Throwable) - Constructor for exception org.elkoserver.json.JSONDecodingException
 
JSONHTTPFramer - Class in org.elkoserver.foundation.actor
HTTP message framer for JSON messages transported via HTTP.
JSONHTTPFramer(Trace) - Constructor for class org.elkoserver.foundation.actor.JSONHTTPFramer
Constructor.
JSONHTTPRequest - Class in org.elkoserver.util
Utility class to produce a slow service task that will make a simple HTTP call out to a JSON webservice.
JSONInvocationException - Exception in org.elkoserver.foundation.json
An exception somewhere in the process of performing the reflection operations involved in invoking a method or constructor from a JSON object.
JSONInvocationException() - Constructor for exception org.elkoserver.foundation.json.JSONInvocationException
Construct a JSONInvocationException with no specified detail message.
JSONInvocationException(String) - Constructor for exception org.elkoserver.foundation.json.JSONInvocationException
Construct a JSONInvocationException with the specified detail message.
JSONLiteral - Class in org.elkoserver.json
A literal JSON string, representing either a message or an object, undergoing incremental construction.
JSONLiteral(EncodeControl) - Constructor for class org.elkoserver.json.JSONLiteral
Begin a new literal that will be filled in incrementally.
JSONLiteral() - Constructor for class org.elkoserver.json.JSONLiteral
Begin a new literal that will be filled in incrementally.
JSONLiteral(Referenceable, String) - Constructor for class org.elkoserver.json.JSONLiteral
Begin a new literal representing a JSON message.
JSONLiteral(String, String) - Constructor for class org.elkoserver.json.JSONLiteral
Begin a new literal representing a JSON message.
JSONLiteral(String, EncodeControl) - Constructor for class org.elkoserver.json.JSONLiteral
Begin a new literal representing a JSON object.
JSONLiteralArray - Class in org.elkoserver.json
A literal JSON string, representing an array, undergoing incremental construction.
JSONLiteralArray(EncodeControl) - Constructor for class org.elkoserver.json.JSONLiteralArray
Begin a new array literal that will be filled in incrementally.
JSONLiteralArray() - Constructor for class org.elkoserver.json.JSONLiteralArray
Begin a new array literal that will be filled in incrementally.
JSONMethod - Annotation Type in org.elkoserver.foundation.json
Annotation to mark methods as targets for JSON method dispatch and constructors as decoders for JSON-driven object creation.
JSONObject - Class in org.elkoserver.json
A parsed JSON object.
JSONObject() - Constructor for class org.elkoserver.json.JSONObject
Construct a new, empty JSON object.
JSONObject(Map<String, Object>) - Constructor for class org.elkoserver.json.JSONObject
Construct a JSON object from a pre-existing map.
JSONObject(JSONObject) - Constructor for class org.elkoserver.json.JSONObject
Construct a JSON object by copying another pre-existing JSON object.
JSONObject(String) - Constructor for class org.elkoserver.json.JSONObject
Construct a JSON object representing a typed struct.
JSONObject(String, String) - Constructor for class org.elkoserver.json.JSONObject
Construct a JSON object representing a message.
JSONSetupError - Error in org.elkoserver.foundation.json
An error somewhere in the process of performing the reflection operations to prepare to invoke methods or constructors from a JSON object.
JSONSetupError() - Constructor for error org.elkoserver.foundation.json.JSONSetupError
Construct a JSONSetupError with no specified detail message.
JSONSetupError(String) - Constructor for error org.elkoserver.foundation.json.JSONSetupError
Construct a JSONSetupError with the specified detail message.
JSONValidator - Class in org.elkoserver.util
Standalone command-line application to read and parse JSON object descriptors and indicate any problems found.
JSONValidator() - Constructor for class org.elkoserver.util.JSONValidator
 

K

keys() - Method in class org.elkoserver.util.HashMapMulti
Get the set of keys for this map.

L

label() - Method in class org.elkoserver.foundation.net.TCPConnection
Get a short string for labelling this connection in log entries.
label() - Method in class org.elkoserver.foundation.server.metadata.LoadDesc
Get the label for the server being described.
label() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this service's label string.
lat - Variable in class org.elkoserver.server.context.GeoPosition
Position latitude, in decimal degrees.
length() - Method in class org.elkoserver.json.JSONLiteral
Obtain the number of characters in the literal.
listen(String, String, MessageHandlerFactory, boolean) - Method in interface org.elkoserver.foundation.net.ConnectionManager
Begin listening for incoming connections on some port, using this connection manager's communications modality.
listeners() - Method in class org.elkoserver.foundation.server.Server
Get the configured listeners for this server.
listenHTTP(String, MessageHandlerFactory, String, HTTPFramer, boolean, Trace) - Method in class org.elkoserver.foundation.net.NetworkManager
Begin listening for incoming HTTP connections on some port.
listenRTCP(String, MessageHandlerFactory, Trace, boolean) - Method in class org.elkoserver.foundation.net.NetworkManager
Begin listening for incoming RTCP connections on some port.
listenTCP(String, MessageHandlerFactory, ByteIOFramerFactory, boolean, Trace) - Method in class org.elkoserver.foundation.net.NetworkManager
Begin listening for incoming TCP connections on some port.
listenVia(String, String, String, MessageHandlerFactory, Trace, boolean) - Method in class org.elkoserver.foundation.net.NetworkManager
Begin listening for incoming connections on some port using a named connection manager class.
listenWebSocket(String, MessageHandlerFactory, String, Trace, boolean) - Method in class org.elkoserver.foundation.net.NetworkManager
Begin listening for incoming WebSocket connections on some port.
literal(EncodeControl) - Method in class org.elkoserver.json.JSONArray
Convert this JSONArray into a JSONLiteralArray.
literal(EncodeControl) - Method in class org.elkoserver.json.JSONObject
Convert this JSONObject into a JSONLiteral.
load() - Method in class org.elkoserver.foundation.server.metadata.LoadDesc
Get the reported load factor.
LoadDesc - Class in org.elkoserver.foundation.server.metadata
Description of the load on a server.
LoadDesc(String, double, int) - Constructor for class org.elkoserver.foundation.server.metadata.LoadDesc
 
loadedFromRef() - Method in class org.elkoserver.server.context.Context
Obtain the ref of the context descriptor from which this context was loaded.
LoadMonitor - Interface in org.elkoserver.foundation.net
Interface implemented by classes that support tracking server load.
loadUserGraph(ActiveUser) - Method in interface org.elkoserver.server.presence.SocialGraph
Fetch the social graph for a new user presence from persistant storage.
LoadWatcher - Interface in org.elkoserver.foundation.server
Interface implemented by objects that register to receive periodic samplings of system load.
lon - Variable in class org.elkoserver.server.context.GeoPosition
Position longitude, in decimal degrees.

M

main(String[]) - Static method in class org.elkoserver.foundation.boot.Boot
Create a Boot object and start it running.
main(String[]) - Static method in class org.elkoserver.util.JSONValidator
Program main: parse command line flags, then scan each input source and do the appropriate things with it.
make(String, JSONLiteral) - Static method in class org.elkoserver.util.JSONHTTPRequest
Produce a task that will make an HTTP POST request to an external URL, wait for the reponse, parse the response as JSON, and return the parsed response as the product of the task.
make(String, JSONObject) - Static method in class org.elkoserver.util.JSONHTTPRequest
Produce a task that will make an HTTP POST request to an external URL, wait for the reponse, parse the response as JSON, and return the parsed response as the product of the task.
makeaccounts(WorkshopActor, String, OptString, OptString, OptString, String[], String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'makeaccounts' request: create new accounts.
makeAccounts(String, String, String[], String, BankClient.AccountsResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Create a set of new accounts.
makeaccounts(ServiceActor, String, OptString, OptString, String[]) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a make account request.
makeBadURLReply(String) - Method in class org.elkoserver.foundation.net.HTTPFramer
Produce the HTTP reply body for responding to an unrecognized URL (that is, a 404 error).
makeConnectReply(long) - Method in class org.elkoserver.foundation.net.HTTPFramer
Produce the HTTP reply body containing the JSON string for responding to an HTTP GET or POST of the /connect/ URL.
makecurrency(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'makecurrency' request: create a new currency.
makeCurrency(String, String, String, BankClient.CurrencyResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Create a new currency.
makecurrency(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a make currency request.
makeDisconnectReply() - Method in class org.elkoserver.foundation.net.HTTPFramer
Produce the HTTP reply body containing the JSON string for responding to an HTTP GET or POST of the /disconnect/ URL.
makekey(WorkshopActor, String, OptString, OptString, OptString, String, String[], OptString) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'makekey' request: create a new key.
makeKey(String, String, String, String, String, BankClient.KeyResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Create a new authorization key.
makekey(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a make key request.
makenote(User, OptString, int, int, int, int, String, StyleDesc) - Method in class org.elkoserver.server.context.mods.NoteMaker
Message handler for the 'makenote' message.
makeSelectReplySegment(Object, int, boolean, boolean) - Method in class org.elkoserver.foundation.actor.JSONHTTPFramer
Produce the HTTP for responding to an HTTP GET of the /select/ URL by sending a message to the client.
makeSelectReplySegment(Object, int, boolean, boolean) - Method in class org.elkoserver.foundation.net.HTTPFramer
Produce a fragment of the HTTP reply body containing JSON messages in response to an HTTP GET or POST of the /select/ URL.
makeSequenceErrorReply(String) - Method in class org.elkoserver.foundation.net.HTTPFramer
Produce the HTTP reply body containing the JSON string for responding to an HTTP GET or POST where the URL that was presented to the server had an out-of-sequence sequence number or a bad session ID number.
makeXmitReply(int) - Method in class org.elkoserver.foundation.net.HTTPFramer
Produce the HTTP reply body containing the JSON string for responding to an HTTP GET or POST of the /xmit/ URL used to transmit messages from the client to the server.
markAsChanged() - Method in class org.elkoserver.server.context.BasicObject
Mark this object as needing to be written to persistent storage.
markAsChanged() - Method in class org.elkoserver.server.context.Mod
Mark the object to which this mod is attached as having been changed and thus in need of checkpointing.
markAsDeleted() - Method in class org.elkoserver.server.context.BasicObject
Mark this object as having been deleted.
markAsEphemeral() - Method in class org.elkoserver.server.context.BasicObject
Mark this object as being ephemeral.
markAsEphemeral() - Method in class org.elkoserver.server.context.Mod
Mark this mod as being ephemeral.
MAX_MSG_LENGTH - Static variable in class org.elkoserver.foundation.net.NetworkManager
Maximum length message that a connection will be able to receive.
maxCapacity() - Method in class org.elkoserver.server.context.Context
Obtain the number of users who may enter before no more are allowed in.
maxResults() - Method in class org.elkoserver.objdb.store.QueryDesc
Get the result limit for this query.
memo - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Memo string associated with account at creation time.
memo - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.EncumbranceDesc
Memo string associated with the encumbrance at creation time.
memo() - Method in class org.elkoserver.server.workshop.bank.Currency
Obtain this currency's memo string, an arbitrary annotation associated with the currency when it was created.
mergeStyle(StyleDesc) - Method in class org.elkoserver.server.context.mods.StyleDesc
Merge this StyleDesc with another, partially specified StyleDesc, creating a new StyleDesc.
mergeStyle(StyleDesc) - Method in class org.elkoserver.server.context.mods.StyleOptions
Produce a new StyleDesc object given another, partially specified, StyleDesc object.
MESSAGE - Static variable in class org.elkoserver.util.trace.Trace
"Message" level trace threshold.
MessageAcquirer - Interface in org.elkoserver.foundation.net
Interface implemented by message handlers that need to preflight received messages prior to putting them on the receive queue.
MessageDispatcher - Class in org.elkoserver.foundation.json
A collection of precomputed Java reflection information that can dispatch JSON messages to methods of the appropriate classes.
MessageDispatcher(TypeResolver) - Constructor for class org.elkoserver.foundation.json.MessageDispatcher
Constructor.
MessageHandler - Interface in org.elkoserver.foundation.net
Interface for objects that handle events on a Connection.
MessageHandlerException - Exception in org.elkoserver.foundation.json
An exception in the execution of a JSON method.
MessageHandlerException() - Constructor for exception org.elkoserver.foundation.json.MessageHandlerException
Construct a MessageHandlerException with no specified detail message.
MessageHandlerException(String) - Constructor for exception org.elkoserver.foundation.json.MessageHandlerException
Construct a MessageHandlerException with the specified detail message.
MessageHandlerException(String, Throwable) - Constructor for exception org.elkoserver.foundation.json.MessageHandlerException
Construct a MessageHandlerException wrapping some other kind of exception.
MessageHandlerFactory - Interface in org.elkoserver.foundation.net
Interface to handle the application-specific portion of Connection creation.
MessageReceiver - Interface in org.elkoserver.foundation.net
Interface for the object that a Connection uses to accept incoming messages from the net.
MessageRetargeter - Interface in org.elkoserver.foundation.json
Interface for an object to redirect JSON messages targeted at it.
method() - Method in class org.elkoserver.foundation.net.HTTPRequest
Get the request method (GET, PUT, etc.).
METRICS - Static variable in class org.elkoserver.util.trace.Trace
"Metrics" level (not thresholded)
metrics(String, int, String) - Method in class org.elkoserver.util.trace.Trace
Output a string-valued metrics message.
metrics(String, int, int) - Method in class org.elkoserver.util.trace.Trace
Output an integer-valued metrics message.
metrics(String, int, long) - Method in class org.elkoserver.util.trace.Trace
Output a long-valued metrics message.
metrics(String, int, double) - Method in class org.elkoserver.util.trace.Trace
Output a floating point-valued metrics message.
metrics(String, int) - Method in class org.elkoserver.util.trace.Trace
Output an unvalued metrics message.
metrics(String, int, boolean) - Method in class org.elkoserver.util.trace.Trace
Output a boolean-valued metrics message.
metrics(String, int, JSONLiteral) - Method in class org.elkoserver.util.trace.Trace
Output a JSON object-valued metrics message.
metrics(String, int, JSONObject) - Method in class org.elkoserver.util.trace.Trace
Output a JSON object-valued metrics message.
mint(WorkshopActor, String, OptString, OptString, OptString, String, int) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'mint' request: create money and deposit it in an account.
mint(String, String, String, int, BankClient.BalanceResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Create money into an accont.
mint(ServiceActor, String, OptString, OptString, OptString, OptInteger) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a mint request.
Mod - Class in org.elkoserver.server.context
Abstract base class to facilitate implementation of application-specific mods that can be attached to basic objects (contexts, users, and items).
Mod() - Constructor for class org.elkoserver.server.context.Mod
Base constructor.
mode() - Method in class org.elkoserver.foundation.server.metadata.AuthDesc
Get the authorization mode.
MongoObjectStore - Class in org.elkoserver.objdb.store.mongostore
An ObjectStore implementation that stores objects in a MongoDB NoSQL object database.
MongoObjectStore() - Constructor for class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Constructor.
move(User, OptString, int, int) - Method in class org.elkoserver.server.context.mods.Cartesian
Message handler for the 'move' message.
Msg - Class in org.elkoserver.server.context
Utility class consisting of static methods that generate various generally useful messages that can be sent to the client.
msgAuth(Referenceable, AuthDesc, String) - Static method in class org.elkoserver.foundation.actor.Actor
Create an 'auth' message.
msgAuth(String, AuthDesc, String) - Static method in class org.elkoserver.foundation.actor.Actor
Create an 'auth' message.
msgDelete(Referenceable) - Static method in class org.elkoserver.server.context.Msg
Create a 'delete' message.
msgError(Referenceable, String, String) - Static method in class org.elkoserver.server.context.Msg
Create an 'error' message.
msgi(Object, boolean, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message describing a comm message.
msgMake(Referenceable, BasicObject, User, boolean, String) - Static method in class org.elkoserver.server.context.Msg
Create a 'make' message.
msgMake(Referenceable, BasicObject, User) - Static method in class org.elkoserver.server.context.Msg
Create a 'make' message.
msgMake(Referenceable, BasicObject, String) - Static method in class org.elkoserver.server.context.Msg
Create a 'make' message with a default creator and explicit session identifier.
msgMake(Referenceable, BasicObject) - Static method in class org.elkoserver.server.context.Msg
Create a 'make' message with a default creator.
msgPush(Referenceable, Referenceable, String, String, String) - Static method in class org.elkoserver.server.context.Msg
Create a 'push' message.
msgSay(Referenceable, Referenceable, String) - Static method in class org.elkoserver.server.context.Msg
Create a 'say' message.

N

name() - Method in class org.elkoserver.server.context.BasicObject
Obtain this object's name, if it has one.
name - Variable in class org.elkoserver.server.context.users.DevicePersistentUserFactory.DeviceCredentials
Name of the user
name() - Method in class org.elkoserver.server.workshop.bank.Currency
Obtain this currency's name.
neighbors(Deliverer) - Method in class org.elkoserver.server.context.Context
Obtain a Deliverer that will deliver to all of a user's neighbors in this context.
neighbors() - Method in class org.elkoserver.server.context.User
Obtain a message deliverer for sending messages to the other users in this user's context.
NetAddr - Class in org.elkoserver.foundation.net
An IP network address and port number combination, represented in a somewhat friendlier way than InetSocketAddress does.
NetAddr(String) - Constructor for class org.elkoserver.foundation.net.NetAddr
Construct a NetAddr from a string in the form: hostName:portNumber or hostName.
NetAddr(InetAddress, int) - Constructor for class org.elkoserver.foundation.net.NetAddr
Construct a new NetAddr given an IP address and a port number.
NetworkManager - Class in org.elkoserver.foundation.net
Manage network connections between this server and other entities.
NetworkManager(ConnectionCountMonitor, BootProperties, LoadMonitor, Runner) - Constructor for class org.elkoserver.foundation.net.NetworkManager
Construct a NetworkManager for this server.
networkManager() - Method in class org.elkoserver.foundation.server.Server
Get this server's network manager.
next() - Method in class org.elkoserver.util.ArrayIterator
Returns the next element in the iteration.
next() - Method in class org.elkoserver.util.EmptyIterator
Returns the next element in the iteration.
next() - Method in class org.elkoserver.util.ExcludingIterator
Returns the next element in the iteration.
next() - Method in class org.elkoserver.util.FilteringIterator
Returns the next element in the iteration.
next() - Method in class org.elkoserver.util.SingleObjectIterator
Returns the next element in the iteration.
nextElement() - Method in class org.elkoserver.foundation.run.Queue
Get the least-recently-added element off of the queue.
none - Static variable in class org.elkoserver.util.trace.Trace
Trace object for the 'none' subsystem.
NonRoutingActor - Class in org.elkoserver.foundation.actor
An Actor that receives untargeted JSON messages over its connection.
NonRoutingActor(Connection, MessageDispatcher) - Constructor for class org.elkoserver.foundation.actor.NonRoutingActor
Constructor.
Note - Class in org.elkoserver.server.context.mods
Mod to hold a free-floating chunk of text.
Note(String, StyleDesc) - Constructor for class org.elkoserver.server.context.mods.Note
JSON-driven constructor.
noteCodependent(BasicObject) - Method in class org.elkoserver.server.context.BasicObject
Note another object that needs to be checkpointed when this object is checkpointed (in order to maintain data consistency).
noteContainerChange(BasicObject, BasicObject) - Method in interface org.elkoserver.server.context.ContainerWatcher
Do whatever you want when the item's container changes.
noteContentsAddition(Item) - Method in interface org.elkoserver.server.context.ContentsWatcher
Do whatever you want when an item is added to the container.
noteContentsRemoval(Item) - Method in interface org.elkoserver.server.context.ContentsWatcher
Do whatever you want when an item is removed from the container.
noteContextShutdown() - Method in interface org.elkoserver.server.context.ContextShutdownWatcher
Do whatever you want when the context shuts down.
noteLoadSample(double) - Method in interface org.elkoserver.foundation.server.LoadWatcher
Take note of a load sample.
NoteMaker - Class in org.elkoserver.server.context.mods
Mod to enable creation of notes.
NoteMaker(StyleOptions) - Constructor for class org.elkoserver.server.context.mods.NoteMaker
JSON-driven constructor.
notePresenceChange(String, String, String, String, boolean) - Method in interface org.elkoserver.server.context.PresenceWatcher
Take notice that a user elsewhere has come or gone.
noteReinit() - Method in interface org.elkoserver.foundation.server.ReinitWatcher
Take note that the server has been reinitialized.
noteShutdown() - Method in interface org.elkoserver.foundation.server.ShutdownWatcher
Take note that the server is about to be shut down.
noteUserArrival(User) - Method in interface org.elkoserver.server.context.UserWatcher
Do whatever you want when somebody arrives.
noteUserDeparture(User) - Method in interface org.elkoserver.server.context.UserWatcher
Do whatever you want when somebody leaves.
NOTICE - Static variable in class org.elkoserver.util.trace.Trace
"Notice" level (not thresholded)
noticei(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at NOTICE level (which is unblockable).
noticeReportedException(String, Throwable) - Method in interface org.elkoserver.util.trace.ExceptionNoticer
Notification of a reported exception.
noticeTick(int) - Method in interface org.elkoserver.foundation.timer.TickNoticer
Called by clocks on their targets after each tick.
noticeTimeout() - Method in interface org.elkoserver.foundation.timer.TimeoutNoticer
Notification of a timeout event.
noticeUncaughtException(String, Throwable) - Method in interface org.elkoserver.util.trace.ExceptionNoticer
Notification of an uncaught exception.
now(Callable<Object>) - Method in class org.elkoserver.foundation.run.Runner
Schedules a thunk to execute "inside" this runner (in the RunnerThread as a separate turn while holding the runLock), while also effectively executing as a synchronous call within the requestors's thread.
NullMessageHandler - Class in org.elkoserver.foundation.net
"Message handler" for connections that are send only.
NullMessageHandler(Trace) - Constructor for class org.elkoserver.foundation.net.NullMessageHandler
 

O

obj() - Method in class org.elkoserver.objdb.store.ObjectDesc
Get the requested object's description.
obj() - Method in class org.elkoserver.objdb.store.PutDesc
Get the object's description.
ObjDB - Interface in org.elkoserver.objdb
Asynchronous interface to the object database.
ObjDBLocal - Class in org.elkoserver.objdb
Asynchronous access to a local instance of the object database.
ObjDBLocal(BootProperties, String, Trace) - Constructor for class org.elkoserver.objdb.ObjDBLocal
Create an object to access a local object store.
ObjDBRemote - Class in org.elkoserver.objdb
Asynchronous access to a remote instance of the object database.
ObjDBRemote(ServiceFinder, NetworkManager, String, BootProperties, String, Trace) - Constructor for class org.elkoserver.objdb.ObjDBRemote
Create an object to access a remote object repository.
object() - Method in class org.elkoserver.server.context.Mod
Obtain the object to which this mod is attached.
ObjectCompletionWatcher - Interface in org.elkoserver.server.context
Interface implemented by mods that wish to be notified when their object creation is finished.
ObjectDecoder - Class in org.elkoserver.foundation.json
A producer of some class of Java objects from JSON-encoded object descriptors.
ObjectDesc - Class in org.elkoserver.objdb.store
Description of a requested object returned from the object store.
ObjectDesc(String, OptString, OptString) - Constructor for class org.elkoserver.objdb.store.ObjectDesc
JSON-driven constructor.
ObjectDesc(String, String, String) - Constructor for class org.elkoserver.objdb.store.ObjectDesc
Direct constructor.
objectIsComplete() - Method in class org.elkoserver.server.context.BasicObject
Inform this object that its construction is now complete.
objectIsComplete() - Method in class org.elkoserver.server.context.caps.Cap
Mark the item as visible only to its holder.
objectIsComplete() - Method in class org.elkoserver.server.context.mods.Chat
If this mod's configuration enables private chat and/or private push, arrange to automatically attach ephemeral PrivateChat mods to arriving users.
objectIsComplete() - Method in class org.elkoserver.server.context.mods.Invisible
Mark the item as invisible, now that there's an item to mark.
objectIsComplete() - Method in class org.elkoserver.server.context.mods.TalkPrefs
Upon completion of the user object to which this mod attached, grab the next set of available style choices from the context's TalkOptions mod.
objectIsComplete() - Method in interface org.elkoserver.server.context.ObjectCompletionWatcher
Do what needs to be done now that you are in a finished object environment.
ObjectStore - Interface in org.elkoserver.objdb.store
Access to a persistent object data storage mechanism.
odb() - Method in class org.elkoserver.server.context.Contextor
Return a reference to the attached object store.
ON - Static variable in class org.elkoserver.util.trace.Trace
This variable statically controls whether tracing is enabled at all.
openGate() - Method in class org.elkoserver.server.context.Context
Open this context's gate, allowing new users in if the context is not full.
openObjectDatabase(String) - Method in class org.elkoserver.foundation.server.Server
Open an asynchronous object database whose location (directory path or remote repository host) is specified by properties.
openObjectDatabase(String) - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Open an asynchronous database.
optArray(String) - Method in class org.elkoserver.json.JSONObject
Obtain an array property value or an empty array if the property has no value.
optArray(String, JSONArray) - Method in class org.elkoserver.json.JSONObject
Obtain an array property value or a default value if the property has no value.
OptBoolean - Class in org.elkoserver.foundation.json
An optional JSON message parameter of type boolean.
OptBoolean(boolean) - Constructor for class org.elkoserver.foundation.json.OptBoolean
Constructor (value present).
optBoolean(String, boolean) - Method in class org.elkoserver.json.JSONObject
Obtain the boolean value of a property or a default value if the property has no value.
optDequeue() - Method in class org.elkoserver.foundation.run.Queue
Get the least-recently-added element off of the queue, or null if the queue is currently empty.
OptDouble - Class in org.elkoserver.foundation.json
An optional JSON message parameter of type double.
OptDouble(double) - Constructor for class org.elkoserver.foundation.json.OptDouble
Constructor (value present).
optDouble(String, double) - Method in class org.elkoserver.json.JSONObject
Obtain the double value of a property or a default value if the property has no value.
optInt(String, int) - Method in class org.elkoserver.json.JSONObject
Obtain the integer value of a property or a default value if the property has no value.
OptInteger - Class in org.elkoserver.foundation.json
An optional JSON message parameter of type int.
OptInteger(int) - Constructor for class org.elkoserver.foundation.json.OptInteger
Constructor (value present).
optLong(String, long) - Method in class org.elkoserver.json.JSONObject
Obtain the long value of a property or a default value if the property has no value.
optObject(String, JSONObject) - Method in class org.elkoserver.json.JSONObject
Obtain the JSON object value of a property or a default value if the property has no value.
optObject(String) - Method in class org.elkoserver.json.JSONObject
Obtain the JSON object value of a property or an empty object if the property has no value.
OptString - Class in org.elkoserver.foundation.json
An optional JSON message parameter of type String.
OptString(String) - Constructor for class org.elkoserver.foundation.json.OptString
Constructor (value present).
optString(String, String) - Method in class org.elkoserver.json.JSONObject
Obtain the string value of a property or a default value if the property has no value.
orderlyShutdown() - Method in class org.elkoserver.foundation.run.Runner
Will enqueue a request to shut down this runner's thread.
org.elkoserver.foundation.actor - package org.elkoserver.foundation.actor
Elko server classes representing entities with remote connections to a server.
org.elkoserver.foundation.boot - package org.elkoserver.foundation.boot
Elko server startup and environment classes.
org.elkoserver.foundation.json - package org.elkoserver.foundation.json
JSON message handling infrastructure inside Elko servers.
org.elkoserver.foundation.net - package org.elkoserver.foundation.net
Classes for message communication over the TCP and HTTP for Elko.
org.elkoserver.foundation.run - package org.elkoserver.foundation.run
Classes providing a general run queue engine for event loop execution.
org.elkoserver.foundation.server - package org.elkoserver.foundation.server
Core common server implementation classes for Elko.
org.elkoserver.foundation.server.metadata - package org.elkoserver.foundation.server.metadata
Metadata objects used in the management of Elko servers and communicated between them.
org.elkoserver.foundation.timer - package org.elkoserver.foundation.timer
Classes supporting timer-driven events in the Elko server environment.
org.elkoserver.json - package org.elkoserver.json
Utilities for working with JSON (JavaScript Object Notation) objects.
org.elkoserver.objdb - package org.elkoserver.objdb
The Elko Object Database.
org.elkoserver.objdb.store - package org.elkoserver.objdb.store
Classes for implementing various Elko object store types.
org.elkoserver.objdb.store.filestore - package org.elkoserver.objdb.store.filestore
A simple ObjectStore implementation based on a directory full of small text files.
org.elkoserver.objdb.store.mongostore - package org.elkoserver.objdb.store.mongostore
An ObjectStore implementation based on the MongoDB NoSQL object database.
org.elkoserver.server.broker - package org.elkoserver.server.broker
The Elko Broker.
org.elkoserver.server.context - package org.elkoserver.server.context
The Elko Context Server.
org.elkoserver.server.context.caps - package org.elkoserver.server.context.caps
A package of mods related to using capability security patterns in Elko Context Server applications.
org.elkoserver.server.context.mods - package org.elkoserver.server.context.mods
A package of generally useful mods and related objects.
org.elkoserver.server.context.users - package org.elkoserver.server.context.users
A package of mods related to alternative mechanisms for user creation.
org.elkoserver.server.director - package org.elkoserver.server.director
The Elko Director.
org.elkoserver.server.gatekeeper - package org.elkoserver.server.gatekeeper
The Elko Gatekeeper.
org.elkoserver.server.gatekeeper.passwd - package org.elkoserver.server.gatekeeper.passwd
A simple, password-based Authorizer implementation for use with the Elko Gatekeeper.
org.elkoserver.server.presence - package org.elkoserver.server.presence
The Elko Presence Server.
org.elkoserver.server.repository - package org.elkoserver.server.repository
The Elko Repository.
org.elkoserver.server.workshop - package org.elkoserver.server.workshop
The Elko Workshop Server.
org.elkoserver.server.workshop.bank - package org.elkoserver.server.workshop.bank
Workshop worker and related classes for virtual currency management and banking.
org.elkoserver.server.workshop.bank.client - package org.elkoserver.server.workshop.bank.client
Client for Workshop virtual currency bank.
org.elkoserver.util - package org.elkoserver.util
Miscellaneous utility classes used in the Elko server family.
org.elkoserver.util.trace - package org.elkoserver.util.trace
Classes for logging error messages and trace messages for debugging.
owner - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Ref of user who is the owner of the account.

P

parse(String) - Static method in class org.elkoserver.json.JSONObject
Create a JSON object by parsing a JSON object literal string.
parseObjectLiteral() - Method in class org.elkoserver.json.Parser
Parse the next unparsed JSON object in the input string.
Parser - Class in org.elkoserver.json
Parser to translate JSON strings into JSON objects.
Parser(String) - Constructor for class org.elkoserver.json.Parser
Create a parser to parse a string.
PasswdAuthorizer - Class in org.elkoserver.server.gatekeeper.passwd
A simple implementation of the Authorizer interface for use with the Elko Gatekeeper.
PasswdAuthorizer() - Constructor for class org.elkoserver.server.gatekeeper.passwd.PasswdAuthorizer
Constructor.
ping(BasicProtocolActor, OptString) - Method in class org.elkoserver.foundation.actor.BasicProtocolHandler
JSON method for the 'ping' message.
ping(Deliverer, OptString) - Method in class org.elkoserver.foundation.actor.NonRoutingActor
JSON method for the 'ping' message.
pong(BasicProtocolActor, OptString) - Method in class org.elkoserver.foundation.actor.BasicProtocolHandler
JSON method for the 'pong' message.
pong(Deliverer, OptString) - Method in class org.elkoserver.foundation.actor.NonRoutingActor
JSON method for the 'pong' message.
position() - Method in class org.elkoserver.server.context.BasicObject
Obtain this object's position with respect to its container.
Position - Interface in org.elkoserver.server.context
Interface type for position description information.
postBodyUnpacker(String) - Method in class org.elkoserver.foundation.actor.JSONHTTPFramer
Get an iterator that can extract the JSON message or messages (if any) from the body of an HTTP message.
postBodyUnpacker(String) - Method in class org.elkoserver.foundation.net.HTTPFramer
Return an iterator that will return the application-level message or messages (if any) in the body of a received HTTP POST.
PresenceServerBoot - Class in org.elkoserver.server.presence
The Elko boot class for the Presence Server.
PresenceServerBoot() - Constructor for class org.elkoserver.server.presence.PresenceServerBoot
 
PresenceWatcher - Interface in org.elkoserver.server.context
Interface implemented by mods that wish to be notified when the presence of other users in a user's social graph changes.
preserveBuffers() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Copy any unread portions of the client buffer passed to ChunkyByteArrayInputStream.addBuffer(byte[], int).
printStackTrace(Throwable) - Static method in class org.elkoserver.util.trace.ExceptionManager
Prints a Throwable and its backtrace to the standard error stream in way that knows about non-local exceptions.
printStackTrace(Throwable, PrintStream) - Static method in class org.elkoserver.util.trace.ExceptionManager
Prints a Throwable and its backtrace to the specified print stream in way that knows about non-local exceptions.
printStackTrace(Throwable, PrintStream, boolean) - Static method in class org.elkoserver.util.trace.ExceptionManager
Prints a Throwable and its backtrace to the specified print stream in way that knows about non-local exceptions.
PrivateChat - Class in org.elkoserver.server.context.mods
Mod to enable users in a context to chat privately with each other.
PrivateChat(boolean, boolean) - Constructor for class org.elkoserver.server.context.mods.PrivateChat
Constructor.
processMessage(Connection, Object) - Method in class org.elkoserver.foundation.actor.NonRoutingActor
Process a received message by dispatching to this object directly using the dispatcher that was provided in this actor's constructor.
processMessage(Connection, Object) - Method in class org.elkoserver.foundation.actor.RoutingActor
Process a received message by dispatching it to the object that the message addresses as its target, according to the RefTable that was provided in this actor's constructor.
processMessage(Connection, Object) - Method in interface org.elkoserver.foundation.net.MessageHandler
Process an incoming message from a connection.
processMessage(Connection, Object) - Method in class org.elkoserver.foundation.net.NullMessageHandler
Process an incoming message from a connection by complaining to the log if we have configured to talk to the log.
produceBytes(Object) - Method in interface org.elkoserver.foundation.net.ByteIOFramer
Produce the bytes for writing a message to a connection.
produceBytes(Object) - Method in class org.elkoserver.foundation.net.JSONByteIOFramer
Generate the bytes for writing a message to a connection.
properties() - Method in class org.elkoserver.json.JSONObject
Get a set view of the properties of this JSON object.
properties() - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Get the server's configuration properties.
props() - Method in class org.elkoserver.foundation.net.NetworkManager
Get this server's properties.
props() - Method in class org.elkoserver.foundation.server.Server
Get this server's properties.
protocol() - Method in class org.elkoserver.foundation.server.metadata.HostDesc
Get this host's protocol.
protocol() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this service's protocol string.
provideFactory(String, AuthDesc, Set<String>, List<String>, String) - Method in interface org.elkoserver.foundation.server.ServiceFactory
Provide a message handler factory for a new listener.
provideFramer(MessageReceiver, String) - Method in interface org.elkoserver.foundation.net.ByteIOFramerFactory
Provide an I/O framer for a new connection.
provideFramer(MessageReceiver, String) - Method in class org.elkoserver.foundation.net.HTTPRequestByteIOFramerFactory
Provide an I/O framer for a new HTTP connection.
provideFramer(MessageReceiver, String) - Method in class org.elkoserver.foundation.net.JSONByteIOFramerFactory
Provide an I/O framer for a new connection.
provideFramer(MessageReceiver, String) - Method in class org.elkoserver.foundation.net.RTCPRequestByteIOFramerFactory
Provide an I/O framer for a new RTCP connection.
provideFramer(MessageReceiver, String) - Method in class org.elkoserver.foundation.net.WebSocketByteIOFramerFactory
Provide an I/O framer for a new HTTP connection.
provideMessageHandler(Connection) - Method in interface org.elkoserver.foundation.net.MessageHandlerFactory
Provide a message handler for a new connection.
providerID() - Method in class org.elkoserver.foundation.server.metadata.LoadDesc
Get the provider ID for the server being described.
providerID() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this service's provider ID.
provideUser(Contextor, Connection, JSONObject, String, String) - Method in interface org.elkoserver.server.context.EphemeralUserFactory
Synthesize a user object.
provideUser(Contextor, Connection, JSONObject, ArgRunnable) - Method in interface org.elkoserver.server.context.UserFactory
Produce a user object.
provideUser(Contextor, Connection, JSONObject, ArgRunnable) - Method in class org.elkoserver.server.context.users.DeviceEphemeralUserFactory
Synthesize an ephemeral user object based on user description info fetched from the Device.
provideUser(Contextor, Connection, JSONObject, ArgRunnable) - Method in class org.elkoserver.server.context.users.DevicePersistentUserFactory
Produce a user object.
push(User, String, OptString, OptString) - Method in class org.elkoserver.server.context.mods.Chat
Message handler for the 'push' message.
push(User, String, OptString, OptString) - Method in class org.elkoserver.server.context.mods.PrivateChat
Message handler for the 'push' message.
pushNewContext(String) - Method in class org.elkoserver.server.context.User
Begin the sequence of events that will push this user to a different context.
PutDesc - Class in org.elkoserver.objdb.store
Description of a request write to the object store.
PutDesc(String, String, OptString, OptBoolean) - Constructor for class org.elkoserver.objdb.store.PutDesc
JSON-driven constructor.
PutDesc(String, String, String, boolean) - Constructor for class org.elkoserver.objdb.store.PutDesc
Direct constructor.
putObject(String, Encodable, String, boolean, ArgRunnable) - Method in interface org.elkoserver.objdb.ObjDB
Store an object into the object database.
putObject(String, Encodable, String, boolean, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBLocal
Store an object into the store.
putObject(String, Encodable, String, boolean, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBRemote
Store an object into the repository.
putObject(String, Encodable) - Method in class org.elkoserver.server.workshop.Workshop
Store an object into the repository.
putObject(String, Encodable, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Store an object into the repository with results notification.
putObject(String, Encodable, String, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Store an object into a particular collection in the repository with results notification.
putObjects(PutDesc[], RequestResultHandler) - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Service a 'put' request.
putObjects(PutDesc[], RequestResultHandler) - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Service a 'put' request.
putObjects(PutDesc[], RequestResultHandler) - Method in interface org.elkoserver.objdb.store.ObjectStore
Service a 'put' request.

Q

queryaccounts(WorkshopActor, String, OptString, OptString, OptString, String[], OptBoolean) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'queryaccounts' request: obtain information about one or more accounts.
queryAccounts(String, String, String[], boolean, BankClient.QueryAccountsResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Get information about an account.
queryaccounts(ServiceActor, String, OptString, OptString, BankClient.AccountDesc[]) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a query account request.
querycurrencies(WorkshopActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'querycurrencies' request: obtain information about existing currencies.
queryCurrencies(String, String, BankClient.QueryCurrenciesResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Get information about extant currencies.
querycurrencies(ServiceActor, String, OptString, OptString, Currency[]) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a query currencies request.
QueryDesc - Class in org.elkoserver.objdb.store
Description of a query for an object.
QueryDesc(JSONObject, OptString, OptInteger) - Constructor for class org.elkoserver.objdb.store.QueryDesc
JSON-driven (and direct) constructor.
QueryDesc(JSONObject, String, int) - Constructor for class org.elkoserver.objdb.store.QueryDesc
Direct constructor.
queryenc(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'queryenc' request: obtain information about an encumbrance.
queryenc(ServiceActor, String, OptString, OptString, OptString, OptString, OptString, OptInteger, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a query encumbrance request.
queryEncumbrance(String, String, String, BankClient.QueryEncumbranceResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Get information about an encumbrance.
queryObjects(JSONObject, String, int, ArgRunnable) - Method in interface org.elkoserver.objdb.ObjDB
Query one or more objects from the object database.
queryObjects(JSONObject, String, int, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBLocal
Query the object store.
queryObjects(JSONObject, String, int, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBRemote
Query one or more objects from the object database.
queryObjects(QueryDesc[], GetResultHandler) - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Service a 'query' request.
queryObjects(QueryDesc[], GetResultHandler) - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Service a 'query' request.
queryObjects(QueryDesc[], GetResultHandler) - Method in interface org.elkoserver.objdb.store.ObjectStore
Service a 'query' request.
queryObjects(JSONObject, String, int, ArgRunnable) - Method in class org.elkoserver.server.context.Contextor
Query the attached object store.
queryObjects(JSONObject, int, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Query the repository.
queryObjects(JSONObject, String, int, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Query a particular collection in the repository.
Queue - Class in org.elkoserver.foundation.run
A conventional fifo queue in which dequeued items are removed in the same order they were enqueued.
Queue() - Constructor for class org.elkoserver.foundation.run.Queue
Makes a Queue that can hold any object.
Queue(Class) - Constructor for class org.elkoserver.foundation.run.Queue
Makes a Queue that can hold objects of the specified elementType.

R

randomLong() - Method in class org.elkoserver.server.context.Contextor
Generate a high-quality random number.
read() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read the next byte of data from the input stream.
readASCIILine() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read the next line of raw ASCII characters from the input stream.
readByte() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read the next raw byte of data from the input stream.
readBytes(int) - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read a fixed number of bytes from the input stream.
readUTF8Char() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read the next UTF-8 encoded character from the input stream.
readUTF8Line() - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read the next line of UTF-8 encoded characters from the input stream.
readUTF8String(int) - Method in class org.elkoserver.foundation.net.ChunkyByteArrayInputStream
Read a string of UTF-8 encoded characters from the input stream.
receiveBytes(byte[], int) - Method in interface org.elkoserver.foundation.net.ByteIOFramer
Process bytes of data received.
receiveBytes(byte[], int) - Method in class org.elkoserver.foundation.net.JSONByteIOFramer
Process bytes of data received.
receiveMsg(Object) - Method in interface org.elkoserver.foundation.net.MessageReceiver
Receive a message from elsewhere.
receiveMsg(Object) - Method in class org.elkoserver.foundation.net.TCPConnection
Receive an incoming message from the remote end.
ref() - Method in interface org.elkoserver.json.Referenceable
Obtain this object's reference string.
ref() - Method in class org.elkoserver.objdb.store.ObjectDesc
Get the requested object's reference string.
ref() - Method in class org.elkoserver.objdb.store.PutDesc
Get the object's reference string.
ref() - Method in class org.elkoserver.objdb.store.RequestDesc
Get the reference string of the requested object.
ref() - Method in class org.elkoserver.objdb.store.ResultDesc
Get the subject object's reference string.
ref() - Method in class org.elkoserver.server.context.AdminObject
Obtain this object's reference string.
ref() - Method in class org.elkoserver.server.context.BasicInternalObject
Obtain this object's reference string.
ref() - Method in class org.elkoserver.server.context.BasicObject
Obtain this object's reference string.
ref() - Method in class org.elkoserver.server.workshop.WorkerObject
Obtain this object's reference string.
Referenceable - Interface in org.elkoserver.json
Implementing this interface enables an object to be made referenceable in JSON messages.
RefTable - Class in org.elkoserver.foundation.actor
A mapping from object reference strings (as they would be used in JSON message parameters) to the objects they refer to.
RefTable(TypeResolver) - Constructor for class org.elkoserver.foundation.actor.RefTable
Constructor.
refTable() - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Get the object reference table for this gatekeeper.
registerContextShutdownWatcher(ContextShutdownWatcher) - Method in class org.elkoserver.server.context.Context
Register a callback to be invoked when the context is shut down.
registerLoadWatcher(LoadWatcher) - Method in class org.elkoserver.foundation.server.Server
Add an object to the collection of objects to be notified when the server samples its load.
registerReinitWatcher(ReinitWatcher) - Method in class org.elkoserver.foundation.server.Server
Add an object to the collection of objects to be notified when the server is being reinitialized.
registerService(ServiceDesc) - Method in class org.elkoserver.foundation.server.Server
Add a new service offering to the collection of services provided by this server.
registerShutdownWatcher(ShutdownWatcher) - Method in class org.elkoserver.foundation.server.Server
Add an object to the collection of objects to be notified when the server is being shut down.
registerUserWatcher(UserWatcher) - Method in class org.elkoserver.server.context.Context
Register a callback to be invoked when a user enters or exits the context.
reinit() - Method in class org.elkoserver.foundation.server.Server
Reinitialize the server.
ReinitWatcher - Interface in org.elkoserver.foundation.server
Interface implemented by objects that register to receive notification when the server is reinitialized.
Releasable - Interface in org.elkoserver.foundation.net
Interface implemented by message objects that have resources that need to be released after the message has been transmitted.
release() - Method in interface org.elkoserver.foundation.net.Releasable
Release any resources associated with this object.
release() - Method in class org.elkoserver.server.context.Context
Release an earlier call to Context.retain().
releaseenc(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'releaseenc' request: release an encumbrance on an account, making the funds once again available to the account owner.
releaseenc(ServiceActor, String, OptString, OptString, OptString, OptInteger, OptBoolean) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a release encumbrance request.
releaseEncumbrance(String, String, String, BankClient.ReleaseResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Release a previous encumbrance on an account.
remove(String) - Method in class org.elkoserver.foundation.actor.RefTable
Remove an object from the table, explicitly specifying its reference string.
remove(Referenceable) - Method in class org.elkoserver.foundation.actor.RefTable
Remove an object from the table, using the reference string it knows for itself.
remove(String) - Method in class org.elkoserver.json.JSONObject
Remove a property from this JSON object.
remove() - Method in class org.elkoserver.util.ArrayIterator
This operation is not supported.
remove() - Method in class org.elkoserver.util.EmptyIterator
Removes from the underlying collection the last element returned by the iterator; will always throw an exception since there never was such an element.
remove() - Method in class org.elkoserver.util.ExcludingIterator
This operation is not supported.
remove() - Method in class org.elkoserver.util.FilteringIterator
This operation is not supported.
remove(K, V) - Method in class org.elkoserver.util.HashMapMulti
Remove a value from a key's value set.
remove(K) - Method in class org.elkoserver.util.HashMapMulti
Remove a key's entire value set.
remove(V) - Method in class org.elkoserver.util.HashSetMulti
Remove an object from the set.
remove() - Method in class org.elkoserver.util.SingleObjectIterator
This operation is not supported.
removeObject(String, String, ArgRunnable) - Method in interface org.elkoserver.objdb.ObjDB
Delete an object from the object database.
removeObject(String, String, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBLocal
Delete an object from the store.
removeObject(String, String, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBRemote
Delete an object from the repository.
removeObject(String) - Method in class org.elkoserver.server.workshop.Workshop
Delete an object from the repository.
removeObjects(RequestDesc[], RequestResultHandler) - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Service a 'remove' request.
removeObjects(RequestDesc[], RequestResultHandler) - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Service a 'remove' request.
removeObjects(RequestDesc[], RequestResultHandler) - Method in interface org.elkoserver.objdb.store.ObjectStore
Service a 'remove' request.
reportException(Throwable) - Static method in class org.elkoserver.util.trace.ExceptionManager
Handle an exception, either by printing its stack trace to the standard error stream or, if an ExceptionNoticer has been registered, by informing the ExceptionNoticer.
reportException(Throwable, String) - Static method in class org.elkoserver.util.trace.ExceptionManager
Handle an exception, either by printing its stack trace to the standard error stream or, if an ExceptionNoticer has been registered, by informing the ExceptionNoticer.
reportException(Throwable, String, boolean) - Static method in class org.elkoserver.util.trace.ExceptionManager
Handle an exception, either by printing its stack trace to the standard error stream or, if an ExceptionNoticer has been registered, by informing the ExceptionNoticer.
reportException(Throwable, boolean) - Static method in class org.elkoserver.util.trace.ExceptionManager
Handle an exception, either by printing its stack trace to the standard error stream or, if an ExceptionNoticer has been registered, by informing the ExceptionNoticer.
RepositoryBoot - Class in org.elkoserver.server.repository
The Elko boot class for the Repository.
RepositoryBoot() - Constructor for class org.elkoserver.server.repository.RepositoryBoot
 
RequestDesc - Class in org.elkoserver.objdb.store
Description of a request for an object.
RequestDesc(String, OptString, OptBoolean) - Constructor for class org.elkoserver.objdb.store.RequestDesc
JSON-driven constructor.
RequestDesc(String, String, boolean) - Constructor for class org.elkoserver.objdb.store.RequestDesc
Direct constructor.
requestReservation(String, String, String, ArgRunnable) - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Issue a request for a reservation to the Director.
RequestResultHandler - Interface in org.elkoserver.objdb.store
Interface for an ObjectStore object to deliver the results of servicing a simple request, such as 'put' or 'remove', that does not return any objects but only a status indication.
ReservationResult - Class in org.elkoserver.server.gatekeeper
Descriptor object representing the results of a reservation request as returned by a Director.
ReservationResultHandler - Interface in org.elkoserver.server.gatekeeper
Interface for an Authorizer object to deliver the results of servicing a client's reservation request.
reserve(String, String, String, String, String, ReservationResultHandler) - Method in interface org.elkoserver.server.gatekeeper.Authorizer
Service a request to make a reservation.
reserve(String, String, String, String, String, ReservationResultHandler) - Method in class org.elkoserver.server.gatekeeper.passwd.PasswdAuthorizer
Service a request to make a reservation.
resolveType(Class, String) - Method in class org.elkoserver.foundation.json.StaticTypeResolver
Resolve a JSON type tag.
resolveType(Class<?>, String) - Method in interface org.elkoserver.foundation.json.TypeResolver
Determine the Java class associated with a given JSON type tag string.
result(String) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.AccountResultHandler
Handle an account result.
result(String[]) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.AccountsResultHandler
Handle an account list result.
result(String, int) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.BalanceResultHandler
Handle a balance update result.
result(String) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.CurrencyResultHandler
Handle a currency result.
result(String, int) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.EncumberResultHandler
Handle an encumbrance result.
result(String) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.KeyResultHandler
Handle a key result.
result(BankClient.AccountDesc[]) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.QueryAccountsResultHandler
Handle an accounts query result.
result(Currency[]) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.QueryCurrenciesResultHandler
Handle an query currencies result.
result(String, String, String, int, String, String) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.QueryEncumbranceResultHandler
Handle an encumbrance query result.
result(String, int, boolean) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.ReleaseResultHandler
Handle an encumbrance release result.
result(String, int, String, int) - Method in class org.elkoserver.server.workshop.bank.client.BankClient.TransferResultHandler
Handle a transfer result.
ResultDesc - Class in org.elkoserver.objdb.store
Description of the result status of an object store operation.
ResultDesc(String, OptString) - Constructor for class org.elkoserver.objdb.store.ResultDesc
JSON-driven constructor.
ResultDesc(String, String) - Constructor for class org.elkoserver.objdb.store.ResultDesc
Direct constructor.
retain() - Method in class org.elkoserver.server.context.Context
Keep this context open even if all users exit (normally a context will be shut down automatically after the last user leaves).
retryInterval() - Method in class org.elkoserver.foundation.server.metadata.HostDesc
Get this host's retry interval.
rootRef(String) - Static method in class org.elkoserver.foundation.actor.RefTable
Extract the root from a reference string.
RoutingActor - Class in org.elkoserver.foundation.actor
An Actor that receives targeted JSON messages over its connection.
RoutingActor(Connection, RefTable) - Constructor for class org.elkoserver.foundation.actor.RoutingActor
Constructor.
RTCPRequest - Class in org.elkoserver.foundation.net
An RTCP request descriptor, obtained by parsing the lines of text in an RTCP request as they are received.
RTCPRequestByteIOFramerFactory - Class in org.elkoserver.foundation.net
Byte I/O framer factory for RTCP requests.
RTCPSessionConnection - Class in org.elkoserver.foundation.net
An implementation of Connection that virtualizes a continuous message session out of a series of potentially transient TCP connections.
run() - Method in class org.elkoserver.foundation.boot.Boot
The run method mandated by the Thread class.
run() - Method in class org.elkoserver.foundation.run.Runner
Called only by Thread.start().
run() - Method in interface org.elkoserver.foundation.run.Thunk
Execute this thunk.
run(Object) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Callback that is invoked when the service connection is established or fails to be established.
run(Object) - Method in interface org.elkoserver.util.ArgRunnable
Act upon a value.
Runner - Class in org.elkoserver.foundation.run
Runs when it can, but never on empty.
Runner() - Constructor for class org.elkoserver.foundation.run.Runner
Makes a Runner, and starts the thread that services its queue.
Runner(String) - Constructor for class org.elkoserver.foundation.run.Runner
Makes a Runner, and starts the thread that services its queue.
runq - Static variable in class org.elkoserver.util.trace.Trace
Trace object for the 'runq' (run queue) subsystem.

S

say(User, String) - Method in class org.elkoserver.server.context.mods.Chat
Message handler for the 'say' message.
say(User, String) - Method in class org.elkoserver.server.context.mods.PrivateChat
Message handler for the 'say' message.
scanArgs(String[]) - Method in class org.elkoserver.foundation.boot.BootProperties
Read properties files and parse property settings from the command line.
scheduleContextEvent(long, Runnable) - Method in class org.elkoserver.server.context.Context
Schedule a timer event associated with this context.
send(JSONLiteral) - Method in class org.elkoserver.foundation.actor.Actor
Send a message over this Actor's connection to the entity at the other end.
send(JSONLiteral) - Method in interface org.elkoserver.foundation.json.Deliverer
Send a message to this object.
send(JSONLiteral) - Method in class org.elkoserver.foundation.server.ServiceLink
Send a message over this link to the entity at the other end.
send(JSONLiteral) - Method in class org.elkoserver.server.context.Context
Send a message to everyone in this context.
send(JSONLiteral) - Method in class org.elkoserver.server.context.User
Send a message to this user.
sendableString() - Method in class org.elkoserver.json.JSONArray
Obtain a string representation of this array suitable for output to a connection.
sendableString() - Method in class org.elkoserver.json.JSONLiteral
Obtain a string representation of this literal suitable for output to a connection.
sendableString() - Method in class org.elkoserver.json.JSONLiteralArray
Obtain a string representation of this literal suitable for output to a connection.
sendableString() - Method in class org.elkoserver.json.JSONObject
Obtain a String representation of this object suitable for output to a connection.
sendMsg(Object) - Method in interface org.elkoserver.foundation.net.Connection
Send a message over the connection to whomever is at the other end.
sendMsg(Object) - Method in class org.elkoserver.foundation.net.HTTPSessionConnection
Send a message to the other end of the connection.
sendMsg(Object) - Method in class org.elkoserver.foundation.net.RTCPSessionConnection
Send a message to the other end of the connection.
sendMsg(Object) - Method in class org.elkoserver.foundation.net.TCPConnection
Send a message to the other end of the connection.
sendObjectDescription(Deliverer, Referenceable) - Method in class org.elkoserver.server.context.BasicObject
Transmit a description of this object as a series of 'make' messages, such that the receiver will be able to construct a local presence of it.
sendObjectDescription(Deliverer, Referenceable) - Method in class org.elkoserver.server.context.Context
Transmit a description of this context as a series of 'make' messages, such that the receiver will be able to construct a local presence of it.
sendObjectDescription(Deliverer, Referenceable) - Method in class org.elkoserver.server.context.Item
Transmit a description of this item as a series of 'make' messages, such that the receiver will be able to construct a local presence of it.
sendObjectDescription(Deliverer, Referenceable) - Method in class org.elkoserver.server.context.User
Transmit a description of this user as a series of 'make' messages, such that the receiver will be able to construct a local presence of it.
sendToClones(JSONLiteral) - Method in class org.elkoserver.server.context.BasicObject
Send a JSON message to all other clones of this object.
sendToNeighbors(Deliverer, JSONLiteral) - Method in class org.elkoserver.server.context.Context
Send a message to everyone in this context save one.
sendUserDescription(Deliverer, Referenceable, boolean) - Method in class org.elkoserver.server.context.User
Transmit a description of this user as a series of 'make' messages.
Server - Class in org.elkoserver.foundation.server
The core of an Elko server, holding the run queue, a collection of configuration information extracted from the various Java property settings, as well as access to various important server-intrinsic services (such as port listeners) that are configured by those property settings.
Server(BootProperties, String, Trace) - Constructor for class org.elkoserver.foundation.server.Server
Generate the Server from Java properties.
server() - Method in class org.elkoserver.server.context.Contextor
Obtain the server object for this Context Server.
ServerLoadMonitor - Class in org.elkoserver.foundation.server
Processing time accumulator to help keep track of system load.
serverName() - Method in class org.elkoserver.foundation.server.Server
Get this server's name.
serverName() - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Get the Gatekeeper's name.
service() - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Get this services's service name.
ServiceActor - Class in org.elkoserver.foundation.server
Actor for a connection to an external service.
ServiceDesc - Class in org.elkoserver.foundation.server.metadata
Description of a (possibly) registered service.
ServiceDesc(String, String, String, String, AuthDesc, String, int) - Constructor for class org.elkoserver.foundation.server.metadata.ServiceDesc
Direct constructor.
ServiceDesc(String, String) - Constructor for class org.elkoserver.foundation.server.metadata.ServiceDesc
Error constructor.
ServiceDesc(String, OptString, OptString, OptString, AuthDesc, OptString, OptInteger) - Constructor for class org.elkoserver.foundation.server.metadata.ServiceDesc
JSON-driven constructor.
ServiceFactory - Interface in org.elkoserver.foundation.server
Interface to provide the application-specific portion of MessageHandlerFactory creation.
ServiceFinder - Interface in org.elkoserver.foundation.server.metadata
Interface for using the broker to find external services.
ServiceLink - Class in org.elkoserver.foundation.server
Class representing a connection to a service rather than to a specific client or server.
services() - Method in class org.elkoserver.foundation.server.Server
Get the services being offered by this server.
setAcceptor(TraceMessageAcceptor) - Static method in class org.elkoserver.util.trace.TraceController
Set the acceptor that will be used to actually handle trace events.
setConfiguration(String, String) - Method in interface org.elkoserver.util.trace.TraceMessageAcceptor
Modify the acceptor configuration based on a property setting.
setContainer(BasicObject) - Method in class org.elkoserver.server.context.Item
Set or change this item's container.
setDebugMode(boolean) - Method in interface org.elkoserver.foundation.net.Connection
Turn debug features for this connection on or off.
setDebugMode(boolean) - Method in class org.elkoserver.foundation.net.ConnectionBase
Turn on or off debug features on this connection.
setDebugMode(boolean) - Method in class org.elkoserver.foundation.net.HTTPSessionConnection
Turn debug features for this connection on or off.
setDebugMode(boolean) - Method in class org.elkoserver.foundation.net.RTCPSessionConnection
Turn debug features for this connection on or off.
setExceptionNoticer(ExceptionNoticer) - Static method in class org.elkoserver.util.trace.ExceptionManager
Register an ExceptionNoticer to be informed whenever one of the reportException() methods is called.
setlabel(User, String) - Method in class org.elkoserver.server.context.caps.Cap
Handle a 'setlabel' message.
setName(String) - Method in class org.elkoserver.server.context.BasicObject
Set this object's name.
setPassword(String, String, String, SetPasswordResultHandler) - Method in interface org.elkoserver.server.gatekeeper.Authorizer
Service a request to change a user's password.
setPassword(String, String, String, SetPasswordResultHandler) - Method in class org.elkoserver.server.gatekeeper.passwd.PasswdAuthorizer
Service a request to change a user's password.
SetPasswordResultHandler - Interface in org.elkoserver.server.gatekeeper
Interface for an Authorizer object to deliver the results of servicing a client's set password request.
setPosition(Position) - Method in class org.elkoserver.server.context.BasicObject
Set this object's position.
setPosition(BasicObject, double, double) - Static method in class org.elkoserver.server.context.GeoPosition
Generate a new geo-position and assign it to an object.
setProperties(Properties) - Static method in class org.elkoserver.util.trace.TraceController
Set the trace control properties from a given set of properties.
setProperty(String, String) - Static method in class org.elkoserver.util.trace.TraceController
Set one of the trace control properties.
setProviderID(int) - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Set this service's provider ID.
setServiceRefTable(RefTable) - Method in class org.elkoserver.foundation.server.Server
Assign the ref table that will be used to dispatch messages received from connected services.
setStrictness(boolean) - Static method in class org.elkoserver.json.JSONLiteral
Set the global strictness flag.
setThreshold(int) - Method in class org.elkoserver.util.trace.Trace
Set the logging threshold.
setupIsComplete() - Method in interface org.elkoserver.util.trace.TraceMessageAcceptor
After this call, the TraceMessageAcceptor must obey settings from the environment.
setvar(User, String[], String[]) - Method in class org.elkoserver.server.context.mods.Dictionary
Message handle for the 'setvar' message.
setVisibility(int) - Method in class org.elkoserver.server.context.BasicObject
Set this object's visibility without taking any other action.
shred(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Record a Throwable along with a trace message.
shutdown() - Method in class org.elkoserver.foundation.run.SubRunner
Shut down this sub-runner's run queue.
shutdown(boolean) - Method in class org.elkoserver.foundation.server.Server
Shut down the server.
shutdown() - Method in interface org.elkoserver.objdb.ObjDB
Shutdown the object database.
shutdown() - Method in class org.elkoserver.objdb.ObjDBLocal
Shutdown the object database.
shutdown() - Method in class org.elkoserver.objdb.ObjDBRemote
Shutdown the object database.
shutdown() - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Do any work required immediately prior to shutting down the server.
shutdown() - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Do any work required immediately prior to shutting down the server.
shutdown() - Method in interface org.elkoserver.objdb.store.ObjectStore
Do any work required immediately prior to shutting down the server.
shutdown() - Method in interface org.elkoserver.server.gatekeeper.Authorizer
Do any work required prior to shutting down the server.
shutdown() - Method in class org.elkoserver.server.gatekeeper.passwd.PasswdAuthorizer
Shut down the authorization service.
shutdown() - Method in interface org.elkoserver.server.presence.SocialGraph
Do any work required prior to shutting down the server.
ShutdownWatcher - Interface in org.elkoserver.foundation.server
Interface implemented by objects that register to be notified when the server is about to be shut down.
SingleObjectIterator<V> - Class in org.elkoserver.util
Iterator over a single object.
SingleObjectIterator(V) - Constructor for class org.elkoserver.util.SingleObjectIterator
Constructor.
size() - Method in class org.elkoserver.json.JSONLiteralArray
Obtain the array's element count.
size() - Method in class org.elkoserver.json.JSONObject
Return the number of properties in this JSON object.
SlowService - Interface in org.elkoserver.foundation.run
Marker interface to tag worker classes as wanting to be run via the SlowServiceRunner.
SlowServiceRunner - Class in org.elkoserver.foundation.run
This class provides a mechanism for safely making use of external services that are only available via synchronous, blocking (i.e., slow) interfaces.
SlowServiceRunner(Runner, int) - Constructor for class org.elkoserver.foundation.run.SlowServiceRunner
Constructor.
SocialGraph - Interface in org.elkoserver.server.presence
Interface representing an entire social graph, irrespective of its underlying semantics or storage implementation.
SourceRetargeter - Interface in org.elkoserver.foundation.json
Interface for an object that can be a source of JSON messages on behalf of other objects.
spawn(User, OptString, OptBoolean, OptBoolean, OptInteger, OptInteger) - Method in class org.elkoserver.server.context.caps.Cap
Handle a 'spawn' message.
start() - Method in class org.elkoserver.foundation.timer.Clock
Starts this clock from the current tick.
start(Properties) - Static method in class org.elkoserver.util.trace.TraceController
Start the operation of the trace system.
startListeners(String, ServiceFactory) - Method in class org.elkoserver.foundation.server.Server
Start listening for connections on all the ports that are configured.
startup - Static variable in class org.elkoserver.util.trace.Trace
Trace object for the 'startup' subsystem.
StaticTypeResolver - Class in org.elkoserver.foundation.json
A simple type resolver that tries to resolve JSON type tags from statically available class information rather than from a lookup table.
status() - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Get the current status of the connection to the external service.
stop() - Method in class org.elkoserver.foundation.timer.Clock
Stops this clock from ticking.
style(User, OptString, OptString, OptString, OptString) - Method in class org.elkoserver.server.context.mods.TalkPrefs
Message handler for the 'style' message.
StyleDesc - Class in org.elkoserver.server.context.mods
Representation of style information for something containing text.
StyleDesc(OptString, OptString, OptString, OptString, OptString) - Constructor for class org.elkoserver.server.context.mods.StyleDesc
JSON-driven constructor.
StyleDesc(String, String, String, String, String) - Constructor for class org.elkoserver.server.context.mods.StyleDesc
Direct constructor.
StyleOptions - Class in org.elkoserver.server.context.mods
Representation of permissible text style information in a context that can contain text.
StyleOptions(String[], String[], String[], String[], String[], OptInteger, OptInteger) - Constructor for class org.elkoserver.server.context.mods.StyleOptions
JSON-driven constructor.
SubRunner - Class in org.elkoserver.foundation.run
Object which manages a Runner for you.
SubRunner() - Constructor for class org.elkoserver.foundation.run.SubRunner
Start a new sub-runner.
SubRunner(String) - Constructor for class org.elkoserver.foundation.run.SubRunner
Start a new, named sub-runner.
subService(String) - Method in class org.elkoserver.foundation.server.metadata.ServiceDesc
Generate a service descriptor based on this one.
subTrace(String) - Method in class org.elkoserver.util.trace.Trace
Obtain a Trace object based on another Trace object.
SyntaxError - Exception in org.elkoserver.json
An exception to report a syntax error when parsing a JSON object or message.
SyntaxError(String) - Constructor for exception org.elkoserver.json.SyntaxError
 
SyntaxError() - Constructor for exception org.elkoserver.json.SyntaxError
 

T

TalkOptions - Class in org.elkoserver.server.context.mods
Mod to hold a context's permissible chat text display style options.
TalkOptions(StyleOptions) - Constructor for class org.elkoserver.server.context.mods.TalkOptions
JSON-driven constructor.
TalkPrefs - Class in org.elkoserver.server.context.mods
Mod to hold a user's current chat text display style settings.
TalkPrefs(StyleDesc) - Constructor for class org.elkoserver.server.context.mods.TalkPrefs
JSON-driven constructor.
target() - Method in class org.elkoserver.json.JSONObject
Interpreting this JSON object as a JSON message, obtain its target.
TCPConnection - Class in org.elkoserver.foundation.net
An implementation of Connection that manages a non-blocking TCP connection to a single remote host.
template() - Method in class org.elkoserver.objdb.store.QueryDesc
Get the query template for the queried object(s).
testProperty(String) - Method in class org.elkoserver.foundation.boot.BootProperties
Test the setting of a boolean property.
testProperty(String, String) - Method in class org.elkoserver.foundation.boot.BootProperties
Test if the value of a property is a particular string.
textStyle() - Method in class org.elkoserver.server.context.mods.StyleDesc
Get the text style for this StyleDesc.
textStyles() - Method in class org.elkoserver.server.context.mods.StyleOptions
Get the permissible text styles.
theCloseMarker - Static variable in class org.elkoserver.foundation.net.ConnectionBase
Token to put on send queue to signal close of connection.
TheDebugReplyFlag - Static variable in class org.elkoserver.foundation.net.NetworkManager
Special debug support: if this flag is set to true, errors generated by received messages will result in a 'debug' message being sent in reply.
TheDebugSessionsFlag - Static variable in class org.elkoserver.foundation.net.HTTPSessionConnection
Flag to bypass unguessable ID generation for debugging purposes.
TheDebugSessionsFlag - Static variable in class org.elkoserver.foundation.net.RTCPSessionConnection
Flag to bypass unguessable ID generation for debugging purposes.
theMissingValue - Static variable in class org.elkoserver.foundation.json.OptBoolean
Singleton instance of OptBoolean with the value not present.
theMissingValue - Static variable in class org.elkoserver.foundation.json.OptDouble
Singleton instance of OptDouble with the value not present.
theMissingValue - Static variable in class org.elkoserver.foundation.json.OptInteger
Singleton instance of OptInteger with the value not present.
theMissingValue - Static variable in class org.elkoserver.foundation.json.OptString
Singleton instance of OptString with the value not present.
theOpenAuth - Static variable in class org.elkoserver.foundation.server.metadata.AuthDesc
Singleton open authorization descriptor.
theStaticTypeResolver - Static variable in class org.elkoserver.foundation.json.StaticTypeResolver
The singleton instance of this resolver.
theTimer() - Static method in class org.elkoserver.foundation.timer.Timer
Return the single permitted Timer instance.
throwIfMandatory(Throwable) - Static method in class org.elkoserver.foundation.run.Runner
Utility routine to either swallow or throw exceptions, depending on whether or not they are the kind of exceptions that need to escape from the run loop.
Thunk - Interface in org.elkoserver.foundation.run
An arbitrary (zero-argument) executable.
TickNoticer - Interface in org.elkoserver.foundation.timer
Interface implemented by classes that want to be informed about repeated ticks from a Clock.
Timeout - Class in org.elkoserver.foundation.timer
Object representing a scheduled timeout event.
TimeoutNoticer - Interface in org.elkoserver.foundation.timer
Interface implemented by objects that wish to be informed about Timeout events.
Timer - Class in org.elkoserver.foundation.timer
The master control object for scheduling timed events using timeouts and clocks.
timers - Static variable in class org.elkoserver.util.trace.Trace
Trace object for the 'timers' subsystem.
toClient() - Method in class org.elkoserver.json.EncodeControl
Test if this controller says to encode for the client.
toList(List<BasicObject>) - Static method in class org.elkoserver.server.context.Context
Obtain a Deliverer that will deliver to an arbitrary list of users.
toListExcluding(List<BasicObject>, Deliverer) - Static method in class org.elkoserver.server.context.Context
Obtain a Deliverer that will deliver to an arbitrary list of users except for one distinguished user.
toRepository() - Method in class org.elkoserver.json.EncodeControl
Test if this controller says to encode for the repository.
toString() - Method in class org.elkoserver.foundation.net.HTTPRequest
Obtain a printable String representation of this request.
toString() - Method in class org.elkoserver.foundation.net.HTTPSessionConnection
Get a printable String representation of this connection.
toString() - Method in class org.elkoserver.foundation.net.NetAddr
Produce a printable representation of this.
toString() - Method in class org.elkoserver.foundation.net.RTCPRequest
Obtain a printable String representation of this request.
toString() - Method in class org.elkoserver.foundation.net.RTCPSessionConnection
Get a printable String representation of this connection.
toString() - Method in class org.elkoserver.foundation.net.TCPConnection
Obtain a printable String representation of this connection.
toString() - Method in class org.elkoserver.foundation.server.ServiceActor
 
toString() - Method in class org.elkoserver.foundation.server.ServiceLink
 
toString() - Method in class org.elkoserver.json.JSONArray
Obtain a printable string representation of this JSON array.
toString() - Method in class org.elkoserver.json.JSONLiteral
Obtain a printable string representation of this literal, in whatever its current state is.
toString() - Method in class org.elkoserver.json.JSONLiteralArray
Obtain a printable String representation of this literal, in whatever its current state is.
toString() - Method in class org.elkoserver.json.JSONObject
Obtain a printable string representation of this object.
toString() - Method in class org.elkoserver.server.context.Context
Obtain a printable string representation of this context.
toString() - Method in class org.elkoserver.server.context.GeoPosition
 
toString() - Method in class org.elkoserver.server.context.InternalActor
 
toString() - Method in class org.elkoserver.server.context.Item
Obtain a printable string representation of this item.
toString() - Method in class org.elkoserver.server.context.User
Obtain a printable string representation of this user.
toString() - Method in class org.elkoserver.server.workshop.WorkshopActor
 
toString() - Method in class org.elkoserver.util.trace.TraceMessage
Convert this message into a string.
total - Variable in class org.elkoserver.server.workshop.bank.client.BankClient.AccountDesc
Total (including encumbered) balance in the account.
trace() - Method in class org.elkoserver.foundation.server.Server
Return the application trace object for this server.
trace() - Method in class org.elkoserver.server.context.Context
Obtain a trace object for logging.
trace() - Method in class org.elkoserver.server.gatekeeper.Gatekeeper
Get the trace object.
Trace - Class in org.elkoserver.util.trace
This class provides output to the server log on behalf of a particular server subsystem.
trace - Static variable in class org.elkoserver.util.trace.Trace
Trace object for the 'trace' subsystem itself.
trace(String) - Static method in class org.elkoserver.util.trace.Trace
Obtain the Trace object for a given subsystem.
TraceController - Class in org.elkoserver.util.trace
The single trace controller which manages the operation of the tracing system.
TraceMessage - Class in org.elkoserver.util.trace
Base object representing a trace message generated by a call to one of the Trace class's trace methods.
TraceMessageAcceptor - Interface in org.elkoserver.util.trace
This interface represents objects that accept messages and do something useful with them.
TraceMessageComm - Class in org.elkoserver.util.trace
Trace message suitable for logging communications traffic.
TraceMessageDebug - Class in org.elkoserver.util.trace
Trace message suitable for debug output.
TraceMessageInfo - Class in org.elkoserver.util.trace
Trace message suitable for output of simple notices (e.g., version ID, copyright declaration, etc).
TraceMessageMetrics - Class in org.elkoserver.util.trace
Trace message suitable for logging metrics for analytics.
transfer(User, String) - Method in class org.elkoserver.server.context.caps.Cap
Handle a 'transfer' message.
transfer(String, String, String, String, int, BankClient.TransferResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Transfer money from one account to another.
transferEncumbrance(String, String, String, String, BankClient.TransferResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Transfer encumbered funds into another account.
transform(From) - Method in interface org.elkoserver.util.FilteringIterator.Filter
Generate an object of type To given an object of type From.
type() - Method in class org.elkoserver.json.JSONObject
Interpreting this JSON object as an encoded object descriptor, obtain its type name.
TypeResolver - Interface in org.elkoserver.foundation.json
A mapping from JSON type tag strings to Java classes.

U

uncaughtException(Thread, Throwable) - Static method in class org.elkoserver.util.trace.ExceptionManager
Report an uncaught exception.
unfreezeaccount(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'unfreezeaccount' request: remove the blockage on a previously frozen account.
unfreezeAccount(String, String, String, BankClient.AccountResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Unfreeze an account, rendering it once again able to participate in transactions.
unfreezeaccount(ServiceActor, String, OptString, OptString, OptString) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to an unfreeze account request.
uniqueID(String) - Method in class org.elkoserver.server.context.Contextor
Generate a unique object ID.
unmint(WorkshopActor, String, OptString, OptString, OptString, String, int) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'unmint' request: remove money from an account and then destroy it.
unmint(String, String, String, int, BankClient.BalanceResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Destroy money from an account.
unmint(ServiceActor, String, OptString, OptString, OptString, OptInteger) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to an unmint request.
unmintenc(WorkshopActor, String, OptString, OptString, OptString, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'unmint' request: redeem an encumbrance by destroying the encumbered funds
unmintenc(ServiceActor, String, OptString, OptString, OptString, OptInteger) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to an unmint encumbrance request.
unmintEncumbrance(String, String, String, BankClient.BalanceResultHandler) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
Destroy encumbered funds.
unregisterLoadWatcher(LoadWatcher) - Method in class org.elkoserver.foundation.server.Server
Remove an object from the collection of objects that are notified when the server samples its load.
unregisterReinitWatcher(ReinitWatcher) - Method in class org.elkoserver.foundation.server.Server
Remove an object from the collection of objects that are notified when the server is being reinitialized.
unregisterShutdownWatcher(ShutdownWatcher) - Method in class org.elkoserver.foundation.server.Server
Remove an object from the collection of objects that are notified when the server is being shut down.
update(PresenceServer, Domain, JSONObject) - Method in interface org.elkoserver.server.presence.SocialGraph
Update this social graph.
UpdateDesc - Class in org.elkoserver.objdb.store
Description of a request to update to the object store.
UpdateDesc(String, int, String, OptString) - Constructor for class org.elkoserver.objdb.store.UpdateDesc
JSON-driven constructor.
UpdateDesc(String, int, String, String) - Constructor for class org.elkoserver.objdb.store.UpdateDesc
Direct constructor.
updateObject(String, int, Encodable, String, ArgRunnable) - Method in interface org.elkoserver.objdb.ObjDB
Update an object in the object database.
updateObject(String, int, Encodable, String, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBLocal
Update an object in the store.
updateObject(String, int, Encodable, String, ArgRunnable) - Method in class org.elkoserver.objdb.ObjDBRemote
Update an object in the repository.
updateObject(String, int, Encodable, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Update the state of an object in the repository.
updateObject(String, int, Encodable, String, ArgRunnable) - Method in class org.elkoserver.server.workshop.Workshop
Update the state of an object in some collection in the repository.
updateObjects(UpdateDesc[], RequestResultHandler) - Method in class org.elkoserver.objdb.store.filestore.FileObjectStore
Service an 'update' request.
updateObjects(UpdateDesc[], RequestResultHandler) - Method in class org.elkoserver.objdb.store.mongostore.MongoObjectStore
Service an 'update' request.
updateObjects(UpdateDesc[], RequestResultHandler) - Method in interface org.elkoserver.objdb.store.ObjectStore
Service an 'update' request.
UpdateResultDesc - Class in org.elkoserver.objdb.store
Description of the result status of an object update operation.
UpdateResultDesc(String, OptString, boolean) - Constructor for class org.elkoserver.objdb.store.UpdateResultDesc
JSON-driven constructor.
UpdateResultDesc(String, String, boolean) - Constructor for class org.elkoserver.objdb.store.UpdateResultDesc
Direct constructor.
URI() - Method in class org.elkoserver.foundation.net.HTTPRequest
Get the URI that was requested.
USAGE - Static variable in class org.elkoserver.util.trace.Trace
"Usage" level trace threshold
usage - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of usage messages.
usagei(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at USAGE level.
usagem(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at USAGE level.
usagem(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at USAGE level, with attached object.
usageReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at USAGE level.
user() - Method in class org.elkoserver.server.context.BasicObject
Obtain the user within which this object is contained, regardless of how deeply nested in containers it might be.
user() - Method in class org.elkoserver.server.context.Context
Obtain the user this object is currently contained by.
user() - Method in class org.elkoserver.server.context.Item
Obtain the user within which this item is contained, regardless of how deeply nested in containers it might be.
User - Class in org.elkoserver.server.context
A User represents a connection to someone entered into a context from a client.
User(String, Mod[], Item[], String, Position) - Constructor for class org.elkoserver.server.context.User
Direct constructor.
user() - Method in class org.elkoserver.server.context.User
Obtain the user this object is currently associated with.
userCount() - Method in class org.elkoserver.server.context.Context
Get the number of users in this context.
UserFactory - Interface in org.elkoserver.server.context
Interface implemented by objects that can produce User objects on demand, either by manufacturing them from whole cloth or by fetching information from an external data store.
userIterator() - Method in class org.elkoserver.server.context.Context
Obtain an iterator over the users currently in this context.
UserMod - Interface in org.elkoserver.server.context
Marker Interface for mods that may be attached to users.
UserWatcher - Interface in org.elkoserver.server.context
Interface implemented by objects that wish to be notified when users arrive in or depart from context.
uuid - Variable in class org.elkoserver.server.context.users.DevicePersistentUserFactory.DeviceCredentials
The device ID
uuid() - Method in class org.elkoserver.server.context.users.DeviceUserMod
Get the Device UID

V

value() - Method in class org.elkoserver.foundation.json.OptBoolean
Get the boolean value of the parameter.
value(boolean) - Method in class org.elkoserver.foundation.json.OptBoolean
Get the boolean value of this parameter, or a default value if the value is absent.
value() - Method in class org.elkoserver.foundation.json.OptDouble
Get the double value of the parameter.
value(double) - Method in class org.elkoserver.foundation.json.OptDouble
Get the double value of this parameter, or a default value if the value is absent.
value() - Method in class org.elkoserver.foundation.json.OptInteger
Get the int value of the parameter.
value(int) - Method in class org.elkoserver.foundation.json.OptInteger
Get the int value of this parameter, or a default value if the value is absent.
value() - Method in class org.elkoserver.foundation.json.OptString
Get the String value of the parameter.
value(String) - Method in class org.elkoserver.foundation.json.OptString
Get the String value of this parameter, or a default value if the value is absent.
values() - Method in class org.elkoserver.util.HashMapMulti
Return an iterable that can iterate over all the values of all the keys in this map.
verb() - Method in class org.elkoserver.json.JSONObject
Interpreting this JSON object as a JSON message, obtain its verb.
VERB_ACK - Static variable in class org.elkoserver.foundation.net.RTCPRequest
 
VERB_END - Static variable in class org.elkoserver.foundation.net.RTCPRequest
 
VERB_ERROR - Static variable in class org.elkoserver.foundation.net.RTCPRequest
 
VERB_MESSAGE - Static variable in class org.elkoserver.foundation.net.RTCPRequest
 
VERB_RESUME - Static variable in class org.elkoserver.foundation.net.RTCPRequest
 
VERB_START - Static variable in class org.elkoserver.foundation.net.RTCPRequest
 
VERBOSE - Static variable in class org.elkoserver.util.trace.Trace
"Verbose" level trace threshold
verbose - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of verbose messages.
verbosei(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at VERBOSE level.
verbosem(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at VERBOSE level.
verbosem(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at VERBOSE level, with attached object.
verboseReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at VERBOSE level.
verify(AuthDesc) - Method in class org.elkoserver.foundation.server.metadata.AuthDesc
Check an authorization.
version() - Method in class org.elkoserver.foundation.server.Server
Return the version ID string for this build.
version() - Method in class org.elkoserver.objdb.store.UpdateDesc
Get the version number.
VIS_CONTAINER - Static variable in class org.elkoserver.server.context.BasicObject
Visible according to the visibility of its container.
VIS_NONE - Static variable in class org.elkoserver.server.context.BasicObject
Not visible to anyone.
VIS_PERSONAL - Static variable in class org.elkoserver.server.context.BasicObject
Visible to user holding object but nobody else.
VIS_PUBLIC - Static variable in class org.elkoserver.server.context.BasicObject
Visible to everyone in the enclosing context.
visibleTo(Deliverer) - Method in class org.elkoserver.server.context.BasicObject
Test if this object is visible to a given receiver.

W

WARNING - Static variable in class org.elkoserver.util.trace.Trace
"Warning" level trace threshold
warning - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of warning messages.
warningi(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at WARNING level.
warningm(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at WARNING level.
warningm(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at WARNING level, with attached object.
warningReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at WARNING level.
WebSocketByteIOFramerFactory - Class in org.elkoserver.foundation.net
Byte I/O framer factory for WebSocket connections, a perverse hybrid of HTTP and TCP.
WebSocketRequest - Class in org.elkoserver.foundation.net
An HTTP request descriptor, augmented for setting up a WebSocket connection.
WebSocketRequest() - Constructor for class org.elkoserver.foundation.net.WebSocketRequest
 
WorkerObject - Class in org.elkoserver.server.workshop
Base class for all worker objects.
WorkerObject(String) - Constructor for class org.elkoserver.server.workshop.WorkerObject
Constructor.
workshop() - Method in class org.elkoserver.server.workshop.WorkerObject
Obtain the workshop for this server.
Workshop - Class in org.elkoserver.server.workshop
Main state data structure in a Workshop Server.
WorkshopActor - Class in org.elkoserver.server.workshop
Actor for a connection to a workshop.
WorkshopBoot - Class in org.elkoserver.server.workshop
The boot class for the Workshop.
WorkshopBoot() - Constructor for class org.elkoserver.server.workshop.WorkshopBoot
 
WORLD - Static variable in class org.elkoserver.util.trace.Trace
"World" level trace threshold
world - Variable in class org.elkoserver.util.trace.Trace
Flag to control tracing of world messages.
worldi(String) - Method in class org.elkoserver.util.trace.Trace
Output an informational log message at WORLD level.
worldm(String) - Method in class org.elkoserver.util.trace.Trace
Output a log message at WORLD level.
worldm(String, Object) - Method in class org.elkoserver.util.trace.Trace
Output a log message at WORLD level, with attached object.
worldReportException(Throwable, String) - Method in class org.elkoserver.util.trace.Trace
Log an exception event at WORLD level.

X

x() - Method in class org.elkoserver.server.context.CartesianPosition
Obtain the X-coordinate of this position.
xfer(WorkshopActor, String, OptString, OptString, OptString, String, String, int) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'xfer' request: transfer money from one account to another.
xfer(ServiceActor, String, OptString, OptString, OptString, OptInteger, OptString, OptInteger) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a transfer request.
xferenc(WorkshopActor, String, OptString, OptString, OptString, String, String) - Method in class org.elkoserver.server.workshop.bank.BankWorker
Message handler for the 'xferenc' request: redeem an encumbrance by transferring the encumbered funds to some other account
xferenc(ServiceActor, String, OptString, OptString, OptString, OptInteger, OptString, OptInteger) - Method in class org.elkoserver.server.workshop.bank.client.BankClient
JSON message handler for the response to a transfer encumbrance request.

Y

y() - Method in class org.elkoserver.server.context.CartesianPosition
Obtain the Y-coordinate of this position.

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