Package | Description |
---|---|
org.elkoserver.server.context |
The Elko Context Server.
|
org.elkoserver.server.context.caps |
A package of mods related to using capability security patterns in Elko
Context Server applications.
|
Modifier and Type | Class and Description |
---|---|
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 |
---|---|
BasicObject |
Item.container()
Obtain this item's container.
|
BasicObject |
BasicObject.container()
Get this objects's container.
|
BasicObject |
Context.get(String ref)
Look up an object in this context's namespace.
|
protected BasicObject |
Mod.holder()
Obtain the user or context holding the object to which this mod is
attached, regardless of how deeply nested in containers it might be.
|
BasicObject |
Item.holder()
Obtain the user or context holding this object, regardless of how deeply
nested in containers it might be.
|
BasicObject |
BasicObject.holder()
Obtain the user or context holding this object, regardless of how deeply
nested in containers it might be.
|
BasicObject |
Mod.object()
Obtain the object to which this mod is attached.
|
Modifier and Type | Method and Description |
---|---|
void |
Mod.attachTo(BasicObject object)
Attach this mod to an object.
|
void |
Contextor.createObjectRecord(String ref,
String contRef,
BasicObject obj)
Create a new (offline) object and store its description in the object
database.
|
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.
|
void |
BasicObject.noteCodependent(BasicObject obj)
Note another object that needs to be checkpointed when this object is
checkpointed (in order to maintain data consistency).
|
void |
ContainerWatcher.noteContainerChange(BasicObject oldContainer,
BasicObject newContainer)
Do whatever you want when the item's container changes.
|
void |
Item.setContainer(BasicObject container)
Set or change this item's container.
|
static void |
GeoPosition.setPosition(BasicObject obj,
double lat,
double lon)
Generate a new geo-position and assign it to an object.
|
Modifier and Type | Method and Description |
---|---|
static Deliverer |
Context.toList(List<BasicObject> toList)
Obtain a Deliverer that will deliver to an arbitrary list of users.
|
static Deliverer |
Context.toListExcluding(List<BasicObject> toList,
Deliverer exclude)
Obtain a Deliverer that will deliver to an arbitrary list of users
except for one distinguished user.
|
Modifier and Type | Method and Description |
---|---|
void |
Definer.define(User from,
OptString into,
OptString ref,
BasicObject obj)
Message handler for a 'define' message.
|
Copyright © 2017. All rights reserved.