Classes | Defines | Functions

P2pnsMessage_m.h File Reference

#include <omnetpp.h>
#include <IPvXAddress.h>
#include <NodeHandle.h>
#include <TransportAddress.h>
#include <CommonMessages_m.h>
#include <BinaryValue.h>

Go to the source code of this file.

Classes

class  P2pnsTunnelMessage
 Class generated from tier2/p2pns/P2pnsMessage.msg by opp_msgc. More...
class  P2pnsKeepaliveTimer
 Class generated from tier2/p2pns/P2pnsMessage.msg by opp_msgc. More...

Defines

#define MSGC_VERSION   0x0401
#define P2PNSTUNNELMESSAGE_L(msg)

Functions

void doPacking (cCommBuffer *b, P2pnsTunnelMessage &obj)
void doUnpacking (cCommBuffer *b, P2pnsTunnelMessage &obj)
void doPacking (cCommBuffer *b, P2pnsKeepaliveTimer &obj)
void doUnpacking (cCommBuffer *b, P2pnsKeepaliveTimer &obj)

Define Documentation

#define MSGC_VERSION   0x0401

Definition at line 11 of file P2pnsMessage_m.h.

#define P2PNSTUNNELMESSAGE_L (   msg  ) 
Value:
(KEY_L + \
                                   msg->getPayload().size() * sizeof(char))

Definition at line 23 of file P2pnsMessage_m.h.

Referenced by P2pns::sendTunnelMessage().


Function Documentation

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

Definition at line 66 of file P2pnsMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 101 of file P2pnsMessage_m.h.

{obj.parsimPack(b);}

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

Definition at line 102 of file P2pnsMessage_m.h.

{obj.parsimUnpack(b);}

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

Definition at line 67 of file P2pnsMessage_m.h.

{obj.parsimUnpack(b);}