Sync

final case class Sync(id: Int) extends Message with AsyncSend

Represents a /sync message, which is queued with the asynchronous messages on the server, and which, when executed, triggers a corresponding /synced reply message (i.e. with the same id)

Represents a /sync message, which is queued with the asynchronous messages on the server, and which, when executed, triggers a corresponding /synced reply message (i.e. with the same id)

Value Params
id

an arbitrary identifier which can be used to match the corresponding reply message. typically the id is incremented by 1 for each /sync message sent out.

trait Serializable
trait Product
trait Equals
trait AsyncSend
trait Send
class Message
trait Packet
class Object
trait Matchable
class Any

Value members

Concrete methods

Inherited methods

def encode(c: PacketCodec, b: ByteBuffer): Unit
Inherited from
Message
def encodedSize(c: PacketCodec): Int
Inherited from
Message
override def equals(other: Any): Boolean
Definition Classes
Message -> Any
Inherited from
Message
override def hashCode(): Int
Definition Classes
Message -> Any
Inherited from
Message
final def isSynchronous: Boolean
Inherited from
AsyncSend
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override def toString: String
Definition Classes
Message -> Any
Inherited from
Message

Inherited fields

val args: Any*
Inherited from
Message
val name: String
Inherited from
Message