17 #ifndef __OMNETPP_CPARSIMPROTOCOLBASE_H
18 #define __OMNETPP_CPARSIMPROTOCOLBASE_H
20 #include "cparsimsynchr.h"
36 virtual void receiveNonblocking();
40 virtual bool receiveBlocking();
43 virtual void processReceivedBuffer(cCommBuffer *buffer,
int tag,
int sourceProcId);
46 virtual void processReceivedMessage(cMessage *msg,
const SendOptions& options,
int destModuleId,
int destGateId,
int sourceProcId);
49 SendOptions unpackOptions(cCommBuffer *buffer);
50 void packOptions(cCommBuffer *buffer,
const SendOptions& options);
66 virtual void processOutgoingMessage(cMessage *msg,
const SendOptions& options,
int procId,
int moduleId,
int gateId,
void *data)
override;