zeromq4-haskell-0.8.0: Bindings to ZeroMQ 4.x
Safe HaskellNone
LanguageHaskell98

System.ZMQ4.Internal.Base

Description

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

Documentation

newtype ZMQMsg Source #

Constructors

ZMQMsg 

Fields

Instances

Instances details
Eq ZMQMsg Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQMsg -> ZMQMsg -> Bool

(/=) :: ZMQMsg -> ZMQMsg -> Bool

Ord ZMQMsg Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

compare :: ZMQMsg -> ZMQMsg -> Ordering

(<) :: ZMQMsg -> ZMQMsg -> Bool

(<=) :: ZMQMsg -> ZMQMsg -> Bool

(>) :: ZMQMsg -> ZMQMsg -> Bool

(>=) :: ZMQMsg -> ZMQMsg -> Bool

max :: ZMQMsg -> ZMQMsg -> ZMQMsg

min :: ZMQMsg -> ZMQMsg -> ZMQMsg

Storable ZMQMsg Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

sizeOf :: ZMQMsg -> Int

alignment :: ZMQMsg -> Int

peekElemOff :: Ptr ZMQMsg -> Int -> IO ZMQMsg

pokeElemOff :: Ptr ZMQMsg -> Int -> ZMQMsg -> IO ()

peekByteOff :: Ptr b -> Int -> IO ZMQMsg

pokeByteOff :: Ptr b -> Int -> ZMQMsg -> IO ()

peek :: Ptr ZMQMsg -> IO ZMQMsg

poke :: Ptr ZMQMsg -> ZMQMsg -> IO ()

data ZMQPoll Source #

Constructors

ZMQPoll 

Fields

Instances

Instances details
Storable ZMQPoll Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

sizeOf :: ZMQPoll -> Int

alignment :: ZMQPoll -> Int

peekElemOff :: Ptr ZMQPoll -> Int -> IO ZMQPoll

pokeElemOff :: Ptr ZMQPoll -> Int -> ZMQPoll -> IO ()

peekByteOff :: Ptr b -> Int -> IO ZMQPoll

pokeByteOff :: Ptr b -> Int -> ZMQPoll -> IO ()

peek :: Ptr ZMQPoll -> IO ZMQPoll

poke :: Ptr ZMQPoll -> ZMQPoll -> IO ()

type ZMQCtx = Ptr () Source #

type ZMQSocket = Ptr () Source #

newtype ZMQSocketType Source #

Constructors

ZMQSocketType 

Fields

newtype ZMQOption Source #

Constructors

ZMQOption 

Fields

Instances

Instances details
Eq ZMQOption Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQOption -> ZMQOption -> Bool

(/=) :: ZMQOption -> ZMQOption -> Bool

Ord ZMQOption Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

compare :: ZMQOption -> ZMQOption -> Ordering

(<) :: ZMQOption -> ZMQOption -> Bool

(<=) :: ZMQOption -> ZMQOption -> Bool

(>) :: ZMQOption -> ZMQOption -> Bool

(>=) :: ZMQOption -> ZMQOption -> Bool

max :: ZMQOption -> ZMQOption -> ZMQOption

min :: ZMQOption -> ZMQOption -> ZMQOption

newtype ZMQCtxOption Source #

Constructors

ZMQCtxOption 

Fields

Instances

Instances details
Eq ZMQCtxOption Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQCtxOption -> ZMQCtxOption -> Bool

(/=) :: ZMQCtxOption -> ZMQCtxOption -> Bool

Ord ZMQCtxOption Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

newtype ZMQEventType Source #

Constructors

ZMQEventType 

Fields

Instances

Instances details
Eq ZMQEventType Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQEventType -> ZMQEventType -> Bool

(/=) :: ZMQEventType -> ZMQEventType -> Bool

Ord ZMQEventType Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Show ZMQEventType Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

showsPrec :: Int -> ZMQEventType -> ShowS

show :: ZMQEventType -> String

showList :: [ZMQEventType] -> ShowS

Storable ZMQEventType Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

sizeOf :: ZMQEventType -> Int

alignment :: ZMQEventType -> Int

peekElemOff :: Ptr ZMQEventType -> Int -> IO ZMQEventType

pokeElemOff :: Ptr ZMQEventType -> Int -> ZMQEventType -> IO ()

peekByteOff :: Ptr b -> Int -> IO ZMQEventType

pokeByteOff :: Ptr b -> Int -> ZMQEventType -> IO ()

peek :: Ptr ZMQEventType -> IO ZMQEventType

poke :: Ptr ZMQEventType -> ZMQEventType -> IO ()

data ZMQEvent Source #

Constructors

ZMQEvent 

Fields

newtype ZMQMsgOption Source #

Constructors

ZMQMsgOption 

Fields

Instances

Instances details
Eq ZMQMsgOption Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQMsgOption -> ZMQMsgOption -> Bool

(/=) :: ZMQMsgOption -> ZMQMsgOption -> Bool

Ord ZMQMsgOption Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

newtype ZMQFlag Source #

Constructors

ZMQFlag 

Fields

Instances

Instances details
Eq ZMQFlag Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQFlag -> ZMQFlag -> Bool

(/=) :: ZMQFlag -> ZMQFlag -> Bool

Ord ZMQFlag Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

compare :: ZMQFlag -> ZMQFlag -> Ordering

(<) :: ZMQFlag -> ZMQFlag -> Bool

(<=) :: ZMQFlag -> ZMQFlag -> Bool

(>) :: ZMQFlag -> ZMQFlag -> Bool

(>=) :: ZMQFlag -> ZMQFlag -> Bool

max :: ZMQFlag -> ZMQFlag -> ZMQFlag

min :: ZMQFlag -> ZMQFlag -> ZMQFlag

newtype ZMQPollEvent Source #

Constructors

ZMQPollEvent 

Fields

Instances

Instances details
Eq ZMQPollEvent Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

Methods

(==) :: ZMQPollEvent -> ZMQPollEvent -> Bool

(/=) :: ZMQPollEvent -> ZMQPollEvent -> Bool

Ord ZMQPollEvent Source # 
Instance details

Defined in System.ZMQ4.Internal.Base

c_zmq_version :: Ptr CInt -> Ptr CInt -> Ptr CInt -> IO () Source #

c_zmq_ctx_get :: ZMQCtx -> CInt -> IO CInt Source #

c_zmq_ctx_set :: ZMQCtx -> CInt -> CInt -> IO CInt Source #

c_zmq_msg_init_size :: ZMQMsgPtr -> CSize -> IO CInt Source #

c_zmq_msg_data :: ZMQMsgPtr -> IO (Ptr a) Source #

c_zmq_msg_get :: ZMQMsgPtr -> CInt -> IO CInt Source #

c_zmq_msg_set :: ZMQMsgPtr -> CInt -> CInt -> IO CInt Source #

c_zmq_setsockopt :: ZMQSocket -> CInt -> Ptr () -> CSize -> IO CInt Source #

c_zmq_getsockopt :: ZMQSocket -> CInt -> Ptr () -> Ptr CSize -> IO CInt Source #

c_zmq_bind :: ZMQSocket -> CString -> IO CInt Source #

c_zmq_unbind :: ZMQSocket -> CString -> IO CInt Source #

c_zmq_connect :: ZMQSocket -> CString -> IO CInt Source #

c_zmq_disconnect :: ZMQSocket -> CString -> IO CInt Source #

c_zmq_sendmsg :: ZMQSocket -> ZMQMsgPtr -> CInt -> IO CInt Source #

c_zmq_recvmsg :: ZMQSocket -> ZMQMsgPtr -> CInt -> IO CInt Source #

c_zmq_socket_monitor :: ZMQSocket -> CString -> CInt -> IO CInt Source #

c_zmq_errno :: IO CInt Source #

c_zmq_strerror :: CInt -> IO CString Source #

c_zmq_poll :: ZMQPollPtr -> CInt -> CLong -> IO CInt Source #

c_zmq_z85_encode :: CString -> Ptr Word8 -> CSize -> IO CString Source #

c_zmq_z85_decode :: Ptr Word8 -> CString -> IO (Ptr Word8) Source #

c_zmq_curve_keypair :: CString -> CString -> IO CInt Source #