ouroboros-network-framework
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Network.ConnectionManager.InformationChannel

Synopsis

Documentation

data InformationChannel a (m :: Type -> Type) Source #

Information channel.

Constructors

InformationChannel 

Fields

type InboundGovernorInfoChannel (muxMode :: Mode) initiatorCtx peerAddr versionData bytes (m :: Type -> Type) a b = InformationChannel (NewConnectionInfo peerAddr (Handle muxMode initiatorCtx (ResponderContext peerAddr) versionData bytes m a b)) m Source #

A channel which instantiates to NewConnectionInfo and Handle.

  • Producer: connection manger for duplex outbound connections.
  • Consumer: inbound governor.

newInformationChannel :: forall a m. MonadLabelledSTM m => m (InformationChannel a m) Source #

Create a new InformationChannel backed by a TBQueue.