File ZeroMQ_Interop.ipf

Flags for zeromq_set()

Sets the default flags (no debug, no ipv6, busy wait on receive)

const double ZeroMQ_SET_FLAGS_DEFAULT = 0x1
const double ZeroMQ_SET_FLAGS_DEBUG = 0x2

Enable debug output.

const double ZeroMQ_SET_FLAGS_IPV6 = 0x4

Enable ipv6 support.

const double ZeroMQ_SET_FLAGS_NOBUSYWAITRECV = 0x8

Don’t do busy waiting on zeromq_server_recv() and zeromq_client_recv() instead immediately return if no messages are available.

const double ZeroMQ_SET_FLAGS_LOGGING = 0x10

Log incoming and outgoing messages.

Error codes

const double ZeroMQ_UNKNOWN_SET_FLAG = 10003
const double ZeroMQ_INTERNAL_ERROR = 10004
const double ZeroMQ_INVALID_ARG = 10005
const double ZeroMQ_HANDLER_ALREADY_RUNNING = 10006
const double ZeroMQ_HANDLER_NO_CONNECTION = 10007
const double ZeroMQ_MISSING_PROCEDURE_FILES = 10008
const double ZeroMQ_INVALID_MESSAGE_FORMAT = 10009
const double ZeroMQ_INVALID_LOGGING_TEMPLATE = 10010
const double ZeroMQ_MESSAGE_FILTER_DUPLICATED = 10011
const double ZeroMQ_MESSAGE_FILTER_MISSING = 10012

Functions which might be useful for outside callers

variable ZeroMQ_WaveExists(string pathToWave)
wave ZeroMQ_GetWave(string pathToWave)
variable ZeroMQ_DataFolderExists(string pathToDataFolder)
string ZeroMQ_FunctionList(string matchStr)
string ZeroMQ_FunctionInfo(string functionNameStr)
variable ZeroMQ_ShowHelp(string topic)

Variables

const string ZeroMQ_HEARTBEAT = "heartbeat"
const double REQ_SUCCESS = 0
const double REQ_UNKNOWN_ERROR = 1
const double REQ_INVALID_JSON_OBJECT = 3
const double REQ_INVALID_VERSION = 4
const double REQ_INVALID_OPERATION = 5
const double REQ_INVALID_OPERATION_FORMAT = 6
const double REQ_INVALID_MESSAGEID = 7
const double REQ_OUT_OF_MEMORY = 8
const double REQ_PROC_NOT_COMPILED = 100
const double REQ_NON_EXISTING_FUNCTION = 101
const double REQ_TOO_FEW_FUNCTION_PARAMS = 102
const double REQ_TOO_MANY_FUNCTION_PARAMS = 103
const double REQ_UNSUPPORTED_FUNC_SIG = 104
const double REQ_UNSUPPORTED_FUNC_RET = 105
const double REQ_INVALID_PARAM_FORMAT = 106
const double REQ_FUNCTION_ABORTED = 107