INET Framework for OMNeT++/OMNEST
|
#include <TCPSocket.h>
Public Member Functions | |
virtual | ~CallbackInterface () |
virtual void | socketDataArrived (int connId, void *yourPtr, cPacket *msg, bool urgent)=0 |
virtual void | socketEstablished (int connId, void *yourPtr) |
virtual void | socketPeerClosed (int connId, void *yourPtr) |
virtual void | socketClosed (int connId, void *yourPtr) |
virtual void | socketFailure (int connId, void *yourPtr, int code) |
virtual void | socketStatusArrived (int connId, void *yourPtr, TCPStatusInfo *status) |
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 TCPSocket::CallbackInterface::~CallbackInterface | ( | ) | [inline, virtual] |
{}
virtual void TCPSocket::CallbackInterface::socketClosed | ( | int | connId, |
void * | yourPtr | ||
) | [inline, virtual] |
Reimplemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.
Referenced by TCPSocket::processMessage().
{}
virtual void TCPSocket::CallbackInterface::socketDataArrived | ( | int | connId, |
void * | yourPtr, | ||
cPacket * | msg, | ||
bool | urgent | ||
) | [pure virtual] |
Implemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.
Referenced by TCPSocket::processMessage().
virtual void TCPSocket::CallbackInterface::socketEstablished | ( | int | connId, |
void * | yourPtr | ||
) | [inline, virtual] |
Reimplemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.
Referenced by TCPSocket::processMessage().
{}
virtual void TCPSocket::CallbackInterface::socketFailure | ( | int | connId, |
void * | yourPtr, | ||
int | code | ||
) | [inline, virtual] |
Reimplemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.
Referenced by TCPSocket::processMessage().
{}
virtual void TCPSocket::CallbackInterface::socketPeerClosed | ( | int | connId, |
void * | yourPtr | ||
) | [inline, virtual] |
Reimplemented in TCPGenericCliAppBase, TCPServerThreadBase, and LDP.
Referenced by TCPSocket::processMessage().
{}
virtual void TCPSocket::CallbackInterface::socketStatusArrived | ( | int | connId, |
void * | yourPtr, | ||
TCPStatusInfo * | status | ||
) | [inline, virtual] |
Reimplemented in TCPGenericCliAppBase, TCPServerThreadBase, and LDP.
Referenced by TCPSocket::processMessage().
{delete status;}