Classified ads
Public Member Functions | List of all members
Connection::ConnectionObserver Class Referenceabstract

Interface for receiving network traffic. More...

#include <connection.h>

Inheritance diagram for Connection::ConnectionObserver:
Inheritance graph
[legend]

Public Member Functions

virtual bool dataReceived (const QByteArray &aData, Connection &aConnection)=0
 
virtual void connectionClosed (Connection *aDeletee)=0
 
virtual void connectionReady (Connection *aBusinessEntity)=0
 

Detailed Description

Interface for receiving network traffic.

class that must be implemented by animals that wish to receive data from connection

Member Function Documentation

◆ connectionClosed()

virtual void Connection::ConnectionObserver::connectionClosed ( Connection aDeletee)
pure virtual

method for communicating fact that connection ends

Implemented in NetworkListener.

◆ connectionReady()

virtual void Connection::ConnectionObserver::connectionReady ( Connection aBusinessEntity)
pure virtual

method for communicating fact that connection is open for business

Implemented in NetworkListener.

◆ dataReceived()

virtual bool Connection::ConnectionObserver::dataReceived ( const QByteArray &  aData,
Connection aConnection 
)
pure virtual

method for sending data received

Implemented in NetworkListener.


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