raketka-1.1.3: distributed-process node

Safe HaskellNone
LanguageHaskell2010

Control.Distributed.Raketka.Type.Message

Contents

Synopsis

Documentation

data Message content Source #

content type is implementation-specific

Constructors

Info Ping ProcessId

message sent when nodes join cluster

Message content

other messages

Instances
Show content => Show (Message content) Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Methods

showsPrec :: Int -> Message content -> ShowS #

show :: Message content -> String #

showList :: [Message content] -> ShowS #

Generic (Message content) Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Associated Types

type Rep (Message content) :: * -> * #

Methods

from :: Message content -> Rep (Message content) x #

to :: Rep (Message content) x -> Message content #

Binary content => Binary (Message content) Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Methods

put :: Message content -> Put #

get :: Get (Message content) #

putList :: [Message content] -> Put #

type Rep (Message content) Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

type Rep (Message content) = D1 (MetaData "Message" "Control.Distributed.Raketka.Type.Message" "raketka-1.1.3-FTgcrjCmp8LIcvpGcp7VsL" False) (C1 (MetaCons "Info" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Ping) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ProcessId)) :+: C1 (MetaCons "Message" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 content)))

data Ping Source #

Constructors

Ping 
Pong 
Instances
Eq Ping Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Methods

(==) :: Ping -> Ping -> Bool #

(/=) :: Ping -> Ping -> Bool #

Show Ping Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Methods

showsPrec :: Int -> Ping -> ShowS #

show :: Ping -> String #

showList :: [Ping] -> ShowS #

Generic Ping Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Associated Types

type Rep Ping :: * -> * #

Methods

from :: Ping -> Rep Ping x #

to :: Rep Ping x -> Ping #

Binary Ping Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

Methods

put :: Ping -> Put #

get :: Get Ping #

putList :: [Ping] -> Put #

type Rep Ping Source # 
Instance details

Defined in Control.Distributed.Raketka.Type.Message

type Rep Ping = D1 (MetaData "Ping" "Control.Distributed.Raketka.Type.Message" "raketka-1.1.3-FTgcrjCmp8LIcvpGcp7VsL" False) (C1 (MetaCons "Ping" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Pong" PrefixI False) (U1 :: * -> *))

Orphan instances

PrintfArg ProcessId Source # 
Instance details

Methods

formatArg :: ProcessId -> FieldFormatter #

parseFormat :: ProcessId -> ModifierParser #