#----------------------------------------------------------------------------- # Python module level constants #----------------------------------------------------------------------------- DRAFT_API = PYZMQ_DRAFT_API VERSION = ZMQ_VERSION VERSION_MAJOR = ZMQ_VERSION_MAJOR VERSION_MINOR = ZMQ_VERSION_MINOR VERSION_PATCH = ZMQ_VERSION_PATCH NOBLOCK = ZMQ_NOBLOCK DONTWAIT = ZMQ_DONTWAIT POLLIN = ZMQ_POLLIN POLLOUT = ZMQ_POLLOUT POLLERR = ZMQ_POLLERR POLLPRI = ZMQ_POLLPRI SNDMORE = ZMQ_SNDMORE STREAMER = ZMQ_STREAMER FORWARDER = ZMQ_FORWARDER QUEUE = ZMQ_QUEUE IO_THREADS_DFLT = ZMQ_IO_THREADS_DFLT MAX_SOCKETS_DFLT = ZMQ_MAX_SOCKETS_DFLT POLLITEMS_DFLT = ZMQ_POLLITEMS_DFLT THREAD_PRIORITY_DFLT = ZMQ_THREAD_PRIORITY_DFLT THREAD_SCHED_POLICY_DFLT = ZMQ_THREAD_SCHED_POLICY_DFLT PAIR = ZMQ_PAIR PUB = ZMQ_PUB SUB = ZMQ_SUB REQ = ZMQ_REQ REP = ZMQ_REP DEALER = ZMQ_DEALER ROUTER = ZMQ_ROUTER XREQ = ZMQ_XREQ XREP = ZMQ_XREP PULL = ZMQ_PULL PUSH = ZMQ_PUSH XPUB = ZMQ_XPUB XSUB = ZMQ_XSUB UPSTREAM = ZMQ_UPSTREAM DOWNSTREAM = ZMQ_DOWNSTREAM STREAM = ZMQ_STREAM SERVER = ZMQ_SERVER CLIENT = ZMQ_CLIENT RADIO = ZMQ_RADIO DISH = ZMQ_DISH GATHER = ZMQ_GATHER SCATTER = ZMQ_SCATTER DGRAM = ZMQ_DGRAM EVENT_CONNECTED = ZMQ_EVENT_CONNECTED EVENT_CONNECT_DELAYED = ZMQ_EVENT_CONNECT_DELAYED EVENT_CONNECT_RETRIED = ZMQ_EVENT_CONNECT_RETRIED EVENT_LISTENING = ZMQ_EVENT_LISTENING EVENT_BIND_FAILED = ZMQ_EVENT_BIND_FAILED EVENT_ACCEPTED = ZMQ_EVENT_ACCEPTED EVENT_ACCEPT_FAILED = ZMQ_EVENT_ACCEPT_FAILED EVENT_CLOSED = ZMQ_EVENT_CLOSED EVENT_CLOSE_FAILED = ZMQ_EVENT_CLOSE_FAILED EVENT_DISCONNECTED = ZMQ_EVENT_DISCONNECTED EVENT_ALL = ZMQ_EVENT_ALL EVENT_MONITOR_STOPPED = ZMQ_EVENT_MONITOR_STOPPED EVENT_HANDSHAKE_FAILED_NO_DETAIL = ZMQ_EVENT_HANDSHAKE_FAILED_NO_DETAIL EVENT_HANDSHAKE_SUCCEEDED = ZMQ_EVENT_HANDSHAKE_SUCCEEDED EVENT_HANDSHAKE_FAILED_PROTOCOL = ZMQ_EVENT_HANDSHAKE_FAILED_PROTOCOL EVENT_HANDSHAKE_FAILED_AUTH = ZMQ_EVENT_HANDSHAKE_FAILED_AUTH PROTOCOL_ERROR_ZMTP_UNSPECIFIED = ZMQ_PROTOCOL_ERROR_ZMTP_UNSPECIFIED PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND = ZMQ_PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND PROTOCOL_ERROR_ZMTP_INVALID_SEQUENCE = ZMQ_PROTOCOL_ERROR_ZMTP_INVALID_SEQUENCE PROTOCOL_ERROR_ZMTP_KEY_EXCHANGE = ZMQ_PROTOCOL_ERROR_ZMTP_KEY_EXCHANGE PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME = ZMQ_PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME PROTOCOL_ERROR_ZMTP_INVALID_METADATA = ZMQ_PROTOCOL_ERROR_ZMTP_INVALID_METADATA PROTOCOL_ERROR_ZMTP_CRYPTOGRAPHIC = ZMQ_PROTOCOL_ERROR_ZMTP_CRYPTOGRAPHIC PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH = ZMQ_PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH PROTOCOL_ERROR_ZAP_UNSPECIFIED = ZMQ_PROTOCOL_ERROR_ZAP_UNSPECIFIED PROTOCOL_ERROR_ZAP_MALFORMED_REPLY = ZMQ_PROTOCOL_ERROR_ZAP_MALFORMED_REPLY PROTOCOL_ERROR_ZAP_BAD_REQUEST_ID = ZMQ_PROTOCOL_ERROR_ZAP_BAD_REQUEST_ID PROTOCOL_ERROR_ZAP_BAD_VERSION = ZMQ_PROTOCOL_ERROR_ZAP_BAD_VERSION PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE = ZMQ_PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE PROTOCOL_ERROR_ZAP_INVALID_METADATA = ZMQ_PROTOCOL_ERROR_ZAP_INVALID_METADATA NOTIFY_CONNECT = ZMQ_NOTIFY_CONNECT NOTIFY_DISCONNECT = ZMQ_NOTIFY_DISCONNECT globals()['NULL'] = ZMQ_NULL PLAIN = ZMQ_PLAIN CURVE = ZMQ_CURVE GSSAPI = ZMQ_GSSAPI GSSAPI_NT_HOSTBASED = ZMQ_GSSAPI_NT_HOSTBASED GSSAPI_NT_USER_NAME = ZMQ_GSSAPI_NT_USER_NAME GSSAPI_NT_KRB5_PRINCIPAL = ZMQ_GSSAPI_NT_KRB5_PRINCIPAL EAGAIN = ZMQ_EAGAIN EINVAL = ZMQ_EINVAL EFAULT = ZMQ_EFAULT ENOMEM = ZMQ_ENOMEM ENODEV = ZMQ_ENODEV EMSGSIZE = ZMQ_EMSGSIZE EAFNOSUPPORT = ZMQ_EAFNOSUPPORT ENETUNREACH = ZMQ_ENETUNREACH ECONNABORTED = ZMQ_ECONNABORTED ECONNRESET = ZMQ_ECONNRESET ENOTCONN = ZMQ_ENOTCONN ETIMEDOUT = ZMQ_ETIMEDOUT EHOSTUNREACH = ZMQ_EHOSTUNREACH ENETRESET = ZMQ_ENETRESET HAUSNUMERO = ZMQ_HAUSNUMERO ENOTSUP = ZMQ_ENOTSUP EPROTONOSUPPORT = ZMQ_EPROTONOSUPPORT ENOBUFS = ZMQ_ENOBUFS ENETDOWN = ZMQ_ENETDOWN EADDRINUSE = ZMQ_EADDRINUSE EADDRNOTAVAIL = ZMQ_EADDRNOTAVAIL ECONNREFUSED = ZMQ_ECONNREFUSED EINPROGRESS = ZMQ_EINPROGRESS ENOTSOCK = ZMQ_ENOTSOCK EFSM = ZMQ_EFSM ENOCOMPATPROTO = ZMQ_ENOCOMPATPROTO ETERM = ZMQ_ETERM EMTHREAD = ZMQ_EMTHREAD IO_THREADS = ZMQ_IO_THREADS MAX_SOCKETS = ZMQ_MAX_SOCKETS SOCKET_LIMIT = ZMQ_SOCKET_LIMIT THREAD_PRIORITY = ZMQ_THREAD_PRIORITY THREAD_SCHED_POLICY = ZMQ_THREAD_SCHED_POLICY BLOCKY = ZMQ_BLOCKY MSG_T_SIZE = ZMQ_MSG_T_SIZE THREAD_AFFINITY_CPU_ADD = ZMQ_THREAD_AFFINITY_CPU_ADD THREAD_AFFINITY_CPU_REMOVE = ZMQ_THREAD_AFFINITY_CPU_REMOVE THREAD_NAME_PREFIX = ZMQ_THREAD_NAME_PREFIX IDENTITY = ZMQ_IDENTITY SUBSCRIBE = ZMQ_SUBSCRIBE UNSUBSCRIBE = ZMQ_UNSUBSCRIBE LAST_ENDPOINT = ZMQ_LAST_ENDPOINT TCP_ACCEPT_FILTER = ZMQ_TCP_ACCEPT_FILTER PLAIN_USERNAME = ZMQ_PLAIN_USERNAME PLAIN_PASSWORD = ZMQ_PLAIN_PASSWORD CURVE_PUBLICKEY = ZMQ_CURVE_PUBLICKEY CURVE_SECRETKEY = ZMQ_CURVE_SECRETKEY CURVE_SERVERKEY = ZMQ_CURVE_SERVERKEY ZAP_DOMAIN = ZMQ_ZAP_DOMAIN CONNECT_RID = ZMQ_CONNECT_RID GSSAPI_PRINCIPAL = ZMQ_GSSAPI_PRINCIPAL GSSAPI_SERVICE_PRINCIPAL = ZMQ_GSSAPI_SERVICE_PRINCIPAL SOCKS_PROXY = ZMQ_SOCKS_PROXY XPUB_WELCOME_MSG = ZMQ_XPUB_WELCOME_MSG ROUTING_ID = ZMQ_ROUTING_ID CONNECT_ROUTING_ID = ZMQ_CONNECT_ROUTING_ID BINDTODEVICE = ZMQ_BINDTODEVICE FD = ZMQ_FD RECONNECT_IVL_MAX = ZMQ_RECONNECT_IVL_MAX SNDTIMEO = ZMQ_SNDTIMEO RCVTIMEO = ZMQ_RCVTIMEO SNDHWM = ZMQ_SNDHWM RCVHWM = ZMQ_RCVHWM MULTICAST_HOPS = ZMQ_MULTICAST_HOPS IPV4ONLY = ZMQ_IPV4ONLY ROUTER_BEHAVIOR = ZMQ_ROUTER_BEHAVIOR TCP_KEEPALIVE = ZMQ_TCP_KEEPALIVE TCP_KEEPALIVE_CNT = ZMQ_TCP_KEEPALIVE_CNT TCP_KEEPALIVE_IDLE = ZMQ_TCP_KEEPALIVE_IDLE TCP_KEEPALIVE_INTVL = ZMQ_TCP_KEEPALIVE_INTVL DELAY_ATTACH_ON_CONNECT = ZMQ_DELAY_ATTACH_ON_CONNECT XPUB_VERBOSE = ZMQ_XPUB_VERBOSE EVENTS = ZMQ_EVENTS TYPE = ZMQ_TYPE LINGER = ZMQ_LINGER RECONNECT_IVL = ZMQ_RECONNECT_IVL BACKLOG = ZMQ_BACKLOG ROUTER_MANDATORY = ZMQ_ROUTER_MANDATORY FAIL_UNROUTABLE = ZMQ_FAIL_UNROUTABLE ROUTER_RAW = ZMQ_ROUTER_RAW IMMEDIATE = ZMQ_IMMEDIATE IPV6 = ZMQ_IPV6 MECHANISM = ZMQ_MECHANISM PLAIN_SERVER = ZMQ_PLAIN_SERVER CURVE_SERVER = ZMQ_CURVE_SERVER PROBE_ROUTER = ZMQ_PROBE_ROUTER REQ_RELAXED = ZMQ_REQ_RELAXED REQ_CORRELATE = ZMQ_REQ_CORRELATE CONFLATE = ZMQ_CONFLATE ROUTER_HANDOVER = ZMQ_ROUTER_HANDOVER TOS = ZMQ_TOS IPC_FILTER_PID = ZMQ_IPC_FILTER_PID IPC_FILTER_UID = ZMQ_IPC_FILTER_UID IPC_FILTER_GID = ZMQ_IPC_FILTER_GID GSSAPI_SERVER = ZMQ_GSSAPI_SERVER GSSAPI_PLAINTEXT = ZMQ_GSSAPI_PLAINTEXT HANDSHAKE_IVL = ZMQ_HANDSHAKE_IVL XPUB_NODROP = ZMQ_XPUB_NODROP XPUB_MANUAL = ZMQ_XPUB_MANUAL STREAM_NOTIFY = ZMQ_STREAM_NOTIFY INVERT_MATCHING = ZMQ_INVERT_MATCHING XPUB_VERBOSER = ZMQ_XPUB_VERBOSER HEARTBEAT_IVL = ZMQ_HEARTBEAT_IVL HEARTBEAT_TTL = ZMQ_HEARTBEAT_TTL HEARTBEAT_TIMEOUT = ZMQ_HEARTBEAT_TIMEOUT CONNECT_TIMEOUT = ZMQ_CONNECT_TIMEOUT TCP_MAXRT = ZMQ_TCP_MAXRT THREAD_SAFE = ZMQ_THREAD_SAFE MULTICAST_MAXTPDU = ZMQ_MULTICAST_MAXTPDU VMCI_CONNECT_TIMEOUT = ZMQ_VMCI_CONNECT_TIMEOUT USE_FD = ZMQ_USE_FD GSSAPI_PRINCIPAL_NAMETYPE = ZMQ_GSSAPI_PRINCIPAL_NAMETYPE GSSAPI_SERVICE_PRINCIPAL_NAMETYPE = ZMQ_GSSAPI_SERVICE_PRINCIPAL_NAMETYPE MULTICAST_LOOP = ZMQ_MULTICAST_LOOP ROUTER_NOTIFY = ZMQ_ROUTER_NOTIFY ZAP_ENFORCE_DOMAIN = ZMQ_ZAP_ENFORCE_DOMAIN AFFINITY = ZMQ_AFFINITY MAXMSGSIZE = ZMQ_MAXMSGSIZE HWM = ZMQ_HWM SWAP = ZMQ_SWAP MCAST_LOOP = ZMQ_MCAST_LOOP RECOVERY_IVL_MSEC = ZMQ_RECOVERY_IVL_MSEC VMCI_BUFFER_SIZE = ZMQ_VMCI_BUFFER_SIZE VMCI_BUFFER_MIN_SIZE = ZMQ_VMCI_BUFFER_MIN_SIZE VMCI_BUFFER_MAX_SIZE = ZMQ_VMCI_BUFFER_MAX_SIZE RATE = ZMQ_RATE RECOVERY_IVL = ZMQ_RECOVERY_IVL SNDBUF = ZMQ_SNDBUF RCVBUF = ZMQ_RCVBUF RCVMORE = ZMQ_RCVMORE MORE = ZMQ_MORE SRCFD = ZMQ_SRCFD SHARED = ZMQ_SHARED #----------------------------------------------------------------------------- # Symbols to export #----------------------------------------------------------------------------- __all__ = [ "DRAFT_API", "VERSION", "VERSION_MAJOR", "VERSION_MINOR", "VERSION_PATCH", "NOBLOCK", "DONTWAIT", "POLLIN", "POLLOUT", "POLLERR", "POLLPRI", "SNDMORE", "STREAMER", "FORWARDER", "QUEUE", "IO_THREADS_DFLT", "MAX_SOCKETS_DFLT", "POLLITEMS_DFLT", "THREAD_PRIORITY_DFLT", "THREAD_SCHED_POLICY_DFLT", "PAIR", "PUB", "SUB", "REQ", "REP", "DEALER", "ROUTER", "XREQ", "XREP", "PULL", "PUSH", "XPUB", "XSUB", "UPSTREAM", "DOWNSTREAM", "STREAM", "SERVER", "CLIENT", "RADIO", "DISH", "GATHER", "SCATTER", "DGRAM", "EVENT_CONNECTED", "EVENT_CONNECT_DELAYED", "EVENT_CONNECT_RETRIED", "EVENT_LISTENING", "EVENT_BIND_FAILED", "EVENT_ACCEPTED", "EVENT_ACCEPT_FAILED", "EVENT_CLOSED", "EVENT_CLOSE_FAILED", "EVENT_DISCONNECTED", "EVENT_ALL", "EVENT_MONITOR_STOPPED", "EVENT_HANDSHAKE_FAILED_NO_DETAIL", "EVENT_HANDSHAKE_SUCCEEDED", "EVENT_HANDSHAKE_FAILED_PROTOCOL", "EVENT_HANDSHAKE_FAILED_AUTH", "PROTOCOL_ERROR_ZMTP_UNSPECIFIED", "PROTOCOL_ERROR_ZMTP_UNEXPECTED_COMMAND", "PROTOCOL_ERROR_ZMTP_INVALID_SEQUENCE", "PROTOCOL_ERROR_ZMTP_KEY_EXCHANGE", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_UNSPECIFIED", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_MESSAGE", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_HELLO", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_INITIATE", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_ERROR", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_READY", "PROTOCOL_ERROR_ZMTP_MALFORMED_COMMAND_WELCOME", "PROTOCOL_ERROR_ZMTP_INVALID_METADATA", "PROTOCOL_ERROR_ZMTP_CRYPTOGRAPHIC", "PROTOCOL_ERROR_ZMTP_MECHANISM_MISMATCH", "PROTOCOL_ERROR_ZAP_UNSPECIFIED", "PROTOCOL_ERROR_ZAP_MALFORMED_REPLY", "PROTOCOL_ERROR_ZAP_BAD_REQUEST_ID", "PROTOCOL_ERROR_ZAP_BAD_VERSION", "PROTOCOL_ERROR_ZAP_INVALID_STATUS_CODE", "PROTOCOL_ERROR_ZAP_INVALID_METADATA", "NOTIFY_CONNECT", "NOTIFY_DISCONNECT", "NULL", "PLAIN", "CURVE", "GSSAPI", "GSSAPI_NT_HOSTBASED", "GSSAPI_NT_USER_NAME", "GSSAPI_NT_KRB5_PRINCIPAL", "EAGAIN", "EINVAL", "EFAULT", "ENOMEM", "ENODEV", "EMSGSIZE", "EAFNOSUPPORT", "ENETUNREACH", "ECONNABORTED", "ECONNRESET", "ENOTCONN", "ETIMEDOUT", "EHOSTUNREACH", "ENETRESET", "HAUSNUMERO", "ENOTSUP", "EPROTONOSUPPORT", "ENOBUFS", "ENETDOWN", "EADDRINUSE", "EADDRNOTAVAIL", "ECONNREFUSED", "EINPROGRESS", "ENOTSOCK", "EFSM", "ENOCOMPATPROTO", "ETERM", "EMTHREAD", "IO_THREADS", "MAX_SOCKETS", "SOCKET_LIMIT", "THREAD_PRIORITY", "THREAD_SCHED_POLICY", "BLOCKY", "MSG_T_SIZE", "THREAD_AFFINITY_CPU_ADD", "THREAD_AFFINITY_CPU_REMOVE", "THREAD_NAME_PREFIX", "IDENTITY", "SUBSCRIBE", "UNSUBSCRIBE", "LAST_ENDPOINT", "TCP_ACCEPT_FILTER", "PLAIN_USERNAME", "PLAIN_PASSWORD", "CURVE_PUBLICKEY", "CURVE_SECRETKEY", "CURVE_SERVERKEY", "ZAP_DOMAIN", "CONNECT_RID", "GSSAPI_PRINCIPAL", "GSSAPI_SERVICE_PRINCIPAL", "SOCKS_PROXY", "XPUB_WELCOME_MSG", "ROUTING_ID", "CONNECT_ROUTING_ID", "BINDTODEVICE", "FD", "RECONNECT_IVL_MAX", "SNDTIMEO", "RCVTIMEO", "SNDHWM", "RCVHWM", "MULTICAST_HOPS", "IPV4ONLY", "ROUTER_BEHAVIOR", "TCP_KEEPALIVE", "TCP_KEEPALIVE_CNT", "TCP_KEEPALIVE_IDLE", "TCP_KEEPALIVE_INTVL", "DELAY_ATTACH_ON_CONNECT", "XPUB_VERBOSE", "EVENTS", "TYPE", "LINGER", "RECONNECT_IVL", "BACKLOG", "ROUTER_MANDATORY", "FAIL_UNROUTABLE", "ROUTER_RAW", "IMMEDIATE", "IPV6", "MECHANISM", "PLAIN_SERVER", "CURVE_SERVER", "PROBE_ROUTER", "REQ_RELAXED", "REQ_CORRELATE", "CONFLATE", "ROUTER_HANDOVER", "TOS", "IPC_FILTER_PID", "IPC_FILTER_UID", "IPC_FILTER_GID", "GSSAPI_SERVER", "GSSAPI_PLAINTEXT", "HANDSHAKE_IVL", "XPUB_NODROP", "XPUB_MANUAL", "STREAM_NOTIFY", "INVERT_MATCHING", "XPUB_VERBOSER", "HEARTBEAT_IVL", "HEARTBEAT_TTL", "HEARTBEAT_TIMEOUT", "CONNECT_TIMEOUT", "TCP_MAXRT", "THREAD_SAFE", "MULTICAST_MAXTPDU", "VMCI_CONNECT_TIMEOUT", "USE_FD", "GSSAPI_PRINCIPAL_NAMETYPE", "GSSAPI_SERVICE_PRINCIPAL_NAMETYPE", "MULTICAST_LOOP", "ROUTER_NOTIFY", "ZAP_ENFORCE_DOMAIN", "AFFINITY", "MAXMSGSIZE", "HWM", "SWAP", "MCAST_LOOP", "RECOVERY_IVL_MSEC", "VMCI_BUFFER_SIZE", "VMCI_BUFFER_MIN_SIZE", "VMCI_BUFFER_MAX_SIZE", "RATE", "RECOVERY_IVL", "SNDBUF", "RCVBUF", "RCVMORE", "MORE", "SRCFD", "SHARED", ]