rpc-framework-0.1.0.0: a remote procedure call framework

Safe HaskellNone

Network.Remote.RPC.Internal.MultiServer

Documentation

newtype AIO m a Source

Constructors

AIO (ReaderT (State m) m a) 

Instances

MonadTrans AIO 
Monad m => Monad (AIO m) 
Functor m => Functor (AIO m) 
MonadIO m => MonadIO (AIO m) 
Forkable m => Forkable (AIO m) 
Servable m => Servable (AIO m) 
Monad m => MonadReader (State m) (AIO m) 

send :: (Show a, MonadIO m) => Handle -> a -> m ()Source

recv :: (Read a, MonadIO m) => Handle -> m aSource

startServer :: forall m a. (Forkable m, Monad m, MonadIO m) => Integer -> AIO m a -> m aSource

safeFind :: (Ord k, Show k) => Map k a -> k -> aSource

class (Functor m, Monad m, MonadIO m, Forkable m) => Servable m Source

Instances