Serialization

sbt.protocol.Serialization
object Serialization

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def detectType(json: JValue): Option[String]
def serializeEventMessage(event: EventMessage): Array[Byte]

Deprecated methods

def deserializeCommand(bytes: Seq[Byte]): Either[String, CommandMessage]

Attributes

Returns

A command or an invalid input description

Deprecated
[Since version 1.4.0]
def deserializeEvent(bytes: Seq[Byte]): Either[String, Any]

Attributes

Returns

A command or an invalid input description

Deprecated
[Since version 1.4.0]
def deserializeEventMessage(bytes: Seq[Byte]): Either[String, EventMessage]

Attributes

Returns

A command or an invalid input description

Deprecated
[Since version 1.4.0]
def serializeCommand(command: CommandMessage): Array[Byte]

Attributes

Deprecated
[Since version 1.4.0]
def serializeEvent[A : JsonFormat](event: A): Array[Byte]

Attributes

Deprecated
[Since version 1.4.0]

Concrete fields

val CancelAll: String
val attach: String
val attachResponse: String
val cancelReadSystemIn: String
val cancelRequest: String
val getTerminalAttributes: String
val promptChannel: String
val readSystemIn: String
val setTerminalAttributes: String
val systemErr: String
val systemErrFlush: String
val systemIn: String
val systemOut: String
val systemOutFlush: String
val terminalCapabilities: String
val terminalGetSize: String
val terminalSetEcho: String
val terminalSetRawMode: String
val terminalSetSize: String