AbstractMessageSocket

skunk.net.AbstractMessageSocket
abstract class AbstractMessageSocket[F[_]] extends MessageSocket[F]

Attributes

Source:
AbstractMessageSocket.scala
Graph
Supertypes
trait MessageSocket[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def expect[B](f: PartialFunction[BackendMessage, B])(implicit or: Origin): F[B]

Attributes

Definition Classes
Source:
AbstractMessageSocket.scala
override def flatExpect[B](f: PartialFunction[BackendMessage, F[B]])(implicit or: Origin): F[B]

Attributes

Definition Classes
Source:
AbstractMessageSocket.scala

Inherited methods

def history(max: Int): F[List[Either[Any, Any]]]

Destructively read the last n messages from the circular buffer.

Destructively read the last n messages from the circular buffer.

Attributes

Inherited from:
MessageSocket
Source:
MessageSocket.scala

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

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

Attributes

Inherited from:
MessageSocket
Source:
MessageSocket.scala
def send(message: FrontendMessage): F[Unit]

Send the specified message.

Send the specified message.

Attributes

Inherited from:
MessageSocket
Source:
MessageSocket.scala