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

Safe Haskell | None
Language | Haskell98

System.ZMQ4.Internal.Base

Description

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

# Documentation

newtype ZMQMsg #

Constructors

ZMQMsg |
Fields content :: Ptr ()

Instances

Eq ZMQMsg # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQMsg -> ZMQMsg -> Bool # (/=) :: ZMQMsg -> ZMQMsg -> Bool #
Ord ZMQMsg # |
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 # |
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 #

Constructors

ZMQPoll |
Fields pSocket :: !ZMQSocket pFd :: !CInt pEvents :: !CShort pRevents :: !CShort

Instances

Storable ZMQPoll # |
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 ZMQMsgPtr = Ptr ZMQMsg #

type ZMQCtx = Ptr () #

type ZMQSocket = Ptr () #

type ZMQPollPtr = Ptr ZMQPoll #

newtype ZMQSocketType #

Constructors

ZMQSocketType |
Fields typeVal :: CInt

Instances

Eq ZMQSocketType # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQSocketType -> ZMQSocketType -> Bool # (/=) :: ZMQSocketType -> ZMQSocketType -> Bool #
Ord ZMQSocketType # |
Instance details Defined in System.ZMQ4.Internal.Base Methods compare :: ZMQSocketType -> ZMQSocketType -> Ordering # (<) :: ZMQSocketType -> ZMQSocketType -> Bool # (<=) :: ZMQSocketType -> ZMQSocketType -> Bool # (>) :: ZMQSocketType -> ZMQSocketType -> Bool # (>=) :: ZMQSocketType -> ZMQSocketType -> Bool # max :: ZMQSocketType -> ZMQSocketType -> ZMQSocketType # min :: ZMQSocketType -> ZMQSocketType -> ZMQSocketType #

pair :: ZMQSocketType #

pub :: ZMQSocketType #

sub :: ZMQSocketType #

xpub :: ZMQSocketType #

xsub :: ZMQSocketType #

request :: ZMQSocketType #

response :: ZMQSocketType #

dealer :: ZMQSocketType #

router :: ZMQSocketType #

pull :: ZMQSocketType #

newtype ZMQOption #

Constructors

ZMQOption |
Fields optVal :: CInt

Instances

Eq ZMQOption # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQOption -> ZMQOption -> Bool # (/=) :: ZMQOption -> ZMQOption -> Bool #
Ord ZMQOption # |
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 #

push :: ZMQSocketType #

stream :: ZMQSocketType #

affinity :: ZMQOption #

backlog :: ZMQOption #

conflate :: ZMQOption #

curve :: ZMQOption #

curvePublicKey :: ZMQOption #

curveSecretKey :: ZMQOption #

curveServer :: ZMQOption #

curveServerKey :: ZMQOption #

delayAttachOnConnect :: ZMQOption #

events :: ZMQOption #

filedesc :: ZMQOption #

identity :: ZMQOption #

immediate :: ZMQOption #

ipv4Only :: ZMQOption #

ipv6 :: ZMQOption #

lastEndpoint :: ZMQOption #

linger :: ZMQOption #

maxMessageSize :: ZMQOption #

mcastHops :: ZMQOption #

mechanism :: ZMQOption #

null :: ZMQOption #

plain :: ZMQOption #

plainPassword :: ZMQOption #

plainServer :: ZMQOption #

plainUserName :: ZMQOption #

probeRouter :: ZMQOption #

rate :: ZMQOption #

receiveBuf :: ZMQOption #

newtype ZMQCtxOption #

Constructors

ZMQCtxOption |
Fields ctxOptVal :: CInt

Instances

Eq ZMQCtxOption # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQCtxOption -> ZMQCtxOption -> Bool # (/=) :: ZMQCtxOption -> ZMQCtxOption -> Bool #
Ord ZMQCtxOption # |
Instance details Defined in System.ZMQ4.Internal.Base Methods compare :: ZMQCtxOption -> ZMQCtxOption -> Ordering # (<) :: ZMQCtxOption -> ZMQCtxOption -> Bool # (<=) :: ZMQCtxOption -> ZMQCtxOption -> Bool # (>) :: ZMQCtxOption -> ZMQCtxOption -> Bool # (>=) :: ZMQCtxOption -> ZMQCtxOption -> Bool # max :: ZMQCtxOption -> ZMQCtxOption -> ZMQCtxOption # min :: ZMQCtxOption -> ZMQCtxOption -> ZMQCtxOption #

receiveHighWM :: ZMQOption #

receiveMore :: ZMQOption #

_ioThreads :: ZMQCtxOption #

receiveTimeout :: ZMQOption #

_maxSockets :: ZMQCtxOption #

reconnectIVL :: ZMQOption #

reconnectIVLMax :: ZMQOption #

recoveryIVL :: ZMQOption #

newtype ZMQEventType #

Constructors

ZMQEventType |
Fields eventTypeVal :: Word16

Instances

Eq ZMQEventType # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQEventType -> ZMQEventType -> Bool # (/=) :: ZMQEventType -> ZMQEventType -> Bool #
Ord ZMQEventType # |
Instance details Defined in System.ZMQ4.Internal.Base Methods compare :: ZMQEventType -> ZMQEventType -> Ordering # (<) :: ZMQEventType -> ZMQEventType -> Bool # (<=) :: ZMQEventType -> ZMQEventType -> Bool # (>) :: ZMQEventType -> ZMQEventType -> Bool # (>=) :: ZMQEventType -> ZMQEventType -> Bool # max :: ZMQEventType -> ZMQEventType -> ZMQEventType # min :: ZMQEventType -> ZMQEventType -> ZMQEventType #
Show ZMQEventType # |
Instance details Defined in System.ZMQ4.Internal.Base Methods showsPrec :: Int -> ZMQEventType -> ShowS # show :: ZMQEventType -> String # showList :: [ZMQEventType] -> ShowS #
Storable ZMQEventType # |
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 () #

reqCorrelate :: ZMQOption #

reqRelaxed :: ZMQOption #

connected :: ZMQEventType #

routerMandatory :: ZMQOption #

connectDelayed :: ZMQEventType #

sendBuf :: ZMQOption #

connectRetried :: ZMQEventType #

sendHighWM :: ZMQOption #

listening :: ZMQEventType #

sendTimeout :: ZMQOption #

bindFailed :: ZMQEventType #

subscribe :: ZMQOption #

accepted :: ZMQEventType #

tcpAcceptFilter :: ZMQOption #

acceptFailed :: ZMQEventType #

tcpKeepAlive :: ZMQOption #

closed :: ZMQEventType #

tcpKeepAliveCount :: ZMQOption #

closeFailed :: ZMQEventType #

tcpKeepAliveIdle :: ZMQOption #

disconnected :: ZMQEventType #

data ZMQEvent #

Constructors

ZMQEvent |
Fields zeEvent :: !ZMQEventType zeValue :: !Int32

tcpKeepAliveInterval :: ZMQOption #

allEvents :: ZMQEventType #

unsubscribe :: ZMQOption #

monitorStopped :: ZMQEventType #

xpubVerbose :: ZMQOption #

zapDomain :: ZMQOption #

peekZMQEvent :: ZMQMsgPtr -> IO ZMQEvent #

newtype ZMQSecMechanism #

Constructors

ZMQSecMechanism |
Fields secMechanism :: Int

Instances

Eq ZMQSecMechanism # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQSecMechanism -> ZMQSecMechanism -> Bool # (/=) :: ZMQSecMechanism -> ZMQSecMechanism -> Bool #
Ord ZMQSecMechanism # |
Instance details Defined in System.ZMQ4.Internal.Base Methods compare :: ZMQSecMechanism -> ZMQSecMechanism -> Ordering # (<) :: ZMQSecMechanism -> ZMQSecMechanism -> Bool # (<=) :: ZMQSecMechanism -> ZMQSecMechanism -> Bool # (>) :: ZMQSecMechanism -> ZMQSecMechanism -> Bool # (>=) :: ZMQSecMechanism -> ZMQSecMechanism -> Bool # max :: ZMQSecMechanism -> ZMQSecMechanism -> ZMQSecMechanism # min :: ZMQSecMechanism -> ZMQSecMechanism -> ZMQSecMechanism #
Show ZMQSecMechanism # |
Instance details Defined in System.ZMQ4.Internal.Base Methods showsPrec :: Int -> ZMQSecMechanism -> ShowS # show :: ZMQSecMechanism -> String # showList :: [ZMQSecMechanism] -> ShowS #

secNull :: ZMQSecMechanism #

secPlain :: ZMQSecMechanism #

secCurve :: ZMQSecMechanism #

newtype ZMQMsgOption #

Constructors

ZMQMsgOption |
Fields msgOptVal :: CInt

Instances

Eq ZMQMsgOption # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQMsgOption -> ZMQMsgOption -> Bool # (/=) :: ZMQMsgOption -> ZMQMsgOption -> Bool #
Ord ZMQMsgOption # |
Instance details Defined in System.ZMQ4.Internal.Base Methods compare :: ZMQMsgOption -> ZMQMsgOption -> Ordering # (<) :: ZMQMsgOption -> ZMQMsgOption -> Bool # (<=) :: ZMQMsgOption -> ZMQMsgOption -> Bool # (>) :: ZMQMsgOption -> ZMQMsgOption -> Bool # (>=) :: ZMQMsgOption -> ZMQMsgOption -> Bool # max :: ZMQMsgOption -> ZMQMsgOption -> ZMQMsgOption # min :: ZMQMsgOption -> ZMQMsgOption -> ZMQMsgOption #

more :: ZMQMsgOption #

newtype ZMQFlag #

Constructors

ZMQFlag |
Fields flagVal :: CInt

Instances

Eq ZMQFlag # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQFlag -> ZMQFlag -> Bool # (/=) :: ZMQFlag -> ZMQFlag -> Bool #
Ord ZMQFlag # |
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 #

dontWait :: ZMQFlag #

sndMore :: ZMQFlag #

newtype ZMQPollEvent #

Constructors

ZMQPollEvent |
Fields pollVal :: CShort

Instances

Eq ZMQPollEvent # |
Instance details Defined in System.ZMQ4.Internal.Base Methods (==) :: ZMQPollEvent -> ZMQPollEvent -> Bool # (/=) :: ZMQPollEvent -> ZMQPollEvent -> Bool #
Ord ZMQPollEvent # |
Instance details Defined in System.ZMQ4.Internal.Base Methods compare :: ZMQPollEvent -> ZMQPollEvent -> Ordering # (<) :: ZMQPollEvent -> ZMQPollEvent -> Bool # (<=) :: ZMQPollEvent -> ZMQPollEvent -> Bool # (>) :: ZMQPollEvent -> ZMQPollEvent -> Bool # (>=) :: ZMQPollEvent -> ZMQPollEvent -> Bool # max :: ZMQPollEvent -> ZMQPollEvent -> ZMQPollEvent # min :: ZMQPollEvent -> ZMQPollEvent -> ZMQPollEvent #

pollIn :: ZMQPollEvent #

pollOut :: ZMQPollEvent #

pollerr :: ZMQPollEvent #

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

c_zmq_ctx_new :: IO ZMQCtx #

c_zmq_ctx_shutdown :: ZMQCtx -> IO CInt #

c_zmq_ctx_term :: ZMQCtx -> IO CInt #

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

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

c_zmq_msg_init :: ZMQMsgPtr -> IO CInt #

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

c_zmq_msg_close :: ZMQMsgPtr -> IO CInt #

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

c_zmq_msg_size :: ZMQMsgPtr -> IO CSize #

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

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

c_zmq_socket :: ZMQCtx -> CInt -> IO ZMQSocket #

c_zmq_close :: ZMQSocket -> IO CInt #

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

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

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

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

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

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

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

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

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

c_zmq_errno :: IO CInt #

c_zmq_strerror :: CInt -> IO CString #

c_zmq_proxy :: ZMQSocket -> ZMQSocket -> ZMQSocket -> IO CInt #

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

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

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

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