Classes | Defines | Enumerations | Functions | Variables

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

Defines

#define MSGC_VERSION   0x0401
#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

Define 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   0x0401

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,
    GIA_SEARCH = 1,
    GIA_ANSWER = 2
};


Function Documentation

void doPacking ( cCommBuffer *  b,
GIASearchAppMessage obj 
) [inline]

Definition at line 77 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
GIAremove obj 
) [inline]

Definition at line 145 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
GIAanswer obj 
) [inline]

Definition at line 224 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
GIAput obj 
) [inline]

Definition at line 115 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}

void doPacking ( cCommBuffer *  b,
GIAsearch obj 
) [inline]

Definition at line 184 of file ExtAPIMessages_m.h.

{obj.parsimPack(b);}

void doUnpacking ( cCommBuffer *  b,
GIAremove obj 
) [inline]

Definition at line 146 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
GIASearchAppMessage obj 
) [inline]

Definition at line 78 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
GIAanswer obj 
) [inline]

Definition at line 225 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
GIAsearch obj 
) [inline]

Definition at line 185 of file ExtAPIMessages_m.h.

{obj.parsimUnpack(b);}

void doUnpacking ( cCommBuffer *  b,
GIAput obj 
) [inline]

Definition at line 116 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.