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   0x0400
#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 23 of file ExtAPIMessages_m.h.

Referenced by GIASearchApp::handleTimerEvent().

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

Definition at line 24 of file ExtAPIMessages_m.h.

Referenced by Gia::deliverSearchResult().

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

Definition at line 22 of file ExtAPIMessages_m.h.

Referenced by GIASearchApp::handleTimerEvent().

#define GIASEARCHAPP_L ( msg   )     (GIAAPPCOMMAND_L)

Definition at line 21 of file ExtAPIMessages_m.h.

#define MSGC_VERSION   0x0400

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 41 of file ExtAPIMessages_m.h.

00041                    {
00042     GIA_PUT = 0,
00043     GIA_SEARCH = 1,
00044     GIA_ANSWER = 2
00045 };


Function Documentation

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

Definition at line 225 of file ExtAPIMessages_m.h.

00225 {obj.parsimPack(b);}

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

Definition at line 185 of file ExtAPIMessages_m.h.

00185 {obj.parsimPack(b);}

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

Definition at line 146 of file ExtAPIMessages_m.h.

00146 {obj.parsimPack(b);}

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

Definition at line 116 of file ExtAPIMessages_m.h.

00116 {obj.parsimPack(b);}

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

Definition at line 78 of file ExtAPIMessages_m.h.

00078 {obj.parsimPack(b);}

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

Definition at line 226 of file ExtAPIMessages_m.h.

00226 {obj.parsimUnpack(b);}

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

Definition at line 186 of file ExtAPIMessages_m.h.

00186 {obj.parsimUnpack(b);}

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

Definition at line 147 of file ExtAPIMessages_m.h.

00147 {obj.parsimUnpack(b);}

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

Definition at line 117 of file ExtAPIMessages_m.h.

00117 {obj.parsimUnpack(b);}

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

Definition at line 79 of file ExtAPIMessages_m.h.

00079 {obj.parsimUnpack(b);}


Variable Documentation

const int GIAAPPCOMMAND_L = 8 [static]

Definition at line 20 of file ExtAPIMessages_m.h.


Generated on Tue Sep 8 17:26:55 2009 for OverSim by  doxygen 1.5.8