FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMErouteEntry.cpp File Reference
#include <stdlib.h>
#include <map>
#include <OMEruntime.h>
#include <OMEcrypto.h>
#include <OMErouteEntry.h>

Macros

#define DEFAULT_PEER_LIMIT   2
 

Functions

const OMEoidOMEfindGatewayToDestination (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...
 

Macro Definition Documentation

◆ DEFAULT_PEER_LIMIT

#define DEFAULT_PEER_LIMIT   2

Function Documentation

◆ addRoute()

int addRoute ( OMEthread thread,
OMEtype result,
const OMEtype destination,
const OMEtype gateway,
const OMEtype dist 
)

◆ getGatewayObject()

int getGatewayObject ( OMEthread thread,
OMEtype result,
const OMEtype arg 
)

◆ listRemoteSystems()

int listRemoteSystems ( OMEthread thread,
OMEtype result 
)

◆ OMEaddDestinationRoute()

int OMEaddDestinationRoute ( const OMEoid remoteRoot,
OMEoid forwardObj,
uint32_t  dist 
)

◆ OMEclearRoutingTable()

void OMEclearRoutingTable ( )

Clear the entire routing table.

Referenced by OMEcleanupGlobalData().

◆ OMEfindGatewayToDestination()

const OMEoid* OMEfindGatewayToDestination ( const OMEoid remoteObj)

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().

◆ OMEremoveDestinationRoute()

int OMEremoveDestinationRoute ( const OMEoid remoteRoot)

◆ removeRoute()

int removeRoute ( OMEthread thread,
OMEtype result,
const OMEtype destination,
const OMEtype gateway 
)
Generated: Tue Jul 28 2020 16:03:26
Support Information