zeromq4-haskell-0.6.5: Bindings to ZeroMQ 4.x

Safe HaskellNone
LanguageHaskell98

System.ZMQ4.Internal

Description

Warning: This is an internal module and subject to change without notice.

Synopsis

Documentation

newtype Context Source #

A 0MQ context representation.

Constructors

Context 

Fields

newtype Socket a Source #

A 0MQ Socket.

Constructors

Socket 

Instances

class SocketLike s where Source #

Minimal complete definition

toSocket

Methods

toSocket :: s t -> Socket t Source #

Instances

newtype Message Source #

Constructors

Message 

Fields

data Flag Source #

Flags to apply on send operations (cf. man zmq_send)

Constructors

DontWait

ZMQ_DONTWAIT (Only relevant on Windows.)

SendMore

ZMQ_SNDMORE

Instances

Eq Flag Source # 

Methods

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

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

Ord Flag Source # 

Methods

compare :: Flag -> Flag -> Ordering #

(<) :: Flag -> Flag -> Bool #

(<=) :: Flag -> Flag -> Bool #

(>) :: Flag -> Flag -> Bool #

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

max :: Flag -> Flag -> Flag #

min :: Flag -> Flag -> Flag #

Show Flag Source # 

Methods

showsPrec :: Int -> Flag -> ShowS #

show :: Flag -> String #

showList :: [Flag] -> ShowS #

type Size = Word Source #

data Switch Source #

Configuration switch

Constructors

Default

Use default setting

On

Activate setting

Off

De-activate setting

data KeyFormat a where Source #

Instances

setIntOpt :: (Storable b, Integral b) => Socket a -> ZMQOption -> b -> IO () Source #

getIntOpt :: (Storable b, Integral b) => Socket a -> ZMQOption -> b -> IO b Source #

combine :: (Integral i, Bits i) => [i] -> i Source #

onSocket :: String -> Socket a -> (ZMQSocket -> IO b) -> IO b Source #

toSwitch :: (Show a, Integral a) => String -> a -> Switch Source #