Package | Description |
---|---|
org.elkoserver.foundation.actor |
Elko server classes representing entities with remote connections to a server.
|
org.elkoserver.foundation.net |
Classes for message communication over the TCP and HTTP for Elko.
|
org.elkoserver.foundation.server |
Core common server implementation classes for Elko.
|
org.elkoserver.server.context |
The Elko Context Server.
|
org.elkoserver.server.context.users |
A package of mods related to alternative mechanisms for user creation.
|
org.elkoserver.server.workshop |
The Elko Workshop Server.
|
Modifier and Type | Method and Description |
---|---|
void |
RoutingActor.processMessage(Connection connection,
Object receivedMessage)
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. |
void |
NonRoutingActor.processMessage(Connection connection,
Object rawMessage)
Process a received message by dispatching to this object directly using
the dispatcher that was provided in this actor's constructor.
|
Constructor and Description |
---|
Actor(Connection connection)
Construct a new Actor.
|
NonRoutingActor(Connection connection,
MessageDispatcher dispatcher)
Constructor.
|
RoutingActor(Connection connection,
RefTable refTable)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionBase
Base class providing common internals implementation for various types of
Connection objects.
|
class |
HTTPSessionConnection
An implementation of
Connection that virtualizes a continuous
message session out of a series of transient HTTP connections. |
class |
RTCPSessionConnection
An implementation of
Connection that virtualizes a continuous
message session out of a series of potentially transient TCP connections. |
class |
TCPConnection
An implementation of
Connection that manages a non-blocking TCP
connection to a single remote host. |
Modifier and Type | Method and Description |
---|---|
void |
NullMessageHandler.connectionDied(Connection connection,
Throwable reason)
Cope with connection death.
|
void |
MessageHandler.connectionDied(Connection connection,
Throwable reason)
Cope with connection death.
|
void |
NullMessageHandler.processMessage(Connection connection,
Object message)
Process an incoming message from a connection by complaining to the log
if we have configured to talk to the log.
|
void |
MessageHandler.processMessage(Connection connection,
Object message)
Process an incoming message from a connection.
|
MessageHandler |
MessageHandlerFactory.provideMessageHandler(Connection connection)
Provide a message handler for a new connection.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceActor.connectionDied(Connection connection,
Throwable reason)
Handle loss of connection from the actor.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalActor.connectionDied(Connection connection,
Throwable reason)
Handle loss of connection from the actor.
|
void |
UserFactory.provideUser(Contextor contextor,
Connection connection,
JSONObject param,
ArgRunnable handler)
Produce a user object.
|
User |
EphemeralUserFactory.provideUser(Contextor contextor,
Connection connection,
JSONObject param,
String contextRef,
String contextTemplate)
Synthesize a user object.
|
Modifier and Type | Method and Description |
---|---|
void |
DevicePersistentUserFactory.provideUser(Contextor contextor,
Connection connection,
JSONObject param,
ArgRunnable handler)
Produce a user object.
|
void |
DeviceEphemeralUserFactory.provideUser(Contextor contextor,
Connection connection,
JSONObject param,
ArgRunnable handler)
Synthesize an ephemeral user object based on user description info
fetched from the Device.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkshopActor.connectionDied(Connection connection,
Throwable reason)
Handle loss of connection from the actor.
|
Copyright © 2017. All rights reserved.