GOG GALAXY SDK Documentation
INetworking.h File Reference

Contains data structures and interfaces related to communicating with other Galaxy Peers. More...

#include "IListenerRegistrar.h"
#include "GalaxyID.h"
Include dependency graph for INetworking.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  INetworkingListener
 Listener for the events related to packets that come to the client. More...
 
class  INatTypeDetectionListener
 Listener for the events related to NAT type detection. More...
 
class  INetworking
 The interface for communicating with other Galaxy Peers. More...
 

Typedefs

typedef SelfRegisteringListener< INetworkingListener > GlobalNetworkingListener
 Globally self-registering version of INetworkingListener.
 
typedef SelfRegisteringListener< INetworkingListener, GameServerListenerRegistrar > GameServerGlobalNetworkingListener
 Globally self-registering version of INetworkingListener for the GameServer.
 
typedef SelfRegisteringListener< INatTypeDetectionListener > GlobalNatTypeDetectionListener
 Globally self-registering version of INatTypeDetectionListener.
 
typedef SelfRegisteringListener< INatTypeDetectionListener, GameServerListenerRegistrar > GameServerGlobalNatTypeDetectionListener
 Globally self-registering version of INatTypeDetectionListener for the GameServer.
 

Enumerations

enum  NatType {
  NAT_TYPE_NONE , NAT_TYPE_FULL_CONE , NAT_TYPE_ADDRESS_RESTRICTED , NAT_TYPE_PORT_RESTRICTED ,
  NAT_TYPE_SYMMETRIC , NAT_TYPE_UNKNOWN
}
 NAT types. More...
 
enum  P2PSendType { P2P_SEND_UNRELIABLE , P2P_SEND_RELIABLE , P2P_SEND_UNRELIABLE_IMMEDIATE , P2P_SEND_RELIABLE_IMMEDIATE }
 Send type used when calling INetworking::SendP2PPacket() in order to specify desired reliability of the data transfer for each packet that is being sent. More...
 
enum  ConnectionType { CONNECTION_TYPE_NONE , CONNECTION_TYPE_DIRECT , CONNECTION_TYPE_PROXY }
 Connection types. More...
 

Detailed Description

Contains data structures and interfaces related to communicating with other Galaxy Peers.