Safe Haskell | Safe-Infered |
---|
SSH.Channel
Documentation
type Channel = StateT ChannelState IOSource
data ChannelState Source
Constructors
ChannelState | |
Fields
|
data ChannelMessage Source
Constructors
Request Bool ChannelRequest | |
Data ByteString | |
EOF | |
Interrupt |
Instances
data ChannelConfig Source
Constructors
ChannelConfig | |
Fields
|
data ChannelRequest Source
Constructors
Instances
newChannel :: ChannelConfig -> (SenderMessage -> IO ()) -> Word32 -> Word32 -> Word32 -> Word32 -> String -> IO (Chan ChannelMessage)Source
channelError :: String -> Channel ()Source
channelMessage :: String -> Channel ()Source
spawnProcess :: IO (Handle, Handle, Handle, ProcessHandle) -> Channel ()Source