skunk.net

package skunk.net

Skunk network stack, starting with BitVectorSocket at the bottom and ending with Protocol at the top (Session delegates all its work to Protocol). Everything is non-blocking.

Attributes

Members list

Packages

Definitions of Postgres messages, with binary encoders and decoders.

Definitions of Postgres messages, with binary encoders and decoders. Doc for this package isn't very good yet, but the message formats are well documented at the linked pages below. It's a straightforward mapping.

It's probably useful to point out that Codec, Encoder, and Decoder in this package are from scodec. They're not the data types of the same name and same general design that are defined above in the skunk package. I realize this is confusing, but it shouldn't be a concern for anyone other than people working on the wire protocol, which never changes (heh-heh) so it shouldn't be a big deal.

Attributes

See also

Type members

Classlikes

abstract class AbstractMessageSocket[F[_]] extends MessageSocket[F]

Attributes

Source
AbstractMessageSocket.scala
Supertypes
trait MessageSocket[F]
class Object
trait Matchable
class Any
trait BitVectorSocket[F[_]]

A higher-level Socket interface defined in terms of BitVector.

A higher-level Socket interface defined in terms of BitVector.

Attributes

Companion
object
Source
BitVectorSocket.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
BitVectorSocket.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait BufferedMessageSocket[F[_]] extends MessageSocket[F]

A MessageSocket that buffers incoming messages, removing and handling asynchronous back-end messages.

A MessageSocket that buffers incoming messages, removing and handling asynchronous back-end messages. This splits the protocol into a [logically] synchronous message exchange plus a set of out-of-band broadcast channels that can be observed or ignored at the user's discretion.

Attributes

Companion
object
Source
BufferedMessageSocket.scala
Supertypes
trait MessageSocket[F]
class Object
trait Matchable
class Any

Attributes

Companion
trait
Source
BufferedMessageSocket.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait MessageSocket[F[_]]

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

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

Attributes

Companion
object
Source
MessageSocket.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MessageSocket

Attributes

Companion
trait
Source
MessageSocket.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Protocol[F[_]]

Interface for a Postgres database, expressed through high-level operations that rely on exchange of multiple messages.

Interface for a Postgres database, expressed through high-level operations that rely on exchange of multiple messages. Operations here can be executed concurrently and are non-cancelable. The structures returned here expose internals (safely) that are important for error reporting but are not generally useful for end users.

Attributes

Companion
object
Source
Protocol.scala
Supertypes
class Object
trait Matchable
class Any
object Protocol

Attributes

Companion
trait
Source
Protocol.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Protocol.type

Attributes

Source
SSLNegotiation.scala
Supertypes
class Object
trait Matchable
class Any
Self type