Message

cc.otavia.core.message.Message
sealed trait Message extends Serializable

The base type of all data exchanged between actors. Every value sent to or received from an actor must be a Message. The message hierarchy defines the communication patterns:

  1. Call — triggers stack coroutine execution in the receiving actor a. Notice — fire-and-forget, no reply expected b. Ask[R] — request-response, expects a Reply of type R
  2. Reply — the response to an Ask

Attributes

Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
trait Call
trait Ask[R]
class Bind
trait Connect
class HttpRequest[C, R]
trait Command[R]
class Auth
class Del
class Get
class HGetAll
class HSet
class Info
class Select
class Set
class ExecuteCursor[R]
trait PrepareQuery[T]
trait SimpleQuery[T]
trait Notice
class Args
class ArrayNotice[T]
class IntNotice
class SeqNotice[T]
class StringNotice
class ProbeStart
trait LogMsg
class Debug
class Error
class Fatal
class Info
class Trace
class Warn
class CursorEnd
class CursorRow[R]
trait Reply
trait UnitReply
trait TimeoutReply
class HttpResponse[C]
class OK
class BulkReply
class OK
trait RedisMap[K, V]
class Success
class Cursor
class ModifyRows
trait Row
class RowSet[R]
Show all
In this article