zeromq4-haskell-0.6.3: 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

_ctx :: ZMQCtx
 

Instances

newtype Socket a Source

A 0MQ Socket.

Constructors

Socket 

Instances

class SocketLike s where Source

Methods

toSocket :: s t -> Socket t Source

newtype Message Source

Constructors

Message 

Fields

msgPtr :: ZMQMsgPtr
 

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

data Switch Source

Configuration switch

Constructors

Default

Use default setting

On

Activate setting

Off

De-activate setting

Instances

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