Parry-0.1.0.0: A proven synchronization server for high performance computing.

Copyright(c) Pierre-Étienne Meunier 2014
LicenseGPL-3
Maintainerpierre-etienne.meunier@lif.univ-mrs.fr
Stabilityexperimental
PortabilityAll
Safe HaskellNone
LanguageHaskell2010

Parry.Protocol

Description

This module contains all data types exchanged between the client and the server, except for the initial "Hello" message, and is mostly exposed for full disclosure of the protocol's proof.

Synopsis

Documentation

data ClientMessage j Source

The type of messages sent by the client, exposed here for full disclosure of the protocol's proof.

Constructors

GetJob Integer PublicKey 
JobDone 

Fields

clientId :: Integer
 
jobResults :: [j]
 
currentJob :: j
 
NewJobs 

Fields

clientId :: Integer
 
jobResults :: [j]
 
currentJob :: j
 
nextJob :: j
 
newJobs :: [j]
 
Alive Integer 

data ServerMessage j Source

The type of messages sent by the server, exposed here for full disclosure of the protocol's proof.

Constructors

Job Bool j 
Finished 
Ack 
Die