Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cBlockingSslClientSocketConnectCallbacks Class Reference
Inheritance diagram for cBlockingSslClientSocketConnectCallbacks:
Inheritance graph
[legend]
Collaboration diagram for cBlockingSslClientSocketConnectCallbacks:
Collaboration graph
[legend]

Public Member Functions

 cBlockingSslClientSocketConnectCallbacks (cBlockingSslClientSocket &a_Socket)
 
- Public Member Functions inherited from cNetwork::cConnectCallbacks
virtual ~cConnectCallbacks ()
 

Private Member Functions

virtual void OnConnected (cTCPLink &a_Link) override
 Called when the Connect call succeeds. More...
 
virtual void OnError (int a_ErrorCode, const AString &a_ErrorMsg) override
 Called when the Connect call fails. More...
 

Private Attributes

cBlockingSslClientSocketm_Socket
 The socket object that is using this instance of the callbacks. More...
 

Detailed Description

Definition at line 16 of file BlockingSslClientSocket.cpp.

Constructor & Destructor Documentation

◆ cBlockingSslClientSocketConnectCallbacks()

cBlockingSslClientSocketConnectCallbacks::cBlockingSslClientSocketConnectCallbacks ( cBlockingSslClientSocket a_Socket)
inline

Definition at line 33 of file BlockingSslClientSocket.cpp.

Member Function Documentation

◆ OnConnected()

virtual void cBlockingSslClientSocketConnectCallbacks::OnConnected ( cTCPLink a_Link)
inlineoverrideprivatevirtual

Called when the Connect call succeeds.

Provides the newly created link that can be used for communication.

Implements cNetwork::cConnectCallbacks.

Definition at line 22 of file BlockingSslClientSocket.cpp.

◆ OnError()

virtual void cBlockingSslClientSocketConnectCallbacks::OnError ( int  a_ErrorCode,
const AString a_ErrorMsg 
)
inlineoverrideprivatevirtual

Called when the Connect call fails.

Implements cNetwork::cConnectCallbacks.

Definition at line 27 of file BlockingSslClientSocket.cpp.

Member Data Documentation

◆ m_Socket

cBlockingSslClientSocket& cBlockingSslClientSocketConnectCallbacks::m_Socket
private

The socket object that is using this instance of the callbacks.

Definition at line 20 of file BlockingSslClientSocket.cpp.


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