GOG GALAXY SDK Documentation
IConnectionCloseListener Class Referenceabstract

Listener for the event of closing a connection. More...

#include <ICustomNetworking.h>

Inheritance diagram for IConnectionCloseListener:
[legend]

Public Types

enum  CloseReason { CLOSE_REASON_UNDEFINED }
 The reason of closing a connection. More...
 

Public Member Functions

virtual void OnConnectionClosed (ConnectionID connectionID, CloseReason closeReason)=0
 Notification for the event of closing a connection. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_CLOSE >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 

Detailed Description

Listener for the event of closing a connection.

Member Enumeration Documentation

◆ CloseReason

The reason of closing a connection.

Enumerator
CLOSE_REASON_UNDEFINED 

Unspecified reason.

Member Function Documentation

◆ OnConnectionClosed()

virtual void OnConnectionClosed ( ConnectionID  connectionID,
CloseReason  closeReason 
)
pure virtual

Notification for the event of closing a connection.

Parameters
[in]connectionIDThe ID if the connection.
[in]closeReasonThe reason why the connection is being closed.