Package | Description |
---|---|
org.elkoserver.foundation.actor |
Elko server classes representing entities with remote connections to a server.
|
org.elkoserver.foundation.json |
JSON message handling infrastructure inside Elko servers.
|
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.
|
org.elkoserver.server.context.mods |
A package of generally useful mods and related objects.
|
org.elkoserver.server.context.test | |
org.elkoserver.server.gatekeeper |
The Elko Gatekeeper.
|
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.test |
Modifier and Type | Method and Description |
---|---|
void |
RefTable.dispatchMessage(Deliverer from,
DispatchTarget target,
JSONObject message)
Dispatch a JSON message directly to the appropriate method of a given
object.
|
void |
RefTable.dispatchMessage(Deliverer from,
JSONObject message)
Dispatch a JSON message to the appropriate method on the object that the
message says it is addressed to.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageDispatcher.dispatchMessage(Deliverer from,
DispatchTarget target,
JSONObject message)
Dispatch a received JSON message by invoking the appropriate JSON method
on the appropriate object with the parameters from the message.
|
void |
DefaultDispatchTarget.handleMessage(Deliverer from,
JSONObject message)
Handle a message for which the
MessageDispatcher could not
find an appropriate specific method to invoke. |
Modifier and Type | Method and Description |
---|---|
void |
Item.delete(User from)
Message handler for the 'delete' message.
|
void |
InternalActor.ensureAuthorized()
Guard function to guarantee that an operation is being attempted by an
actor who is authorized to do it.
|
protected void |
Mod.ensureHolding(User who)
Guard function to guarantee that an operation being attempted by a user
is being applied to an object that that user is holding.
|
protected void |
Mod.ensureInContext(User who)
Guard function to guarantee that an operation being attempted by a user
on an object that is contained by the user's context.
|
protected void |
Mod.ensureReachable(User who)
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).
|
protected void |
Mod.ensureSameContext(User who)
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.
|
protected void |
Mod.ensureSameUser(User who)
Guard function to guarantee that an operation being attempted by a user
is being applied to that same user.
|
void |
Context.exit(Deliverer from)
Handle the 'exit' verb.
|
void |
BasicObject.handleMessage(Deliverer from,
JSONObject msg)
Handle an otherwise unhandled message.
|
Modifier and Type | Method and Description |
---|---|
void |
Definer.define(User from,
OptString into,
OptString ref,
BasicObject obj)
Message handler for a 'define' message.
|
void |
Cap.delete(User from)
Handle a 'delete' message.
|
void |
Cap.ensureValid(User from)
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.
|
void |
Cap.setlabel(User from,
String label)
Handle a 'setlabel' message.
|
void |
Cap.spawn(User from,
OptString dest,
OptBoolean transferrable,
OptBoolean deleteable,
OptInteger duration,
OptInteger expiration)
Handle a 'spawn' message.
|
void |
Cap.transfer(User from,
String destRef)
Handle a 'transfer' message.
|
Modifier and Type | Method and Description |
---|---|
void |
Census.census(User from)
Message handler for the 'census' message.
|
void |
Dictionary.delvar(User from,
String[] names)
Message handler for the 'delvar' message.
|
void |
Note.edit(User from,
OptString text,
StyleDesc style)
Message handler for the 'edit' message.
|
void |
NoteMaker.makenote(User from,
OptString into,
int left,
int top,
int width,
int height,
String text,
StyleDesc style)
Message handler for the 'makenote' message.
|
void |
Cartesian.move(User from,
OptString into,
int left,
int top)
Message handler for the 'move' message.
|
void |
PrivateChat.push(User from,
String url,
OptString frame,
OptString features)
Message handler for the 'push' message.
|
void |
Chat.push(User from,
String url,
OptString frame,
OptString features)
Message handler for the 'push' message.
|
void |
PrivateChat.say(User from,
String text)
Message handler for the 'say' message.
|
void |
Chat.say(User from,
String text)
Message handler for the 'say' message.
|
void |
Dictionary.setvar(User from,
String[] names,
String[] values)
Message handle for the 'setvar' message.
|
void |
TalkPrefs.style(User from,
OptString color,
OptString backgroundColor,
OptString icon,
OptString textStyle)
Message handler for the 'style' message.
|
Modifier and Type | Method and Description |
---|---|
void |
TestInternalObject.boom(InternalActor from,
String arg) |
void |
EchoClient.echo(ServiceActor from,
String text)
Handler for the 'echo' message, which is a reply to earlier an echo
requests sent to the external service.
|
void |
EchoMod.echo(User from,
String text)
Message handler for the 'echo' message.
|
void |
GateController.gate(User from,
boolean open,
OptString optReason)
Message handler for the 'gate' message.
|
void |
Counter.inc(User from)
Message handler for the 'inc' message.
|
void |
ZMQSendTester.log(User from,
String str)
Handle the 'log' verb.
|
void |
Die.roll(User from)
Message handler for the 'roll' message.
|
void |
EchoMod.status(User from)
Message handler for the 'status' message.
|
void |
TestInternalObject.superboom(InternalActor from,
String arg) |
Modifier and Type | Method and Description |
---|---|
void |
Gatekeeper.ensureAuthorizedAdmin(BasicProtocolActor from)
Guard function to guarantee that an operation is being attempted by an
actor who is authorized to do admin operations.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkshopActor.ensureAuthorizedAdmin()
Guard function to guarantee that an operation is being attempted by an
actor who is authorized to do admin operations.
|
void |
WorkshopActor.ensureAuthorizedClient()
Guard function to guarantee that an operation is being attempted by an
actor who is authorized to do workshop client operations.
|
Modifier and Type | Method and Description |
---|---|
void |
BankWorker.cancelkey(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String cancel)
Message handler for the 'cancelkey' request: invalidate an existing key.
|
void |
BankWorker.deleteaccount(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String account)
Message handler for the 'deleteaccount' request: destroy an account.
|
void |
BankWorker.dupkey(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
OptString optExpires)
Message handler for the 'dupkey' request: make a separately cancellable
copy of an existing key.
|
void |
BankWorker.encumber(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String src,
int amount,
String expiresStr)
Message handler for the 'encumber' request: reserve money in an account
for a future transaction.
|
void |
BankWorker.freezeaccount(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String account)
Message handler for the 'freezeaccount' request: block an account from
participating in transactions.
|
void |
BankWorker.issuerootkey(WorkshopActor from,
OptString xid,
OptString rep,
OptString memo)
Message handler for the 'issuerootkey' request: obtain the bank's root
key for the first time.
|
void |
BankWorker.makeaccounts(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String[] currs,
String owner)
Message handler for the 'makeaccounts' request: create new accounts.
|
void |
BankWorker.makecurrency(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String curr)
Message handler for the 'makecurrency' request: create a new currency.
|
void |
BankWorker.makekey(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String auth,
String[] currs,
OptString optExpires)
Message handler for the 'makekey' request: create a new key.
|
void |
BankWorker.mint(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String dst,
int amount)
Message handler for the 'mint' request: create money and deposit it in
an account.
|
void |
BankWorker.queryaccounts(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String[] accounts,
OptBoolean encs)
Message handler for the 'queryaccounts' request: obtain information
about one or more accounts.
|
void |
BankWorker.querycurrencies(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo)
Message handler for the 'querycurrencies' request: obtain information
about existing currencies.
|
void |
BankWorker.queryenc(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String encRef)
Message handler for the 'queryenc' request: obtain information about an
encumbrance.
|
void |
BankWorker.releaseenc(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String encRef)
Message handler for the 'releaseenc' request: release an encumbrance on
an account, making the funds once again available to the account owner.
|
void |
BankWorker.unfreezeaccount(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String account)
Message handler for the 'unfreezeaccount' request: remove the blockage
on a previously frozen account.
|
void |
BankWorker.unmint(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String src,
int amount)
Message handler for the 'unmint' request: remove money from an account
and then destroy it.
|
void |
BankWorker.unmintenc(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String encRef)
Message handler for the 'unmint' request: redeem an encumbrance by
destroying the encumbered funds
|
void |
BankWorker.xfer(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String src,
String dst,
int amount)
Message handler for the 'xfer' request: transfer money from one account
to another.
|
void |
BankWorker.xferenc(WorkshopActor from,
String key,
OptString xid,
OptString rep,
OptString memo,
String dst,
String encRef)
Message handler for the 'xferenc' request: redeem an encumbrance by
transferring the encumbered funds to some other account
|
Modifier and Type | Method and Description |
---|---|
void |
EchoWorker.echo(WorkshopActor from,
OptString rep,
OptString text) |
Copyright © 2017. All rights reserved.