ouroboros-network-framework-0.1.0.1
Safe Haskell None
Language Haskell2010

Ouroboros.Network.ConnectionId

Synopsis

Documentation

data ConnectionId addr Source #

Connection is identified by local and remote address.

TODO: the type variable which this data type fills in is called peerid . We should renamed to connectionId .

Constructors

ConnectionId

Fields

Instances

Instances details
Eq addr => Eq ( ConnectionId addr) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

Ord addr => Ord ( ConnectionId addr) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

Show addr => Show ( ConnectionId addr) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

Generic ( ConnectionId addr) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

Associated Types

type Rep ( ConnectionId addr) :: Type -> Type Source #

Hashable a => Hashable ( ConnectionId a) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

Typeable addr => NoThunks ( ConnectionId addr) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

type Rep ( ConnectionId addr) Source #
Instance details

Defined in Ouroboros.Network.ConnectionId

type Rep ( ConnectionId addr) = D1 (' MetaData "ConnectionId" "Ouroboros.Network.ConnectionId" "ouroboros-network-framework-0.1.0.1-8Cos8Lgj9CwATl9eblNk02" ' False ) ( C1 (' MetaCons "ConnectionId" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "localAddress") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 addr) :*: S1 (' MetaSel (' Just "remoteAddress") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 addr)))