Photon C++ Client API: Puncher Class Reference

Photon C++ Client API

Photon C++ Client API  4.1.12.2
Puncher Class Reference

Public Member Functions

 Puncher (RelayClient *pRelayClient, const Common::Logger &logger)
 
bool init (PunchListener *pPunchListener)
 
void clear (void)
 
bool startPunch (int remoteID)
 
bool sendDirect (const Common::JVector< nByte > &buffer, int targetID, bool fallbackRelay)
 
int sendDirect (const Common::JVector< nByte > &buffer, const Common::JVector< int > &targetIDs, bool fallbackRelay)
 
bool processPackage (const Common::JVector< nByte > &packet, bool relay, int relayRemoteID)
 
void service (void)