Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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]
 

00122 {}


Member Function Documentation

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

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

00126 {}

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.

00124 {}

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

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

00127 {}

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

Reimplemented in TCPGenericCliAppBase, TCPServerThreadBase, and LDP.

00125 {}

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

Reimplemented in TCPGenericCliAppBase, TCPServerThreadBase, and LDP.

00128 {delete status;}


The documentation for this class was generated from the following file:
Generated on Sat Apr 1 20:52:25 2006 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.1