FARGOS/VISTA Object Management Environment Core
..
|
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <OMEapi.h>
#include <OMEencode.h>
#include <OMEcrypto.h>
#include <OMEfunctions.h>
#include <OMEdebugInfo.h>
#include <OMEobjACL.h>
#include <utils/logging/logging_api.hpp>
Macros | |
#define | THIS_COMPONENT app |
#define | _SEND_TO_PEER(v) { OMEstring *_ts = encodeData(v); rc = sendString(*_ts); delete _ts; } |
#define | _RECEIVE_FROM_PEER(v) { OMEstring *_ts = receiveString(&rc); if (_ts != 0) { OMEtype *v2; v2 = decodeData(*_ts); delete _ts; if (v2 != nullptr) v = v2; else rc = -1; } } |
Variables | |
const int | FORWARD_CMD = 1 |
const int | CMD_SUBSCRIPT = 1 |
const int | ARGV_SUBSCRIPT = 2 |
const int | CONTEXT_SUBSCRIPT = 3 |
const int | USERINFO_SUBSCRIPT = 4 |
#define _RECEIVE_FROM_PEER | ( | v | ) | { OMEstring *_ts = receiveString(&rc); if (_ts != 0) { OMEtype *v2; v2 = decodeData(*_ts); delete _ts; if (v2 != nullptr) v = v2; else rc = -1; } } |
#define _SEND_TO_PEER | ( | v | ) | { OMEstring *_ts = encodeData(v); rc = sendString(*_ts); delete _ts; } |
#define THIS_COMPONENT app |
const int ARGV_SUBSCRIPT = 2 |
Referenced by OMEapi::importInvocation(), and OMEapi::invokeMethod().
const int CMD_SUBSCRIPT = 1 |
const int CONTEXT_SUBSCRIPT = 3 |
Referenced by OMEapi::importInvocation(), and OMEapi::invokeMethod().
const int FORWARD_CMD = 1 |
Referenced by OMEapi::invokeMethod().
const int USERINFO_SUBSCRIPT = 4 |
Referenced by OMEapi::importInvocation(), and OMEapi::invokeMethod().
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |