|
| Peer (Photon::PhotonListener &listener, nByte connectionProtocol=Photon::ConnectionProtocol::DEFAULT, nByte serializationProtocol=Common::SerializationProtocol::DEFAULT) |
|
virtual bool | opAuthenticateOnNameServer (const Common::JString &appID, const Common::JString &appVersion, const Common::JString ®ion, const AuthenticationValues &authenticationValues=AuthenticationValues()) |
|
virtual bool | opAuthenticateOnFrontEnd (const Common::JString &secret) |
|
virtual bool | opSubscribe (const Common::JVector< Common::JString > &channels, int messagesFromHistory) |
|
virtual bool | opUnsubscribe (const Common::JVector< Common::JString > &channels) |
|
template<typename Ftype > |
bool | opPublishMessage (const Common::JString &channelName, const Ftype &message) |
|
template<typename Ftype > |
bool | opPublishMessage (const Common::JString &channelName, const Ftype pMessageArray, int arrSize) |
|
template<typename Ftype > |
bool | opPublishMessage (const Common::JString &channelName, const Ftype pMessageArray, const int *pArrSizes) |
|
template<typename Ftype > |
bool | opSendPrivateMessage (const Common::JString &userName, const Ftype &message, bool encrypt=false) |
|
template<typename Ftype > |
bool | opSendPrivateMessage (const Common::JString &userName, const Ftype pMessageArray, int arrSize, bool encrypt=false) |
|
template<typename Ftype > |
bool | opSendPrivateMessage (const Common::JString &userName, const Ftype pMessageArray, const int *pArrSizes, bool encrypt=false) |
|
virtual bool | opSetOnlineStatus (int status) |
|
template<typename Ftype > |
bool | opSetOnlineStatus (int status, const Ftype &message) |
|
template<typename Ftype > |
bool | opSetOnlineStatus (int status, const Ftype pMessageArray, int arrSize) |
|
template<typename Ftype > |
bool | opSetOnlineStatus (int status, const Ftype pMessageArray, const int *pArrSizes) |
|
virtual bool | opAddFriends (const Common::JVector< Common::JString > &userIDs) |
|
virtual bool | opRemoveFriends (const Common::JVector< Common::JString > &userIDs) |
|
| PhotonPeer (PhotonListener &listener, nByte connectionProtocol=ConnectionProtocol::DEFAULT, nByte serializationProtocol=Common::SerializationProtocol::DEFAULT) |
|
virtual | ~PhotonPeer (void) |
|
virtual bool | connect (const Common::JString &ipAddr, const Common::JString &appID=Common::JString()) |
|
template<typename Ftype > |
bool | connect (const Common::JString &ipAddr, const Common::JString &appID, const Ftype &customData) |
|
template<typename Ftype > |
bool | connect (const Common::JString &ipAddr, const Common::JString &appID, const Ftype pCustomDataArray, int arrSize) |
|
template<typename Ftype > |
bool | connect (const Common::JString &ipAddr, const Common::JString &appID, const Ftype pCustomDataArray, const int *pArrSizes) |
|
virtual void | disconnect (void) |
|
virtual void | service (bool dispatchIncomingCommands=true) |
|
virtual void | serviceBasic (void) |
|
virtual bool | opCustom (const OperationRequest &operationRequest, bool sendReliable, nByte channelID=0, bool encrypt=false) |
|
virtual bool | sendOutgoingCommands (void) |
|
virtual bool | sendAcksOnly (void) |
|
virtual bool | dispatchIncomingCommands (void) |
|
virtual bool | establishEncryption (void) |
|
virtual void | fetchServerTimestamp (void) |
|
virtual void | resetTrafficStats (void) |
|
virtual void | resetTrafficStatsMaximumCounters (void) |
|
virtual Common::JString | vitalStatsToString (bool all) const |
|
virtual void | pingServer (const Common::JString &address, unsigned int pingAttempts) |
|
virtual void | initUserDataEncryption (const Common::JVector< nByte > &secret) |
|
virtual void | initUDPEncryption (const Common::JVector< nByte > &encryptSecret) |
|
PhotonListener * | getListener (void) |
|
int | getServerTimeOffset (void) const |
|
int | getServerTime (void) const |
|
int | getBytesOut (void) const |
|
int | getBytesIn (void) const |
|
int | getByteCountCurrentDispatch (void) const |
|
int | getByteCountLastOperation (void) const |
|
int | getPeerState (void) const |
|
int | getSentCountAllowance (void) const |
|
void | setSentCountAllowance (int sentCountAllowance) |
|
int | getTimePingInterval (void) const |
|
void | setTimePingInterval (int timePingInterval) |
|
int | getRoundTripTime (void) const |
|
int | getRoundTripTimeVariance (void) const |
|
int | getTimestampOfLastSocketReceive (void) const |
|
int | getDebugOutputLevel (void) const |
|
bool | setDebugOutputLevel (int debugLevel) |
|
const Common::LogFormatOptions & | getLogFormatOptions (void) const |
|
void | setLogFormatOptions (const Common::LogFormatOptions &formatOptions) |
|
int | getIncomingReliableCommandsCount (void) const |
|
short | getPeerID (void) const |
|
int | getDisconnectTimeout (void) const |
|
void | setDisconnectTimeout (int disconnectTimeout) |
|
int | getQueuedIncomingCommands (void) const |
|
int | getQueuedOutgoingCommands (void) const |
|
Common::JString | getServerAddress (void) const |
|
bool | getIsPayloadEncryptionAvailable (void) const |
|
bool | getIsEncryptionAvailable (void) const |
|
int | getResentReliableCommands (void) const |
|
int | getLimitOfUnreliableCommands (void) const |
|
void | setLimitOfUnreliableCommands (int value) |
|
bool | getCRCEnabled (void) const |
|
void | setCRCEnabled (bool crcEnabled) |
|
int | getPacketLossByCRC (void) const |
|
bool | getTrafficStatsEnabled (void) const |
|
void | setTrafficStatsEnabled (bool trafficStasEnabled) |
|
int | getTrafficStatsElapsedMs (void) const |
|
const TrafficStats & | getTrafficStatsIncoming (void) const |
|
const TrafficStats & | getTrafficStatsOutgoing (void) const |
|
const TrafficStatsGameLevel & | getTrafficStatsGameLevel (void) const |
|
nByte | getQuickResendAttempts (void) const |
|
void | setQuickResendAttempts (nByte quickResendAttempts) |
|
nByte | getConnectionProtocol (void) const |
|
void | setConnectionProtocol (nByte connectionProtocol) |
|
nByte | getChannelCountUserChannels (void) const |
|
nByte | getSerializationProtocol (void) const |
|