Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
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 processRelayPackage (const Common::JVector< nByte > &packet, int relayRemoteID)
 
void service (void)