TCPSocket::CallbackInterface Class Reference

#include <TCPSocket.h>

Inheritance diagram for TCPSocket::CallbackInterface:

LDP TCPGenericCliAppBase TCPServerThreadBase TCPBasicClientApp TelnetApp TCPGenericSrvThread List of all members.

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.


Public Member Functions

virtual ~CallbackInterface ()
virtual void socketDataArrived (int connId, void *yourPtr, cMessage *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)


Constructor & Destructor Documentation

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

00138 {}


Member Function Documentation

virtual void TCPSocket::CallbackInterface::socketClosed ( int  connId,
void *  yourPtr 
) [inline, virtual]

Reimplemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.

00142 {}

virtual void TCPSocket::CallbackInterface::socketDataArrived ( int  connId,
void *  yourPtr,
cMessage *  msg,
bool  urgent 
) [pure virtual]

Implemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.

virtual void TCPSocket::CallbackInterface::socketEstablished ( int  connId,
void *  yourPtr 
) [inline, virtual]

Reimplemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.

00140 {}

virtual void TCPSocket::CallbackInterface::socketFailure ( int  connId,
void *  yourPtr,
int  code 
) [inline, virtual]

Reimplemented in TCPBasicClientApp, TCPGenericCliAppBase, TCPServerThreadBase, TelnetApp, and LDP.

00143 {}

virtual void TCPSocket::CallbackInterface::socketPeerClosed ( int  connId,
void *  yourPtr 
) [inline, virtual]

Reimplemented in TCPGenericCliAppBase, TCPServerThreadBase, and LDP.

00141 {}

virtual void TCPSocket::CallbackInterface::socketStatusArrived ( int  connId,
void *  yourPtr,
TCPStatusInfo status 
) [inline, virtual]

Reimplemented in TCPGenericCliAppBase, TCPServerThreadBase, and LDP.

00144 {delete status;}


The documentation for this class was generated from the following file:
Generated on Wed Apr 4 13:20:24 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7