FrameTranscoder

io.quartz.websocket.FrameTranscoder
class FrameTranscoder(val isClient: Boolean)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bufferToFrame(in: ByteBuffer): WebSocketFrame

Method that decodes ByteBuffers to objects. None reflects not enough data to decode a message Any unused data in the ByteBuffer will be recycled and available for the next read

Method that decodes ByteBuffers to objects. None reflects not enough data to decode a message Any unused data in the ByteBuffer will be recycled and available for the next read

Value parameters

in

ByteBuffer of immediately available data

Attributes

Returns

optional message if enough data was available

def frameToBuffer(in: WebSocketFrame): Array[ByteBuffer]

Concrete fields

val isClient: Boolean