§ ~TrafficStatsGameLevel()
§ getOperationByteCount()
int getOperationByteCount |
( |
void |
| ) |
const |
- Returns
- the sum of outgoing operations in bytes
§ getOperationCount()
int getOperationCount |
( |
void |
| ) |
const |
- Returns
- the count of outgoing operations.
§ getResultByteCount()
int getResultByteCount |
( |
void |
| ) |
const |
- Returns
- the sum of byte-cost of incoming operation-results.
§ getResultCount()
int getResultCount |
( |
void |
| ) |
const |
- Returns
- the count of incoming operation-results.
§ getEventByteCount()
int getEventByteCount |
( |
void |
| ) |
const |
- Returns
- the sum of byte-cost of incoming events.
§ getEventCount()
int getEventCount |
( |
void |
| ) |
const |
- Returns
- the count of incoming events.
§ getLongestOpResponseCallback()
int getLongestOpResponseCallback |
( |
void |
| ) |
const |
- Note
- If such a callback takes long, it will lower the network performance and might lead to timeouts.
- Returns
- the longest time it took to complete a call to OnOperationResponse (in your code).
§ getLongestOpResponseCallbackOpCode()
nByte getLongestOpResponseCallbackOpCode |
( |
void |
| ) |
const |
- Returns
- the OperationCode that causes the LongestOpResponseCallback. See that description.
§ getLongestEventCallback()
int getLongestEventCallback |
( |
void |
| ) |
const |
- Note
- If such a callback takes long, it will lower the network performance and might lead to timeouts.
- Returns
- the longest time a call to OnEvent (in your code) took.
§ getLongestEventCallbackCode()
nByte getLongestEventCallbackCode |
( |
void |
| ) |
const |
- Returns
- the EventCode that caused the LongestEventCallback. See that description.
§ getLongestDeltaBetweenDispatching()
int getLongestDeltaBetweenDispatching |
( |
void |
| ) |
const |
- Note
- This is not a crucial timing for networking. Long gaps just add "local lag" to events that are available already.
- Returns
- the longest time between subsequent calls to PhotonPeer::dispatchIncomingCommands() in milliseconds.
§ getLongestDeltaBetweenSending()
int getLongestDeltaBetweenSending |
( |
void |
| ) |
const |
§ getDispatchIncomingCommandsCalls()
int getDispatchIncomingCommandsCalls |
( |
void |
| ) |
const |
§ getSendOutgoingCommandsCalls()
int getSendOutgoingCommandsCalls |
( |
void |
| ) |
const |
§ getTotalByteCount()
int getTotalByteCount |
( |
void |
| ) |
const |
- Returns
- the sum of byte-cost of all "logic level" messages.
§ getTotalMessageCount()
int getTotalMessageCount |
( |
void |
| ) |
const |
- Returns
- the sum of counted "logic level" messages.
§ getTotalIncomingByteCount()
int getTotalIncomingByteCount |
( |
void |
| ) |
const |
- Returns
- the sum of byte-cost of all incoming "logic level" messages.
§ getTotalIncomingMessageCount()
int getTotalIncomingMessageCount |
( |
void |
| ) |
const |
- Returns
- the sum of counted incoming "logic level" messages.
§ getTotalOutgoingByteCount()
int getTotalOutgoingByteCount |
( |
void |
| ) |
const |
- Returns
- the sum of byte-cost of all outgoing "logic level" messages (= OperationByteCount).
§ getTotalOutgoingMessageCount()
int getTotalOutgoingMessageCount |
( |
void |
| ) |
const |
- Returns
- the sum of counted outgoing "logic level" messages (= OperationCount).
§ resetMaximumCounters()
void resetMaximumCounters |
( |
void |
| ) |
|
Resets the values that can be maxed out, like LongestDeltaBetweenDispatching. See remarks.
Set to 0: LongestDeltaBetweenDispatching, LongestDeltaBetweenSending, LongestEventCallback, LongestEventCallbackCode, LongestOpResponseCallback, LongestOpResponseCallbackOpCode. Also resets internal values: mTimeOfLastDispatchCall and mTimeOfLastSendCall (so intervals are tracked correctly).
§ toString()
- Parameters
-
retStr | reference to a string, to store the return-value in; the information, which is generated by this function, will be attached at the end of any eventually existing previous content of the string |
withTypes | set to true, to include type information in the generated string |
- Returns
- a JString representation of the instance and its contents for debugging purposes.
Implements ToString.
§ toStringVitalStats()
JString toStringVitalStats |
( |
void |
| ) |
const |
|
virtual |
- Returns
- a JString representation of the vital stats for debugging purposes.