Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

PhotonWire.Server.Diagnostics

neuecc edited this page May 30, 2016 · 1 revision

ApplicationBaseStats

public class PhotonWire.Server.Diagnostics.ApplicationBaseStats

Properties

Type Name Summary
String ApplicationName
Int32 PeerCount
String PhotonInstanceName

Counter

public class PhotonWire.Server.Diagnostics.Counter

Properties

Type Name Summary
ApplicationBaseStats[] ApplicationBaseStats
PhotonWireStats PhotonWireStats
ThreadPoolStats ThreadPoolStats

Static Methods

Type Name Summary
Counter GetCounter()
KeyValuePair2[]` GetRegisteredHubInfo()

IPhotonWireLogger

public interface PhotonWire.Server.Diagnostics.IPhotonWireLogger

Methods

Type Name Summary
void ClientPeerOnDisconnect(String application, String remoteAddress, Int32 connectionId, String reasonCode, String reasonDetail)
void ConnectToOutboundReconnectTimerException(String application, String type, String message, String stackTrace)
void ConnectToOutboundServer(String application, String ipEndPoint, String applicationName, Double elapsed)
void ConnectToOutboundServerFailed(String application, String ipEndPoint, String applicationName, Double elapsed)
void DisconnectPeerOnRequestStoppedException(String application, String type, String message, String stackTrace)
void ExecuteFinished(String application, String hubType, Int16 hubId, String hubName, Byte operationCode, String methodName, Boolean isError, Double elapsed)
void ExecuteStart(String application, String hubType, Int16 hubId, String hubName, Byte operationCode, String methodName)
void InboundPeerOnDisconnect(String application, String remoteAddress, Int32 connectionId, String reasonCode, String reasonDetail)
void InitializeComplete(String application, Double elapsed)
void OnStopRequested(String application)
void OutboundPeerOnDisconnect(String application, String remoteEndPopint, String applicationName, Int32 connectionId, String reasonCode, String reasonDetail)
void OutboundS2SPeerConnectionFailed(String application, String remoteIp, Int32 remotePort, Int32 errorCode, String errorMessage)
void PeerReceived(String application, String applicationId, String clientVersion, Int32 connectionId, String remoteIp, Int32 remotePort)
void ReconnectToOutboundServer(String application, String ipEndPoint, String applicationName, Double elapsed)
void ReconnectToOutboundServerFailed(String application, String ipEndPoint, String applicationName, Double elapsed)
void RequiredParameterNotFound(String application, Byte parameterNo)
void SendOperationFailed(String application, Int16 hubId, Byte operationCode, String sendResult)
void SetupFailed(String application, String type, String message, String stackTrace)
void StopOutboundReconnectTimer(String application)
void TearDown(String application)
void UnhandledException(String application, String type, String message, String stackTrace)

PhotonWireEventSource

public class PhotonWire.Server.Diagnostics.PhotonWireEventSource
    : EventSource, IDisposable, IPhotonWireLogger

Methods

Type Name Summary
void ClientPeerOnDisconnect(String application, String remoteAddress, Int32 connectionId, String reasonCode, String reasonDetail)
void ConnectToOutboundReconnectTimerException(String application, String type, String message, String stackTrace)
void ConnectToOutboundServer(String application, String ipEndPoint, String applicationName, Double elapsed)
void ConnectToOutboundServerFailed(String application, String ipEndPoint, String applicationName, Double elapsed)
void DisconnectPeerOnRequestStoppedException(String application, String type, String message, String stackTrace)
void ExecuteFinished(String application, String hubType, Int16 hubId, String hubName, Byte operationCode, String methodName, Boolean isError, Double elapsed)
void ExecuteStart(String application, String hubType, Int16 hubId, String hubName, Byte operationCode, String methodName)
void InboundPeerOnDisconnect(String application, String remoteAddress, Int32 connectionId, String reasonCode, String reasonDetail)
void InitializeComplete(String application, Double elapsed)
void OnStopRequested(String application)
void OutboundPeerOnDisconnect(String application, String remoteEndPopint, String applicationName, Int32 connectionId, String reasonCode, String reasonDetail)
void OutboundS2SPeerConnectionFailed(String application, String remoteIp, Int32 remotePort, Int32 errorCode, String errorMessage)
void PeerReceived(String application, String applicationId, String clientVersion, Int32 connectionId, String remoteIp, Int32 remotePort)
void ReconnectToOutboundServer(String application, String ipEndPoint, String applicationName, Double elapsed)
void ReconnectToOutboundServerFailed(String application, String ipEndPoint, String applicationName, Double elapsed)
void RequiredParameterNotFound(String application, Byte parameterNo)
void SendOperationFailed(String application, Int16 hubId, Byte operationCode, String sendResult)
void SetupFailed(String application, String type, String message, String stackTrace)
void StopOutboundReconnectTimer(String application)
void TearDown(String application)
void UnhandledException(String application, String type, String message, String stackTrace)

Static Fields

Type Name Summary
PhotonWireEventSource Log

PhotonWireStats

public class PhotonWire.Server.Diagnostics.PhotonWireStats

Properties

Type Name Summary
Int32 ClientConnectionCount
Int32 CurrentRequestCounnt
Int32 InboundServerConnectionCount
Int32 OutboundServerConnectionCount
Int32 TotalRequestCount

ThreadPoolStats

public class PhotonWire.Server.Diagnostics.ThreadPoolStats

Properties

Type Name Summary
Int32 BusyIoThreads
Int32 BusyWorkerThreads
Int32 FreeIoThreads
Int32 FreeWorkerThreads
Int32 MaxIoThreads
Int32 MaxWorkerThreads
Int32 MinIoThreads
Int32 MinWorkerThreads

Static Methods

Type Name Summary
ThreadPoolStats Capture()