HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Contents
  1. Transports
  2. Transport errors
  3. Socket transport
Synopsis
  • Packagedbus-1.4.3
  • Exports10
  • LanguageHaskell2010
  • LicenceApache-2.0
  • SourceTransport.hs

Transports

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

Socket transport

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