module Cardano.Shell.NodeIPC
(
Port(..)
, MsgIn(..)
, MsgOut(..)
, ReadHandle(..)
, WriteHandle(..)
, ProtocolDuration (..)
, startNodeJsIPC
, startIPC
, handleIPCProtocol
, clientIPCListener
, testStartNodeIPC
, ServerHandles (..)
, ClientHandles (..)
, closeFullDuplexAnonPipesHandles
, createFullDuplexAnonPipesHandles
, bracketFullDuplexAnonPipesHandles
, serverReadWrite
, NodeIPCError(..)
, MessageSendFailure(..)
, MessageException(..)
, sendMessage
, readMessage
, exampleWithFD
, exampleServerWithProcess
, getReadWriteHandles
, getHandleFromEnv
, isIPCError
, isHandleClosed
, isUnreadableHandle
, isUnwritableHandle
, isNodeChannelCannotBeFound
) where
import Cardano.Shell.NodeIPC.Lib (ClientHandles (..),
MessageSendFailure (..), MsgIn (..),
MsgOut (..), NodeIPCError (..),
Port (..), ProtocolDuration (..),
ServerHandles (..),
bracketFullDuplexAnonPipesHandles,
clientIPCListener,
closeFullDuplexAnonPipesHandles,
createFullDuplexAnonPipesHandles,
getHandleFromEnv, handleIPCProtocol,
isHandleClosed, isIPCError,
isNodeChannelCannotBeFound,
isUnreadableHandle,
isUnwritableHandle, serverReadWrite,
startIPC, startNodeJsIPC,
testStartNodeIPC)
import Cardano.Shell.NodeIPC.Message (MessageException (..),
ReadHandle (..),
WriteHandle (..), readMessage,
sendMessage)
import Cardano.Shell.NodeIPC.ServerExample (exampleServerWithProcess,
exampleWithFD,
getReadWriteHandles)