Safe Haskell | None |
---|---|
Language | Haskell2010 |
Periodic.Server.Types
Documentation
Constructors
CC ClientCommand | |
WC WorkerCommand |
data ClientConfig Source #
type CSEnv = SessionEnv1 ClientConfig Command Source #
data ServerCommand #
Constructors
Noop | |
JobAssign Job | |
NoJob | |
Pong | |
Unknown | |
Success | |
Config Int | |
Acquired Bool | |
NoWorker | |
Data ByteString |
Instances
Show ServerCommand | |
Defined in Periodic.Types.ServerCommand Methods showsPrec :: Int -> ServerCommand -> ShowS # show :: ServerCommand -> String # showList :: [ServerCommand] -> ShowS # | |
Binary ServerCommand | |
Defined in Periodic.Types.ServerCommand | |
Validatable ServerCommand | |
Defined in Periodic.Types.ServerCommand Methods validate :: ServerCommand -> Either String () # |