Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
con::PeerHandler Class Referenceabstract

#include <peerhandler.h>

+ Inheritance diagram for con::PeerHandler:

Public Member Functions

 PeerHandler ()=default
 
virtual ~PeerHandler ()=default
 
virtual void peerAdded (IPeer *peer)=0
 
virtual void deletingPeer (IPeer *peer, bool timeout)=0
 

Constructor & Destructor Documentation

◆ PeerHandler()

con::PeerHandler::PeerHandler ( )
default

◆ ~PeerHandler()

virtual con::PeerHandler::~PeerHandler ( )
virtualdefault

Member Function Documentation

◆ deletingPeer()

virtual void con::PeerHandler::deletingPeer ( IPeer * peer,
bool timeout )
pure virtual

Implemented in Client, Handler, and Server.

Referenced by con::Connection::ReceiveTimeoutMs().

+ Here is the caller graph for this function:

◆ peerAdded()

virtual void con::PeerHandler::peerAdded ( IPeer * peer)
pure virtual

Implemented in Client, Handler, and Server.

Referenced by con::Connection::ReceiveTimeoutMs().

+ Here is the caller graph for this function:

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