trace-forward-2.2.2: The forwarding protocols library for cardano node.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Trace.Forward.Run.TraceObject.Acceptor

Documentation

acceptTraceObjectsInit Source #

Arguments

:: (Serialise lo, ShowProxy lo, Typeable lo) 
=> AcceptorConfiguration lo

Acceptor's configuration.

-> (initiatorCtx -> [lo] -> IO ())

The handler for accepted TraceObjects.

-> (initiatorCtx -> IO ())

The handler for exceptions from runPeer.

-> RunMiniProtocol 'InitiatorMode initiatorCtx responderCtx ByteString IO () Void 

acceptTraceObjectsResp Source #

Arguments

:: (Serialise lo, ShowProxy lo, Typeable lo) 
=> AcceptorConfiguration lo

Acceptor's configuration.

-> (responderCtx -> [lo] -> IO ())

The handler for accepted TraceObjects.

-> (responderCtx -> IO ())

The handler for exceptions from runPeer.

-> RunMiniProtocol 'ResponderMode initiatorCtx responderCtx ByteString IO Void ()