FARGOS/VISTA Object Management Environment Core
..
|
#include <stdlib.h>
#include <map>
#include <OMEruntime.h>
#include <OMEcrypto.h>
#include <OMErouteEntry.h>
Macros | |
#define | DEFAULT_PEER_LIMIT 2 |
Functions | |
const OMEoid * | OMEfindGatewayToDestination (const OMEoid *remoteObj) |
Lookup the gateway object to be used to send a messsage to a particular object identifier. More... | |
int | getGatewayObject (OMEthread *thread, OMEtype &result, const OMEtype &arg) |
int | OMEaddDestinationRoute (const OMEoid *remoteRoot, OMEoid *forwardObj, uint32_t dist) |
int | OMEremoveDestinationRoute (const OMEoid *remoteRoot) |
int | addRoute (OMEthread *thread, OMEtype &result, const OMEtype &destination, const OMEtype &gateway, const OMEtype &dist) |
int | removeRoute (OMEthread *thread, OMEtype &result, const OMEtype &destination, const OMEtype &gateway) |
int | listRemoteSystems (OMEthread *thread, OMEtype &result) |
void | OMEclearRoutingTable () |
Clear the entire routing table. More... | |
#define DEFAULT_PEER_LIMIT 2 |
int addRoute | ( | OMEthread * | thread, |
OMEtype & | result, | ||
const OMEtype & | destination, | ||
const OMEtype & | gateway, | ||
const OMEtype & | dist | ||
) |
References OMEtype::oid, OME_INT32, OME_OID, OMEaddDestinationRoute(), OMEtype::type, OMEtype::ui, and OMEtype::value.
References OMEtype::initializeAsType(), and OME_ARRAY.
References DEFAULT_PEER_LIMIT, OMEtype::i, l, OME_INT32, OME_STRING, OMEfindGatewayToDestination(), OMEgetLicenseAttribute(), OMEtype::s, OMEtype::type, and OMEtype::value.
Referenced by addRoute().
void OMEclearRoutingTable | ( | ) |
Clear the entire routing table.
Referenced by OMEcleanupGlobalData().
Lookup the gateway object to be used to send a messsage to a particular object identifier.
References OMEoidID::birthplace, and OMEoid::getObjectOID().
Referenced by getGatewayObject(), and OMEaddDestinationRoute().
int OMEremoveDestinationRoute | ( | const OMEoid * | remoteRoot | ) |
References OMEoidID::birthplace, and OMEoid::getObjectOID().
Referenced by removeRoute().
int removeRoute | ( | OMEthread * | thread, |
OMEtype & | result, | ||
const OMEtype & | destination, | ||
const OMEtype & | gateway | ||
) |
References OMEtype::oid, OME_OID, OMEremoveDestinationRoute(), OMEtype::type, and OMEtype::value.
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |