Package | Description |
---|---|
org.elkoserver.foundation.actor |
Elko server classes representing entities with remote connections to a server.
|
org.elkoserver.json |
Utilities for working with JSON (JavaScript Object Notation) objects.
|
org.elkoserver.server.context |
The Elko Context Server.
|
org.elkoserver.server.context.test | |
org.elkoserver.server.workshop |
The Elko Workshop Server.
|
org.elkoserver.server.workshop.bank |
Workshop worker and related classes for virtual currency management and
banking.
|
org.elkoserver.server.workshop.bank.client |
Client for Workshop virtual currency bank.
|
org.elkoserver.server.workshop.test |
Modifier and Type | Class and Description |
---|---|
class |
BasicProtocolHandler
Utility message handler implementation base class that supports a basic JSON
protocol for connection housekeeping.
|
class |
NonRoutingActor
An
Actor that receives untargeted JSON messages over its connection. |
Modifier and Type | Method and Description |
---|---|
void |
RefTable.addRef(Referenceable target)
Add an object to the table, using the reference string it knows for
itself.
|
static JSONLiteral |
Actor.msgAuth(Referenceable target,
AuthDesc auth,
String label)
Create an 'auth' message.
|
void |
RefTable.remove(Referenceable object)
Remove an object from the table, using the reference string it knows
for itself.
|
Modifier and Type | Method and Description |
---|---|
void |
JSONLiteralArray.addElement(Referenceable value)
Add a reference element to an incomplete array.
|
void |
JSONLiteral.addParameter(String param,
Referenceable value)
Add a reference parameter to an incomplete literal.
|
void |
JSONLiteral.addParameterOpt(String param,
Referenceable value)
Add an optional reference parameter to an incomplete literal.
|
void |
JSONLiteral.addParameterRef(String param,
Referenceable value)
Add a dereferenceable reference parameter to an incomplete literal.
|
Constructor and Description |
---|
JSONLiteral(Referenceable target,
String verb)
Begin a new literal representing a JSON message.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InternalObject
Interface implemented by static objects that wish to have access to the
internal state of the server, and rather than being self-contained entities.
|
Modifier and Type | Class and Description |
---|---|
class |
AdminObject
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.
|
class |
BasicInternalObject
Utitlity base class for internal objects, providing a general implementation
of the InternalObject interface that should be suitable for most uses.
|
class |
BasicObject
Base class of the fundamental addressable objects in the Context Server:
context, user, and item.
|
class |
Context
A
Context is a place for interaction between connected users. |
class |
Item
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.
|
class |
User
A User represents a connection to someone entered into a context from a
client.
|
Modifier and Type | Method and Description |
---|---|
static JSONLiteral |
Msg.msgDelete(Referenceable target)
Create a 'delete' message.
|
static JSONLiteral |
Msg.msgError(Referenceable target,
String op,
String error)
Create an 'error' message.
|
static JSONLiteral |
Msg.msgMake(Referenceable target,
BasicObject obj)
Create a 'make' message with a default creator.
|
static JSONLiteral |
Msg.msgMake(Referenceable target,
BasicObject obj,
String sess)
Create a 'make' message with a default creator and explicit session
identifier.
|
static JSONLiteral |
Msg.msgMake(Referenceable target,
BasicObject obj,
User maker)
Create a 'make' message.
|
static JSONLiteral |
Msg.msgMake(Referenceable target,
BasicObject obj,
User maker,
boolean you,
String sess)
Create a 'make' message.
|
static JSONLiteral |
Msg.msgPush(Referenceable target,
Referenceable from,
String url,
String frame,
String features)
Create a 'push' message.
|
static JSONLiteral |
Msg.msgSay(Referenceable target,
Referenceable from,
String text)
Create a 'say' message.
|
void |
User.sendObjectDescription(Deliverer to,
Referenceable maker)
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.
|
void |
Item.sendObjectDescription(Deliverer to,
Referenceable maker)
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.
|
void |
Context.sendObjectDescription(Deliverer to,
Referenceable maker)
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.
|
abstract void |
BasicObject.sendObjectDescription(Deliverer to,
Referenceable maker)
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.
|
void |
User.sendUserDescription(Deliverer to,
Referenceable maker,
boolean you)
Transmit a description of this user as a series of 'make' messages.
|
Modifier and Type | Class and Description |
---|---|
class |
EchoClient
Internal object that acts as a client for the external 'echo' service.
|
class |
TestInternalObject |
Modifier and Type | Class and Description |
---|---|
class |
WorkerObject
Base class for all worker objects.
|
Modifier and Type | Class and Description |
---|---|
class |
BankWorker
Workshop worker object for the bank service.
|
Modifier and Type | Class and Description |
---|---|
class |
BankClient
Internal object that acts as a client for the external 'bank' service.
|
Modifier and Type | Class and Description |
---|---|
class |
EchoWorker |
Copyright © 2017. All rights reserved.