package 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.
- Source
- package.scala
- Alphabetic
- By Inheritance
- net
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package message
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
, andDecoder
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 theskunk
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. - package protocol
Type Members
- abstract class AbstractMessageSocket[F[_]] extends MessageSocket[F]
- trait BitVectorSocket[F[_]] extends AnyRef
A higher-level
Socket
interface defined in terms ofBitVector
. - 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. - trait MessageSocket[F[_]] extends AnyRef
A higher-level
BitVectorSocket
that speaks in terms ofMessage
. - trait Protocol[F[_]] extends AnyRef
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.
Value Members
- object BitVectorSocket
- object BufferedMessageSocket
- object MessageSocket
- object Protocol
- object SSLNegotiation