FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMErouteEntry.h
Go to the documentation of this file.
1 #ifndef _OME_ROUTE_ENTRY_H
2 #define _OME_ROUTE_ENTRY_H "$Id: OMErouteEntry.h 453 2020-07-23 20:20:44Z geoff $"
4 
6 // inter-process routing info
7 
12 public:
16  uint32_t distance;
17 
18  OMErouteEntry(const OMEentityID &id, const OMEoid &rmtRoot, const OMEoid &fwdObj, uint32_t dist) {
19  destID = id;
20  remoteRoot = new OMEoid(rmtRoot);
21  forwardingObject = new OMEoid(fwdObj);
22  distance = dist;
23  }
24 
26  delete remoteRoot;
27  delete forwardingObject;
28  }
29 }; // end class OMErouteEntry
30 
35 
38 
39 #endif
40 /* vim: set expandtab shiftwidth=4 tabstop=4: */
l
Ïúíþ ð Ø ˜ ˜ __text __TEXT € __apple_names __DWARF __apple_objc __DWARF __apple_namespac__DWARF H X __apple_types __DWARF l
Definition: tmp3.o.cpp:1
OMEtype::initializeAsType
void initializeAsType(const enum OMEtypes_t t)
The fundamental tagged data type used through the FARGOS/VISTA infrastructure.
Definition: OMEtype.cpp:95
OMErouteEntry::~OMErouteEntry
~OMErouteEntry()
Definition: OMErouteEntry.h:25
getGatewayObject
int getGatewayObject(OMEthread *thread, OMEtype &result, const OMEtype &arg)
Definition: OMErouteEntry.cpp:34
OMEaddDestinationRoute
int OMEaddDestinationRoute(const OMEoid *remoteRoot, OMEoid *forwardObj, uint32_t dist)
Definition: OMErouteEntry.cpp:51
OMEstring.h
OME string implementation.
OMEruntime.h
OMErouteEntry::remoteRoot
OMEoid * remoteRoot
Definition: OMErouteEntry.h:14
addRoute
int addRoute(OMEthread *thread, OMEtype &result, const OMEtype &destination, const OMEtype &gateway, const OMEtype &dist)
Definition: OMErouteEntry.cpp:106
OMEclearRoutingTable
void OMEclearRoutingTable()
Clear the entire routing table.
Definition: OMErouteEntry.cpp:158
OMEtype::value
union OMEtype::@26 value
OMEtype
Fundamental ANY type for FARGOS/VISTA Object Management Environment.
Definition: OMEbaseType.h:250
OMErouteEntry::OMErouteEntry
OMErouteEntry(const OMEentityID &id, const OMEoid &rmtRoot, const OMEoid &fwdObj, uint32_t dist)
Definition: OMErouteEntry.h:18
OMErouteEntry::destID
OMEentityID destID
Definition: OMErouteEntry.h:13
OMEtype::oid
class OMEoid * oid
Definition: OMEbaseType.h:297
OMEtype::s
class OMEstring * s
Definition: OMEbaseType.h:299
OMEclearRoutingTable
void OMEclearRoutingTable()
Clear the entire routing table.
Definition: OMErouteEntry.cpp:158
OMErouteEntry
Represents route to a remote FARGOS/VISTA Object Management Environment instance or attached applicat...
Definition: OMErouteEntry.h:11
OMEgetLicenseAttribute
OMEtype * OMEgetLicenseAttribute(const OMEstring &attrName, OMEstring *retFileName=0)
Definition: OMElicense.cpp:521
OMEtype::i
int32_t i
Definition: OMEbaseType.h:285
OMErouteEntry::distance
uint32_t distance
Definition: OMErouteEntry.h:16
OMEentityID
Identifies an instance of an OME process.
Definition: OMEprocInfo.h:19
srcID
const char srcID[]
Definition: catSym.c:17
OME_STRING
@ OME_STRING
Definition: OMEmanifests.h:85
findSubstring
ssize_t findSubstring(const unsigned char *source, size_t srcLen, const unsigned char *subString, size_t subLen)
Searches for a substring within a buffer.
Definition: OMEstring.cpp:60
listRemoteSystems
int listRemoteSystems(OMEthread *thread, OMEtype &result)
Definition: OMErouteEntry.cpp:142
OMEcrypto.h
OME_NIL
@ OME_NIL
Definition: OMEmanifests.h:78
OME_OID
@ OME_OID
Definition: OMEmanifests.h:84
NULL
#define NULL
Definition: tmp.o.cpp:327
OMEoid::getObjectOID
void getObjectOID(OMEoidID *result) const
Definition: OMEoid.h:290
OMEtype::ui
uint32_t ui
Definition: OMEbaseType.h:286
OMEfindGatewayToDestination
const OMEoid * OMEfindGatewayToDestination(const OMEoid *)
Lookup the gateway object to be used to send a messsage to a particular object identifier.
Definition: OMErouteEntry.cpp:18
OME_USED
const char srcID[] OME_USED
Definition: tick_time.cpp:24
OMEoidID::birthplace
OMEentityID birthplace
Definition: OMEoid.h:31
OMEdefOIL2func
Record to define the implementation of an OIL2 function.
Definition: OMEthread.h:287
DEFAULT_PEER_LIMIT
#define DEFAULT_PEER_LIMIT
Definition: OMErouteEntry.cpp:12
OME_EXPECT_FALSE
#define OME_EXPECT_FALSE(expr)
Annotation macro for conditional expression expected to be false.
Definition: compiler_hints.h:540
OMErouteEntry.h
removeRoute
int removeRoute(OMEthread *thread, OMEtype &result, const OMEtype &destination, const OMEtype &gateway)
Definition: OMErouteEntry.cpp:127
OMEremoveDestinationRoute
int OMEremoveDestinationRoute(const OMEoid *remoteRoot)
Definition: OMErouteEntry.cpp:87
OMEthread
Public interface to an OME thread.
Definition: OMEthread.h:60
OMEoid
Public interface to an OME Object Identifier.
Definition: OMEoid.h:196
OMEtype::type
uint32_t type
Definition: OMEbaseType.h:304
main
int main(int argc, const char *argv[])
Definition: OMEregNTserv.cpp:170
OME_ARRAY
@ OME_ARRAY
Definition: OMEmanifests.h:86
OMEarray::ARRAY_SUBSCRIPT_t
OMEarrayStorage::ARRAY_SUBSCRIPT_t ARRAY_SUBSCRIPT_t
Definition: OMEarray.h:90
OMEfindGatewayToDestination
const OMEoid * OMEfindGatewayToDestination(const OMEoid *remoteObj)
Lookup the gateway object to be used to send a messsage to a particular object identifier.
Definition: OMErouteEntry.cpp:18
OMErouteEntry::forwardingObject
OMEoid * forwardingObject
Definition: OMErouteEntry.h:15
OMEoidID
Fundamental elements of an OME object identifier.
Definition: OMEoid.h:27
OME_INT32
@ OME_INT32
Definition: OMEmanifests.h:79
Generated: Tue Jul 28 2020 16:03:25
Support Information