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

Instances details
SocketLike Socket Source # 
Instance details

Defined in System.ZMQ4.Internal

Methods

toSocket :: Socket t -> Socket t Source #

class SocketType a where Source #

Socket types.

Instances

Instances details
SocketType Dealer Source # 
Instance details

Defined in System.ZMQ4

SocketType Pair Source # 
Instance details

Defined in System.ZMQ4

SocketType Pub Source # 
Instance details

Defined in System.ZMQ4

SocketType Pull Source # 
Instance details

Defined in System.ZMQ4

SocketType Push Source # 
Instance details

Defined in System.ZMQ4

SocketType Rep Source # 
Instance details

Defined in System.ZMQ4

SocketType Req Source # 
Instance details

Defined in System.ZMQ4

SocketType Router Source # 
Instance details

Defined in System.ZMQ4

SocketType Stream Source # 
Instance details

Defined in System.ZMQ4

SocketType Sub Source # 
Instance details

Defined in System.ZMQ4

SocketType XPub Source # 
Instance details

Defined in System.ZMQ4

SocketType XSub Source # 
Instance details

Defined in System.ZMQ4

class SocketLike (s :: Type -> Type) where Source #

Methods

toSocket :: s t -> Socket t Source #

Instances

Instances details
SocketLike Socket Source # 
Instance details

Defined in System.ZMQ4.Internal

Methods

toSocket :: Socket t -> Socket t Source #

SocketLike (Socket z) Source # 
Instance details

Defined in System.ZMQ4.Monadic

Methods

toSocket :: Socket z t -> Socket t Source #

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

Instances details
Show Flag Source # 
Instance details

Defined in System.ZMQ4.Internal

Methods

showsPrec :: Int -> Flag -> ShowS #

show :: Flag -> String #

showList :: [Flag] -> ShowS #

Eq Flag Source # 
Instance details

Defined in System.ZMQ4.Internal

Methods

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

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

Ord Flag Source # 
Instance details

Defined in System.ZMQ4.Internal

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 #

type Size = Word Source #

data Switch Source #

Configuration switch

Constructors

Default

Use default setting

On

Activate setting

Off

De-activate setting

Instances

Instances details
Show Switch Source # 
Instance details

Defined in System.ZMQ4.Internal

Eq Switch Source # 
Instance details

Defined in System.ZMQ4.Internal

Methods

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

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

Ord Switch Source # 
Instance details

Defined in System.ZMQ4.Internal

data KeyFormat a where Source #

Instances

Instances details
Show (KeyFormat a) Source # 
Instance details

Defined in System.ZMQ4.Internal

Eq (KeyFormat a) Source # 
Instance details

Defined in System.ZMQ4.Internal

Methods

(==) :: KeyFormat a -> KeyFormat a -> Bool #

(/=) :: KeyFormat a -> KeyFormat a -> Bool #

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 #