HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduledbus-1.4.3Haskell2010

DBus.Transport

Support for defining custom transport mechanisms. Most users will not need to care about the types defined in this module.

  • 2 types
  • 3 classes
  • 5 values
  • Packagedbus-1.4.3
  • Exports10
  • LanguageHaskell2010
  • LicenceApache-2.0
  • SourceTransport.hs

Transports

3 declarations
classclass Transport t where
#

A Transport can exchange bytes with a remote peer.

Associated types

  • data family TransportOptions t

    Additional options that this transport type may use when establishing a connection.

Methods

Instances2Transport
classclass Transport t => TransportListen t where
#

A Transport which can listen for and accept connections from remote peers.

Associated types

Methods

Instances1TransportListen

Transport errors

4 declarations

Socket transport

3 declarations
datadata SocketTransport
#

Supports connecting over Unix or TCP sockets.

Unix sockets are similar to pipes, but exist as special files in the filesystem. On Linux, abstract sockets have a path-like address, but do not actually have entries in the filesystem.

TCP sockets may use either IPv4 or IPv6.

Instances5TransportOpen, Transport, TransportListen, TransportOptions, TransportListener