INET Framework for OMNeT++/OMNEST
|
#include <UDPSocket.h>
Public Member Functions | |
virtual | ~CallbackInterface () |
virtual void | socketDatagramArrived (int sockId, void *yourPtr, cMessage *msg, UDPControlInfo *ctrl)=0 |
virtual void | socketPeerClosed (int sockId, void *yourPtr) |
Abstract base class for your callback objects. See setCallbackObject() and processMessage() for more info.
Note: this class is not subclassed from cPolymorphic, because classes may have both this class and cSimpleModule as base class, and cSimpleModule is already a cPolymorphic.
virtual UDPSocket::CallbackInterface::~CallbackInterface | ( | ) | [inline, virtual] |
{}
virtual void UDPSocket::CallbackInterface::socketDatagramArrived | ( | int | sockId, |
void * | yourPtr, | ||
cMessage * | msg, | ||
UDPControlInfo * | ctrl | ||
) | [pure virtual] |
Referenced by UDPSocket::processMessage().
virtual void UDPSocket::CallbackInterface::socketPeerClosed | ( | int | sockId, |
void * | yourPtr | ||
) | [inline, virtual] |
Referenced by UDPSocket::processMessage().
{}