Modifier and Type | Interface and Description |
---|---|
interface |
Actor
A BAM Actor sends and receives messages as the core class in a
service-oriented architecture.
|
interface |
ManagedActor
A BAM Actor sends and receives messages as the core class in a
service-oriented architecture.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractActor
Abstract implementation of a BAM actor.
|
class |
SimpleActor
Base class for implementing an Agent.
|
class |
SkeletonActorFilter<T>
Base ActorStream implementation using introspection and
@Message annotations to simplify
Actor development. |
Modifier and Type | Method and Description |
---|---|
MessageStream |
ActorProxy.getActorStream()
Returns the stream to this client.
|
MessageStream |
ActorProxy.getClientStream()
Returns the registered callback
MessageStream . |
MessageStream |
ActorProxy.getLinkStream()
The ActorStream to the link.
|
MessageStream |
Agent.getMailbox()
The stream to send messages to the actor.
|
Modifier and Type | Method and Description |
---|---|
void |
BamSkeleton.message(S actor,
MessageStream fallback,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload)
Dispatches a message to the actorStream.
|
void |
BamSkeleton.messageError(S actor,
MessageStream fallback,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload,
BamError error) |
void |
BamSkeleton.query(S actor,
MessageStream fallback,
Broker broker,
long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload) |
void |
BamSkeleton.queryError(S actor,
MessageStream fallback,
long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload,
BamError error) |
void |
BamSkeleton.queryResult(S actor,
MessageStream fallback,
long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload) |
void |
ActorProxy.setClientStream(MessageStream clientStream)
Registers a callback
MessageStream with the client |
void |
ActorProxy.setLinkStream(MessageStream linkStream)
Sets the ActorStream to the link.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Broker
Broker is the hub which routes messages to mailboxes.
|
interface |
LinkBroker
Client/Server Broker from the perspective of the client, i.e.
|
interface |
ManagedBroker
Broker is the hub which routes messages to mailboxes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBroker
Broker is the hub which routes messages to actors.
|
class |
AbstractBrokerStream
The abstract implementation of an
MessageStream
returns query errors for RPC packets, and ignores unknown packets
for messages and presence announcement. |
class |
AbstractLinkBroker
Broker is the hub which routes messages to actors.
|
class |
AbstractManagedBroker
Broker is the hub which routes messages to actors.
|
class |
HashMapBroker
The abstract implementation of an
MessageStream
returns query errors for RPC packets, and ignores unknown packets
for messages and presence announcement. |
class |
ManagedBrokerAdapter
Broker is the hub which routes messages to actors.
|
class |
PassthroughBroker
Broker is the hub which routes messages to actors.
|
Modifier and Type | Method and Description |
---|---|
protected MessageStream |
AbstractBrokerStream.getQueryErrorStream(java.lang.String from) |
Modifier and Type | Method and Description |
---|---|
Agent |
ManagedBroker.createAgent(MessageStream actorStream)
Creates an agent
|
Agent |
AbstractManagedBroker.createAgent(MessageStream actorStream)
Creates an agent
|
Agent |
ManagedBroker.createAgent(MessageStream actorStream,
MailboxType mailboxType)
Creates an agent
|
Agent |
AbstractManagedBroker.createAgent(MessageStream actorStream,
MailboxType mailboxType)
Creates an agent
|
protected Mailbox |
AbstractManagedBroker.createMailbox(MessageStream actorStream,
MailboxType mailboxType) |
protected Mailbox |
AbstractManagedBroker.createMailbox(java.lang.String address,
MessageStream actorStream,
MailboxType mailboxType) |
void |
HashMapBroker.removeMailbox(MessageStream actor)
Removes an actor from the broker.
|
Modifier and Type | Class and Description |
---|---|
class |
OutboundMessageStream
HMTP client protocol
|
Modifier and Type | Method and Description |
---|---|
MessageStream |
LinkConnection.getOutboundStream() |
Modifier and Type | Method and Description |
---|---|
protected Mailbox |
LinkClient.createInboundMailbox(MessageStream inboundStream,
Broker outboundBroker) |
protected Mailbox |
LinkClient.createOutboundMailbox(MessageStream outboundStream,
Broker inboundBroker) |
Modifier and Type | Interface and Description |
---|---|
interface |
Mailbox
Mailbox for an actor
|
Modifier and Type | Class and Description |
---|---|
class |
ActorMailbox
mailbox for BAM messages waiting to be sent to the Actor.
|
class |
DualSizeMailbox
Mailbox which filters large messages to a separate queue, so large messages
don't block small messages.
|
class |
MultiworkerMailbox
mailbox for BAM messages waiting to be sent to the Actor.
|
class |
PassthroughMailbox
mailbox for BAM messages waiting to be sent to the Actor.
|
Modifier and Type | Method and Description |
---|---|
MessageStream |
PassthroughMailbox.getActorStream() |
MessageStream |
DualSizeMailbox.getActorStream() |
MessageStream |
Mailbox.getActorStream()
Returns the actor stream for the actor itself.
|
MessageStream |
MultiworkerMailbox.getActorStream() |
Constructor and Description |
---|
ActorMailbox(MessageStream actorStream,
Broker broker) |
ActorMailbox(java.lang.String address,
MessageStream actorStream,
Broker broker) |
MultiworkerMailbox(MessageStream actorStream,
Broker broker,
int threadMax) |
MultiworkerMailbox(java.lang.String address,
MessageStream actorStream,
Broker broker,
int threadMax) |
PassthroughMailbox(java.lang.String address,
MessageStream actorStream,
Broker broker) |
Modifier and Type | Method and Description |
---|---|
Agent |
SimpleBamManager.createAgent(MessageStream actorStream)
Creates an agent
|
Agent |
BamManager.createAgent(MessageStream actorStream)
Creates an agent
|
Agent |
SimpleBamManager.createAgent(MessageStream actorStream,
MailboxType mailboxType)
Creates an agent
|
Agent |
BamManager.createAgent(MessageStream actorStream,
MailboxType mailboxType)
Creates an agent
|
protected Mailbox |
SimpleBamManager.createMailbox(MessageStream actorStream,
MailboxType mailboxType) |
protected Mailbox |
SimpleBamManager.createMailbox(java.lang.String address,
MessageStream actorStream,
MailboxType mailboxType) |
Modifier and Type | Method and Description |
---|---|
void |
Message.dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
void |
QueryError.dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
void |
QueryResult.dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
void |
Packet.dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
void |
MessageError.dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
void |
Query.dispatch(MessageStream handler,
MessageStream toSource)
SPI method to dispatch the packet to the proper handler
|
void |
Packet.dispatchError(MessageStream handler,
MessageStream toSource,
BamError error)
SPI method to dispatch the packet to the proper handler
|
void |
Query.dispatchError(MessageStream handler,
MessageStream toSource,
BamError error)
SPI method to dispatch the packet to the proper handler
|
Modifier and Type | Class and Description |
---|---|
class |
ProxyActor<T>
The Skeleton introspects and dispatches messages for a
SimpleActor
or SkeletonActorFilter . |
Modifier and Type | Method and Description |
---|---|
void |
ProxySkeleton.message(S actor,
MessageStream fallback,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload)
Dispatches a message to the actorStream.
|
void |
ProxySkeleton.messageError(S actor,
MessageStream fallback,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload,
BamError error) |
void |
ProxySkeleton.query(S actor,
MessageStream fallback,
Broker broker,
long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload) |
void |
ProxySkeleton.queryError(S actor,
MessageStream fallback,
long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload,
BamError error) |
void |
ProxySkeleton.queryResult(S actor,
MessageStream fallback,
long id,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload) |
Modifier and Type | Class and Description |
---|---|
class |
QueryActorFilter
An ActorStream filter that intercepts query results and passes them to
the QueryManager to be matched with pending queries.
|
class |
QueryMessageStreamFilter
An ActorStream filter that intercepts query results and passes them to
the QueryManager to be matched with pending queries.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
QueryManager.query(MessageStream stream,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload,
long timeout)
Queries through to a stream.
|
void |
QueryManager.query(MessageStream stream,
java.lang.String to,
java.lang.String from,
java.io.Serializable payload,
QueryCallback cb,
long timeout)
Queries through to a stream.
|
Constructor and Description |
---|
QueryMessageStreamFilter(MessageStream next,
QueryManager queryManager) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageStream
The abstract implementation of an
MessageStream
returns query errors for RPC packets, and ignores unknown packets
for messages and presence announcement. |
class |
AbstractMessageStreamFilter
Abstract implementation of a BAM filter.
|
class |
FallbackMessageStream
Base ActorStream implementation using introspection and
@Message annotations to simplify
Actor development. |
class |
NullActor
NullActorStream always ignores messages and returns errors for RPC calls.
|
class |
NullMessageStream
NullActorStream always ignores messages and returns errors for RPC calls.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MessageStream |
AbstractMessageStreamFilter.getNext() |
Constructor and Description |
---|
FallbackMessageStream(MessageStream actorStream) |
Modifier and Type | Class and Description |
---|---|
class |
WatchdogChildActor
Service for handling the distributed cache
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCloudActor
Abstract actor for handling messages in the cloud.
|
class |
ClusterRouteActor
Abstract actor for handling cluster routing.
|
class |
GlobalTriadFirstRouter
Routes a message to all pods in the system,
|
class |
HmuxQueue
Queue of hmtp packets
|
class |
TriadAllRouter
Routes a message to all members of a triad.
|
class |
TriadFirstRouter
Routes a message to all members of a triad.
|
Modifier and Type | Method and Description |
---|---|
MessageStream |
HmuxQueue.getConnErrorStream() |
Modifier and Type | Class and Description |
---|---|
class |
LicenseActor
Service for handling the cache messages
|
Modifier and Type | Class and Description |
---|---|
class |
NetworkAddressActor
Service for handling the cache messages
|
Modifier and Type | Class and Description |
---|---|
class |
HempBroker
Broker
|
Modifier and Type | Method and Description |
---|---|
MessageStream |
HempDomainManager.removeDomain(java.lang.String name) |
Modifier and Type | Class and Description |
---|---|
class |
BamJmsService
jms service
|
class |
BamLogService
log service
|
class |
BamMailService
mail service
|
Modifier and Type | Interface and Description |
---|---|
interface |
LinkActor
ServerLinkActor handles link messages, i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
ServerGatewayBroker
Handles the requests to the server from the link, dispatching requests to
the link service and the broker.
|
class |
ServerLinkActor
ServerLinkActor handles link messages, i.e.
|
class |
ServerProxyBroker
Handles the requests to the server from the link, dispatching requests to
the link service and the broker.
|
Modifier and Type | Method and Description |
---|---|
protected MessageStream |
ServerProxyBroker.getQueryErrorStream(java.lang.String from) |
Constructor and Description |
---|
ServerGatewayBroker(Broker broker,
ClientStubManager clientManager,
MessageStream linkActor) |
ServerProxyBroker(Broker broker,
ClientStubManager clientManager,
MessageStream linkActor) |
Modifier and Type | Class and Description |
---|---|
class |
HmtpWebSocketContextWriter
HmtpWriteStream writes HMTP packets to an OutputStream.
|
class |
HmtpWebSocketWriter
HmtpWriteStream writes HMTP packets to an OutputStream.
|
Modifier and Type | Method and Description |
---|---|
MessageStream |
HmtpLinkWorker.getActorStream()
Returns the current stream to the actor, throwing an exception if
it's unavailable
|
MessageStream |
HmtpLinkWorker.getLinkStream() |
Modifier and Type | Method and Description |
---|---|
boolean |
HmtpReader.readPacket(java.io.InputStream is,
MessageStream actorStream)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
boolean |
HmtpWebSocketReader.readPacket(MessageStream actorStream)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
Modifier and Type | Class and Description |
---|---|
class |
HmtpServlet
HmtpWriteStream writes HMTP packets to an OutputStream.
|
Modifier and Type | Method and Description |
---|---|
protected MessageStream |
HmtpServlet.getFallbackStream() |
Modifier and Type | Method and Description |
---|---|
protected com.caucho.hmtp.server.ClientLinkActor |
HmtpServlet.createClientLinkActor(java.lang.String uid,
MessageStream hmtpStream)
Creates and returns the actor for the client link
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterQueueActor
Implements a cluster send queue.
|
class |
ClusterQueueTriadActor
Implements a cluster send queue.
|
Modifier and Type | Class and Description |
---|---|
class |
JsmpWebSocketWriter
JsmpWriteStream writes JSMP packets to an OutputStream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsmpReader.readPacket(MessageStream actorStream)
Reads the next HMTP packet from the stream, returning false on
end of file.
|
Modifier and Type | Class and Description |
---|---|
class |
BamPhpActor
BAM actor that calls into a PHP script to handle messages/queries.
|
class |
BamPhpRootService
BAM actor spawns a new BamPhpActor when requested.
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterStatService
Service for handling the distributed cache
|
class |
JMXService
Remote administration service for JMX
|
class |
ManagerActor |
Modifier and Type | Method and Description |
---|---|
MessageStream |
ServletService.getHmtpStream()
Returns any HMTP stream
|
Modifier and Type | Class and Description |
---|---|
class |
ResinActor
Actor communicating with the watchdog.
|