PacketSocket

ldbc.connector.net.PacketSocket
See thePacketSocket companion object
trait PacketSocket[F[_]]

A higher-level BitVectorSocket that speaks in terms of Packet.

Attributes

Companion
object
Source
PacketSocket.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def receive[P <: ResponsePacket](decoder: Decoder[P]): F[P]

Receive the next ResponsePacket, or raise an exception if EOF is reached before a complete message arrives.

Receive the next ResponsePacket, or raise an exception if EOF is reached before a complete message arrives.

Attributes

Source
PacketSocket.scala
def send(request: RequestPacket): F[Unit]

Send the specified request packet.

Send the specified request packet.

Attributes

Source
PacketSocket.scala