FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEapi.cpp File Reference
#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
 

Macro Definition Documentation

◆ _RECEIVE_FROM_PEER

#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; } }

◆ _SEND_TO_PEER

#define _SEND_TO_PEER (   v)    { OMEstring *_ts = encodeData(v); rc = sendString(*_ts); delete _ts; }

◆ THIS_COMPONENT

#define THIS_COMPONENT   app

Variable Documentation

◆ ARGV_SUBSCRIPT

const int ARGV_SUBSCRIPT = 2

◆ CMD_SUBSCRIPT

const int CMD_SUBSCRIPT = 1

◆ CONTEXT_SUBSCRIPT

const int CONTEXT_SUBSCRIPT = 3

◆ FORWARD_CMD

const int FORWARD_CMD = 1

Referenced by OMEapi::invokeMethod().

◆ USERINFO_SUBSCRIPT

const int USERINFO_SUBSCRIPT = 4
Generated: Fri Jul 31 2020 18:19:15
Support Information