OverSim
ExtAPIMessages_m.h File Reference
#include <omnetpp.h>
#include <CommonMessages_m.h>

Go to the source code of this file.

Classes

class  GIASearchAppMessage
 Class generated from common/ExtAPIMessages.msg by opp_msgc. More...
class  GIAput
 Class generated from common/ExtAPIMessages.msg by opp_msgc. More...
class  GIAremove
 Class generated from common/ExtAPIMessages.msg by opp_msgc. More...
class  GIAsearch
 Class generated from common/ExtAPIMessages.msg by opp_msgc. More...
class  GIAanswer
 Class generated from common/ExtAPIMessages.msg by opp_msgc. More...

Macros

#define MSGC_VERSION   0x0402
#define GIASEARCHAPP_L(msg)   (GIAAPPCOMMAND_L)
#define GIAPUT_L(msg)   (GIASEARCHAPP_L(msg) + msg->getKeysArraySize() * KEY_L)
#define GIAGET_L(msg)   (GIASEARCHAPP_L(msg) + KEY_L + MAXRESPONSES_L)
#define GIAGETRSP_L(msg)   (GIASEARCHAPP_L(msg) + KEY_L + NODEHANDLE_L)

Enumerations

enum  GIAAppCommand { GIA_PUT = 0, GIA_SEARCH = 1, GIA_ANSWER = 2 }
 Enum generated from common/ExtAPIMessages.msg by opp_msgc. More...

Functions

void doPacking (cCommBuffer *b, GIASearchAppMessage &obj)
void doUnpacking (cCommBuffer *b, GIASearchAppMessage &obj)
void doPacking (cCommBuffer *b, GIAput &obj)
void doUnpacking (cCommBuffer *b, GIAput &obj)
void doPacking (cCommBuffer *b, GIAremove &obj)
void doUnpacking (cCommBuffer *b, GIAremove &obj)
void doPacking (cCommBuffer *b, GIAsearch &obj)
void doUnpacking (cCommBuffer *b, GIAsearch &obj)
void doPacking (cCommBuffer *b, GIAanswer &obj)
void doUnpacking (cCommBuffer *b, GIAanswer &obj)

Variables

static const int GIAAPPCOMMAND_L = 8

Macro Definition Documentation

#define GIAGET_L (   msg)    (GIASEARCHAPP_L(msg) + KEY_L + MAXRESPONSES_L)

Definition at line 22 of file ExtAPIMessages_m.h.

Referenced by GIASearchApp::handleTimerEvent().

#define GIAGETRSP_L (   msg)    (GIASEARCHAPP_L(msg) + KEY_L + NODEHANDLE_L)

Definition at line 23 of file ExtAPIMessages_m.h.

Referenced by Gia::deliverSearchResult().

#define GIAPUT_L (   msg)    (GIASEARCHAPP_L(msg) + msg->getKeysArraySize() * KEY_L)

Definition at line 21 of file ExtAPIMessages_m.h.

Referenced by GIASearchApp::handleTimerEvent().

#define GIASEARCHAPP_L (   msg)    (GIAAPPCOMMAND_L)

Definition at line 20 of file ExtAPIMessages_m.h.

#define MSGC_VERSION   0x0402

Definition at line 11 of file ExtAPIMessages_m.h.

Enumeration Type Documentation

Enum generated from common/ExtAPIMessages.msg by opp_msgc.

enum GIAAppCommand
{

GIA_PUT = 0;
GIA_SEARCH = 1;
GIA_ANSWER = 2;

}

Enumerator:
GIA_PUT 
GIA_SEARCH 
GIA_ANSWER 

Definition at line 40 of file ExtAPIMessages_m.h.

{
GIA_PUT = 0,
};

Function Documentation

void doPacking ( cCommBuffer *  b,
GIASearchAppMessage obj 
)
inline

Definition at line 81 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GIAput obj 
)
inline

Definition at line 123 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GIAremove obj 
)
inline

Definition at line 157 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GIAsearch obj 
)
inline

Definition at line 200 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}
void doPacking ( cCommBuffer *  b,
GIAanswer obj 
)
inline

Definition at line 244 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}
void doUnpacking ( cCommBuffer *  b,
GIASearchAppMessage obj 
)
inline

Definition at line 82 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GIAput obj 
)
inline

Definition at line 124 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GIAremove obj 
)
inline

Definition at line 158 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GIAsearch obj 
)
inline

Definition at line 201 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}
void doUnpacking ( cCommBuffer *  b,
GIAanswer obj 
)
inline

Definition at line 245 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}

Variable Documentation

const int GIAAPPCOMMAND_L = 8
static

Definition at line 19 of file ExtAPIMessages_m.h.