INET Framework for OMNeT++/OMNEST
inet::EthernetSocket::ICallback Class Referenceabstract

#include <EthernetSocket.h>

Inheritance diagram for inet::EthernetSocket::ICallback:
inet::EthernetSocketIo

Public Member Functions

virtual ~ICallback ()
 
virtual void socketDataArrived (EthernetSocket *socket, Packet *packet)=0
 Notifies about data arrival, packet ownership is transferred to the callee. More...
 
virtual void socketErrorArrived (EthernetSocket *socket, Indication *indication)=0
 Notifies about error indication arrival, indication ownership is transferred to the callee. More...
 
virtual void socketClosed (EthernetSocket *socket)=0
 Notifies about the socket closed. More...
 

Constructor & Destructor Documentation

◆ ~ICallback()

virtual inet::EthernetSocket::ICallback::~ICallback ( )
inlinevirtual
23 {}

Member Function Documentation

◆ socketClosed()

virtual void inet::EthernetSocket::ICallback::socketClosed ( EthernetSocket socket)
pure virtual

Notifies about the socket closed.

Implemented in inet::EthernetSocketIo.

Referenced by inet::EthernetSocket::processMessage().

◆ socketDataArrived()

virtual void inet::EthernetSocket::ICallback::socketDataArrived ( EthernetSocket socket,
Packet packet 
)
pure virtual

Notifies about data arrival, packet ownership is transferred to the callee.

Implemented in inet::EthernetSocketIo.

Referenced by inet::EthernetSocket::processMessage().

◆ socketErrorArrived()

virtual void inet::EthernetSocket::ICallback::socketErrorArrived ( EthernetSocket socket,
Indication indication 
)
pure virtual

Notifies about error indication arrival, indication ownership is transferred to the callee.

Implemented in inet::EthernetSocketIo.


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