INET Framework for OMNeT++/OMNEST
inet::TCPSocket::CallbackInterface Class Referenceabstract

Abstract base class for your callback objects. More...

#include <TCPSocket.h>

Inheritance diagram for inet::TCPSocket::CallbackInterface:
inet::bgp::BGPRouting inet::httptools::HttpBrowser inet::httptools::HttpServer inet::LDP inet::TCPAppBase inet::TCPServerThreadBase inet::httptools::HttpServerEvilA inet::httptools::HttpServerEvilB inet::TCPBasicClientApp inet::TCPSessionApp inet::TelnetApp inet::TCPGenericSrvThread inet::PacketDrillApp

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)
 
virtual void socketDeleted (int connId, 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 cObject, because classes may have both this class and cSimpleModule as base class, and cSimpleModule is already a cObject.

Constructor & Destructor Documentation

virtual inet::TCPSocket::CallbackInterface::~CallbackInterface ( )
inlinevirtual
138 {}

Member Function Documentation

virtual void inet::TCPSocket::CallbackInterface::socketClosed ( int  connId,
void *  yourPtr 
)
inlinevirtual
virtual void inet::TCPSocket::CallbackInterface::socketDataArrived ( int  connId,
void *  yourPtr,
cPacket *  msg,
bool  urgent 
)
pure virtual
virtual void inet::TCPSocket::CallbackInterface::socketDeleted ( int  connId,
void *  yourPtr 
)
inlinevirtual

Reimplemented in inet::httptools::HttpBrowser.

Referenced by inet::TCPSocket::~TCPSocket().

145 {}
virtual void inet::TCPSocket::CallbackInterface::socketEstablished ( int  connId,
void *  yourPtr 
)
inlinevirtual
virtual void inet::TCPSocket::CallbackInterface::socketFailure ( int  connId,
void *  yourPtr,
int  code 
)
inlinevirtual
virtual void inet::TCPSocket::CallbackInterface::socketPeerClosed ( int  connId,
void *  yourPtr 
)
inlinevirtual
virtual void inet::TCPSocket::CallbackInterface::socketStatusArrived ( int  connId,
void *  yourPtr,
TCPStatusInfo status 
)
inlinevirtual

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