|
| Holumbus.Distribution.Messages | | Portability | portable | | Stability | experimental | | Maintainer | Stefan Schmidt (stefanschmidt@web.de) |
|
|
|
|
|
| Description |
| Version : 0.1
|
|
| Synopsis |
|
|
|
|
| Datatypes
|
|
|
|
| Messages to and from the Master
|
|
| data MasterRequestMessage | Source |
|
| Constructors | | MReqTaskCompleted TaskData | | | MReqTaskError TaskData | | | MReqStartControlling | | | MReqStopControlling | | | MReqIsControlling | | | MReqSingleStep | | | MReqPerformJob JobInfo | | | MReqUnknown | |
| Instances | |
|
|
| data MasterResponseMessage | Source |
|
| Constructors | | Instances | |
|
|
| Messages to and from the Worker
|
|
| data WorkerRequestMessage | Source |
|
| Constructors | | WReqStartTask TaskData | | | WReqStopTask TaskId | | | WReqStopAllTasks | | | WReqGetActionNames | | | WReqUnknown | |
| Instances | |
|
|
| data WorkerResponseMessage | Source |
|
| Constructors | | Instances | |
|
|
| request an response handling
|
|
|
| :: (Show a, Binary a, Show b, Binary b, RspMsg b) | | | => Port a | request port
| | -> Stream b | response Stream
| | -> Int | timeout for the response in mikroseconds (1000000 = 1 sec) (0 = wait for ever)
| | -> a | request message
| | -> b -> IO (Maybe c) | response handler
| | -> IO c | | | Sends a request to the server (stream) and handles the response and all
error cases. Very helpful when simulating a request response scheme
with the mailboxes.
|
|
|
| Produced by Haddock version 2.6.1 |