class Message
(source)
Hobbits message.
<init> |
Hobbits message. Message(version: Int = 3, protocol: Protocol, headers: Bytes, body: Bytes) |
body |
val body: Bytes |
headers |
val headers: Bytes |
protocol |
val protocol: Protocol |
version |
val version: Int |
size |
Provides the size of the message fun size(): Int |
toBytes |
Writes a message into bytes. fun toBytes(): Bytes |
toString |
fun toString(): String |
readMessage |
Reads a message from a byte buffer. fun readMessage(message: Bytes): Message? |