hinterface-1.0.0: Haskell / Erlang interoperability library

Safe HaskellNone
LanguageHaskell2010

Foreign.Erlang.NodeState

Documentation

data NodeState p n mb c Source #

Instances
Show (NodeState p n mb c) Source # 
Instance details

Defined in Foreign.Erlang.NodeState

Methods

showsPrec :: Int -> NodeState p n mb c -> ShowS #

show :: NodeState p n mb c -> String #

showList :: [NodeState p n mb c] -> ShowS #

logNodeState :: (Show n, MonadIO m, MonadLogger m) => NodeState p n mb c -> m () Source #

putMailboxForPid :: Ord p => NodeState p n mb c -> p -> mb -> IO () Source #

getMailboxForPid :: Ord p => NodeState p n mb c -> p -> IO (Maybe mb) Source #

putMailboxForName :: Ord n => NodeState p n mb c -> n -> mb -> IO () Source #

getMailboxForName :: Ord n => NodeState p n mb c -> n -> IO (Maybe mb) Source #

putConnectionForNode :: Ord n => NodeState p n mb c -> n -> c -> IO () Source #

getConnectionForNode :: (MonadIO m, Ord n) => NodeState p n mb c -> n -> m (Maybe c) Source #

removeConnectionForNode :: Ord n => NodeState p n mb c -> n -> IO () Source #

getConnectedNodes :: NodeState p n mb c -> IO [(n, c)] Source #