RINASim  October 2016
Documentation of framework for OMNeT++
DA Class Reference

#include <DA.h>

Inheritance diagram for DA:

Public Member Functions

DirectoryEntryresolveApn (const APN &apn)
 
const AddressresolveApnToBestAddress (const APN &apn)
 
const AddressresolveApnToBestAddress (const APN &apn, const DAP &difName)
 
const AddressesresolveApnToAddressList (const APN &apn, const DAP &difName)
 
const APNListfindApnNeigbors (const APN &apn)
 
const APNListfindNeigborApns (const APN &neighbor)
 
bool isAppLocal (const APN &apn)
 
bool isDifLocal (const DAP &difName)
 
bool isIpcLocal (cModule *ipc)
 
cModule * getDifMember (const DAP &difName)
 
cModule * findIpc (const Address &addr)
 
FABasefindFaInsideIpc (cModule *ipc)
 
cModule * findApp (const APN &apn)
 
bool isDifLocalToIpc (const std::string difName, cModule *ipc)
 
bool isIpcXLocalToIpcY (cModule *ipcX, cModule *ipcY)
 

Protected Member Functions

virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)
 
void initPointers ()
 

Protected Attributes

DirectoryDir
 
NamingInformationNamInfo
 
NeighborTableNeighborTab
 
SearchTableSearchTab
 

Detailed Description

Definition at line 43 of file DA.h.

Member Function Documentation

const APNList * DA::findApnNeigbors ( const APN apn)

Definition at line 27 of file DA.cc.

Referenced by FA::changeDstAddresses(), and FA::getAddressFromDa().

cModule * DA::findApp ( const APN apn)

Definition at line 204 of file DA.cc.

FABase * DA::findFaInsideIpc ( cModule *  ipc)

Definition at line 183 of file DA.cc.

Referenced by RA::createNM1Flow(), RA::createNM1FlowWithoutAllocate(), and IRM::newFlow().

cModule * DA::findIpc ( const Address addr)

Definition at line 170 of file DA.cc.

const APNList * DA::findNeigborApns ( const APN neighbor)

Definition at line 69 of file DA.cc.

cModule * DA::getDifMember ( const DAP difName)

Definition at line 158 of file DA.cc.

Referenced by RA::createNM1Flow(), RA::createNM1FlowWithoutAllocate(), and IRM::newFlow().

void DA::handleMessage ( cMessage *  msg)
protectedvirtual

Definition at line 199 of file DA.cc.

void DA::initialize ( )
protectedvirtual

Definition at line 81 of file DA.cc.

void DA::initPointers ( )
protected

Definition at line 73 of file DA.cc.

Referenced by initialize().

bool DA::isAppLocal ( const APN apn)

Definition at line 119 of file DA.cc.

Referenced by FA::receiveAllocateRequest(), and FA::receiveCreateFlowRequestFromRibd().

bool DA::isDifLocal ( const DAP difName)
bool DA::isDifLocalToIpc ( const std::string  difName,
cModule *  ipc 
)

Check whether any IPC within given DIF name is available on computation system with source IPC

Parameters
difNameGiven DIF name
ipcSource IPC Process
Returns
True if yes, otherwise false

Definition at line 93 of file DA.cc.

bool DA::isIpcLocal ( cModule *  ipc)

Definition at line 148 of file DA.cc.

bool DA::isIpcXLocalToIpcY ( cModule *  ipcX,
cModule *  ipcY 
)

Check whether given IPC X is on the same computation system as IPC Y

Parameters
ipcXtarget
ipcYsource
Returns
True if yes, otherwise false.

Definition at line 111 of file DA.cc.

Referenced by isDifLocalToIpc().

DirectoryEntry * DA::resolveApn ( const APN apn)

Definition at line 187 of file DA.cc.

Referenced by resolveApnToAddressList(), and resolveApnToBestAddress().

const Addresses * DA::resolveApnToAddressList ( const APN apn,
const DAP difName 
)

Definition at line 216 of file DA.cc.

const Address * DA::resolveApnToBestAddress ( const APN apn)
const Address * DA::resolveApnToBestAddress ( const APN apn,
const DAP difName 
)

Definition at line 50 of file DA.cc.

Member Data Documentation

Directory* DA::Dir
protected

Definition at line 90 of file DA.h.

Referenced by initPointers(), and resolveApn().

NamingInformation* DA::NamInfo
protected

Definition at line 91 of file DA.h.

Referenced by initPointers(), and resolveApn().

NeighborTable* DA::NeighborTab
protected

Definition at line 92 of file DA.h.

Referenced by findApnNeigbors(), findNeigborApns(), and initPointers().

SearchTable* DA::SearchTab
protected

Definition at line 93 of file DA.h.

Referenced by initPointers().


The documentation for this class was generated from the following files: