Safe Haskell | None |
---|---|
Language | Haskell2010 |
Periodic.Types.ServerCommand
Documentation
data ServerCommand Source #
Constructors
Noop | |
JobAssign Job | |
NoJob | |
Pong | |
Unknown | |
Success | |
Config Int | |
Acquired Bool | |
NoWorker | |
Data ByteString |
Instances
Show ServerCommand Source # | |
Defined in Periodic.Types.ServerCommand Methods showsPrec :: Int -> ServerCommand -> ShowS # show :: ServerCommand -> String # showList :: [ServerCommand] -> ShowS # | |
Binary ServerCommand Source # | |
Defined in Periodic.Types.ServerCommand | |
Validatable ServerCommand Source # | |
Defined in Periodic.Types.ServerCommand |
isSuccess :: ServerCommand -> Bool Source #
isPong :: ServerCommand -> Bool Source #