Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Callbacks used for connecting to other servers as a client. More...
#include <Network.h>
Public Member Functions | |
virtual void | OnConnected (cTCPLink &a_Link)=0 |
Called when the Connect call succeeds. More... | |
virtual void | OnError (int a_ErrorCode, const AString &a_ErrorMsg)=0 |
Called when the Connect call fails. More... | |
virtual | ~cConnectCallbacks () |
Callbacks used for connecting to other servers as a client.
|
inlinevirtual |
|
pure virtual |
Called when the Connect call succeeds.
Provides the newly created link that can be used for communication.
Implemented in cBlockingSslClientSocketConnectCallbacks, cUrlClientRequest, and cLuaTCPLink.
|
pure virtual |
Called when the Connect call fails.
Implemented in cBlockingSslClientSocketConnectCallbacks, cUrlClientRequest, and cLuaTCPLink.