Public Member Functions

UDPSocket::CallbackInterface Class Reference

#include <UDPSocket.h>

List of all members.

Public Member Functions

virtual ~CallbackInterface ()
virtual void socketDatagramArrived (int sockId, void *yourPtr, cMessage *msg, UDPControlInfo *ctrl)=0
virtual void socketPeerClosed (int sockId, void *yourPtr)

Detailed Description

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.

Definition at line 109 of file UDPSocket.h.


Constructor & Destructor Documentation

virtual UDPSocket::CallbackInterface::~CallbackInterface (  )  [inline, virtual]

Definition at line 112 of file UDPSocket.h.

{}


Member Function Documentation

virtual void UDPSocket::CallbackInterface::socketDatagramArrived ( int  sockId,
void *  yourPtr,
cMessage *  msg,
UDPControlInfo *  ctrl 
) [pure virtual]
virtual void UDPSocket::CallbackInterface::socketPeerClosed ( int  sockId,
void *  yourPtr 
) [inline, virtual]

Definition at line 114 of file UDPSocket.h.

Referenced by UDPSocket::processMessage().

{}


The documentation for this class was generated from the following file: