|
GOG GALAXY SDK Documentation
|
Listener for the events related to opening a connection. More...
#include <ICustomNetworking.h>
Public Types | |
| enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE , FAILURE_REASON_UNAUTHORIZED } |
| The reason of a failure in opening a connection. More... | |
Public Member Functions | |
| virtual void | OnConnectionOpenSuccess (const char *connectionString, ConnectionID connectionID)=0 |
| Notification for the event of a success in opening a connection. More... | |
| virtual void | OnConnectionOpenFailure (const char *connectionString, FailureReason failureReason)=0 |
| Notification for the event of a failure in opening a connection. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< CUSTOM_NETWORKING_CONNECTION_OPEN > | |
| static ListenerType | GetListenerType () |
| Returns the type of the listener. More... | |
Listener for the events related to opening a connection.
| enum FailureReason |
|
pure virtual |
Notification for the event of a failure in opening a connection.
| [in] | connectionString | The connection string. |
| [in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of a success in opening a connection.
| [in] | connectionString | The connection string. |
| [in] | connectionID | The ID if the connection. |