Class Events
- Namespace
- Alis.Core.Network.Internal
- Assembly
- Alis.dll
Use the Guid to locate this EventSource in PerfView using the Additional Providers box (without wildcard characters)
[EventSource(Name = "Ninja-WebSockets", Guid = "7DE1A071-4F85-4DBD-8FB1-EE8D3845E087")]
internal sealed class Events : EventSource, IDisposable
Inheritance
Implements
Inherited Members
Fields
Log
The events
public static readonly Events Log
Field Value
Methods
AcceptWebSocketStarted(Guid)
Accepts the web socket started using the specified guid
[Event(14, Level = EventLevel.Informational)]
public void AcceptWebSocketStarted(Guid guid)
Parameters
guid
Guid-
The guid
AttemtingToSecureSslConnection(Guid)
Attemtings the to secure ssl connection using the specified guid
[Event(3, Level = EventLevel.Informational)]
public void AttemtingToSecureSslConnection(Guid guid)
Parameters
guid
Guid-
The guid
BadRequest(Guid, string)
Bads the request using the specified guid
[Event(17, Level = EventLevel.Error)]
public void BadRequest(Guid guid, string exception)
Parameters
ClientConnectingToHost(Guid, string, int)
Clients the connecting to host using the specified guid
[Event(2, Level = EventLevel.Informational)]
public void ClientConnectingToHost(Guid guid, string host, int port)
Parameters
ClientConnectingToIpAddress(Guid, string, int)
Clients the connecting to ip address using the specified guid
[Event(1, Level = EventLevel.Informational)]
public void ClientConnectingToIpAddress(Guid guid, string ipAddress, int port)
Parameters
ClientHandshakeSuccess(Guid)
Clients the handshake success using the specified guid
[Event(12, Level = EventLevel.Informational)]
public void ClientHandshakeSuccess(Guid guid)
Parameters
guid
Guid-
The guid
CloseFrameReceivedInUnexpectedState(Guid, WebSocketState, WebSocketCloseStatus?, string)
Closes the frame received in unexpected state using the specified guid
[Event(34, Level = EventLevel.Warning)]
public void CloseFrameReceivedInUnexpectedState(Guid guid, WebSocketState webSocketState, WebSocketCloseStatus? closeStatus, string statusDescription)
Parameters
guid
Guid-
The guid
webSocketState
WebSocketState-
The web socket state
closeStatus
WebSocketCloseStatus?-
The close status
statusDescription
string-
The status description
CloseHandshakeComplete(Guid)
Closes the handshake complete using the specified guid
[Event(33, Level = EventLevel.Informational)]
public void CloseHandshakeComplete(Guid guid)
Parameters
guid
Guid-
The guid
CloseHandshakeRespond(Guid, WebSocketCloseStatus?, string)
Closes the handshake respond using the specified guid
[Event(32, Level = EventLevel.Informational)]
public void CloseHandshakeRespond(Guid guid, WebSocketCloseStatus? closeStatus, string statusDescription)
Parameters
guid
Guid-
The guid
closeStatus
WebSocketCloseStatus?-
The close status
statusDescription
string-
The status description
CloseHandshakeStarted(Guid, WebSocketCloseStatus?, string)
Closes the handshake started using the specified guid
[Event(31, Level = EventLevel.Informational)]
public void CloseHandshakeStarted(Guid guid, WebSocketCloseStatus? closeStatus, string statusDescription)
Parameters
guid
Guid-
The guid
closeStatus
WebSocketCloseStatus?-
The close status
statusDescription
string-
The status description
CloseOutputAutoTimeout(Guid, WebSocketCloseStatus, string, string)
Closes the output auto timeout using the specified guid
[Event(24, Level = EventLevel.Warning)]
public void CloseOutputAutoTimeout(Guid guid, WebSocketCloseStatus closeStatus, string statusDescription, string exception)
Parameters
guid
Guid-
The guid
closeStatus
WebSocketCloseStatus-
The close status
statusDescription
string-
The status description
exception
string-
The exception
CloseOutputAutoTimeoutCancelled(Guid, int, WebSocketCloseStatus, string, string)
Closes the output auto timeout cancelled using the specified guid
[Event(25, Level = EventLevel.Error)]
public void CloseOutputAutoTimeoutCancelled(Guid guid, int timeoutSeconds, WebSocketCloseStatus closeStatus, string statusDescription, string exception)
Parameters
guid
Guid-
The guid
timeoutSeconds
int-
The timeout seconds
closeStatus
WebSocketCloseStatus-
The close status
statusDescription
string-
The status description
exception
string-
The exception
CloseOutputAutoTimeoutError(Guid, string, WebSocketCloseStatus, string, string)
Closes the output auto timeout error using the specified guid
[Event(26, Level = EventLevel.Error)]
public void CloseOutputAutoTimeoutError(Guid guid, string closeException, WebSocketCloseStatus closeStatus, string statusDescription, string exception)
Parameters
guid
Guid-
The guid
closeException
string-
The close exception
closeStatus
WebSocketCloseStatus-
The close status
statusDescription
string-
The status description
exception
string-
The exception
CloseOutputNoHandshake(Guid, WebSocketCloseStatus?, string)
Closes the output no handshake using the specified guid
[Event(30, Level = EventLevel.Informational)]
public void CloseOutputNoHandshake(Guid guid, WebSocketCloseStatus? closeStatus, string statusDescription)
Parameters
guid
Guid-
The guid
closeStatus
WebSocketCloseStatus?-
The close status
statusDescription
string-
The status description
ConnectionNotSecure(Guid)
Connections the not secure using the specified guid
[Event(5, Level = EventLevel.Informational)]
public void ConnectionNotSecure(Guid guid)
Parameters
guid
Guid-
The guid
ConnectionSecured(Guid)
Connections the secured using the specified guid
[Event(4, Level = EventLevel.Informational)]
public void ConnectionSecured(Guid guid)
Parameters
guid
Guid-
The guid
HandshakeFailure(Guid, string)
Handshakes the failure using the specified guid
[Event(11, Level = EventLevel.Error)]
public void HandshakeFailure(Guid guid, string message)
Parameters
HandshakeSent(Guid, string)
Handshakes the sent using the specified guid
[Event(7, Level = EventLevel.Informational)]
public void HandshakeSent(Guid guid, string httpHeader)
Parameters
InvalidHttpResponseCode(Guid, string)
Invalids the http response code using the specified guid
[Event(10, Level = EventLevel.Warning)]
public void InvalidHttpResponseCode(Guid guid, string response)
Parameters
InvalidStateBeforeClose(Guid, WebSocketState)
Invalids the state before close using the specified guid
[Event(38, Level = EventLevel.Warning)]
public void InvalidStateBeforeClose(Guid guid, WebSocketState webSocketState)
Parameters
guid
Guid-
The guid
webSocketState
WebSocketState-
The web socket state
InvalidStateBeforeCloseOutput(Guid, WebSocketState)
Invalids the state before close output using the specified guid
[Event(39, Level = EventLevel.Warning)]
public void InvalidStateBeforeCloseOutput(Guid guid, WebSocketState webSocketState)
Parameters
guid
Guid-
The guid
webSocketState
WebSocketState-
The web socket state
KeepAliveIntervalExpired(Guid, int)
Keeps the alive interval expired using the specified guid
[Event(23, Level = EventLevel.Warning)]
public void KeepAliveIntervalExpired(Guid guid, int keepAliveIntervalSeconds)
Parameters
KeepAliveIntervalZero(Guid)
Keeps the alive interval zero using the specified guid
[Event(20, Level = EventLevel.Informational)]
public void KeepAliveIntervalZero(Guid guid)
Parameters
guid
Guid-
The guid
NoMessageCompression(Guid)
Noes the message compression using the specified guid
[Event(19, Level = EventLevel.Informational)]
public void NoMessageCompression(Guid guid)
Parameters
guid
Guid-
The guid
PingPongManagerEnded(Guid)
Pings the pong manager ended using the specified guid
[Event(22, Level = EventLevel.Informational)]
public void PingPongManagerEnded(Guid guid)
Parameters
guid
Guid-
The guid
PingPongManagerStarted(Guid, int)
Pings the pong manager started using the specified guid
[Event(21, Level = EventLevel.Informational)]
public void PingPongManagerStarted(Guid guid, int keepAliveIntervalSeconds)
Parameters
ReadHttpResponseError(Guid, string)
Reads the http response error using the specified guid
[Event(9, Level = EventLevel.Error)]
public void ReadHttpResponseError(Guid guid, string exception)
Parameters
ReadingHttpResponse(Guid)
Readings the http response using the specified guid
[Event(8, Level = EventLevel.Informational)]
public void ReadingHttpResponse(Guid guid)
Parameters
guid
Guid-
The guid
ReceivedFrame(Guid, WebSocketOpCode, bool, int)
Receiveds the frame using the specified guid
[Event(29, Level = EventLevel.Verbose)]
public void ReceivedFrame(Guid guid, WebSocketOpCode webSocketOpCode, bool isFinBitSet, int numBytes)
Parameters
guid
Guid-
The guid
webSocketOpCode
WebSocketOpCode-
The web socket op code
isFinBitSet
bool-
The is fin bit set
numBytes
int-
The num bytes
SendingFrame(Guid, WebSocketOpCode, bool, int, bool)
Sendings the frame using the specified guid
[Event(28, Level = EventLevel.Verbose)]
public void SendingFrame(Guid guid, WebSocketOpCode webSocketOpCode, bool isFinBitSet, int numBytes, bool isPayloadCompressed)
Parameters
guid
Guid-
The guid
webSocketOpCode
WebSocketOpCode-
The web socket op code
isFinBitSet
bool-
The is fin bit set
numBytes
int-
The num bytes
isPayloadCompressed
bool-
The is payload compressed
SendingHandshakeResponse(Guid, string)
Sendings the handshake response using the specified guid
[Event(15, Level = EventLevel.Informational)]
public void SendingHandshakeResponse(Guid guid, string response)
Parameters
ServerHandshakeSuccess(Guid)
Servers the handshake success using the specified guid
[Event(13, Level = EventLevel.Informational)]
public void ServerHandshakeSuccess(Guid guid)
Parameters
guid
Guid-
The guid
SslCertificateError(SslPolicyErrors)
Ssls the certificate error using the specified ssl policy errors
[Event(6, Level = EventLevel.Error)]
public void SslCertificateError(SslPolicyErrors sslPolicyErrors)
Parameters
sslPolicyErrors
SslPolicyErrors-
The ssl policy errors
TryGetBufferNotSupported(Guid, string)
Tries the get buffer not supported using the specified guid
[Event(27, Level = EventLevel.Warning)]
public void TryGetBufferNotSupported(Guid guid, string streamType)
Parameters
UsePerMessageDeflate(Guid)
Uses the per message deflate using the specified guid
[Event(18, Level = EventLevel.Informational)]
public void UsePerMessageDeflate(Guid guid)
Parameters
guid
Guid-
The guid
WebSocketDispose(Guid, WebSocketState)
Webs the socket dispose using the specified guid
[Event(35, Level = EventLevel.Informational)]
public void WebSocketDispose(Guid guid, WebSocketState webSocketState)
Parameters
guid
Guid-
The guid
webSocketState
WebSocketState-
The web socket state
WebSocketDisposeCloseTimeout(Guid, WebSocketState)
Webs the socket dispose close timeout using the specified guid
[Event(36, Level = EventLevel.Warning)]
public void WebSocketDisposeCloseTimeout(Guid guid, WebSocketState webSocketState)
Parameters
guid
Guid-
The guid
webSocketState
WebSocketState-
The web socket state
WebSocketDisposeError(Guid, WebSocketState, string)
Webs the socket dispose error using the specified guid
[Event(37, Level = EventLevel.Error)]
public void WebSocketDisposeError(Guid guid, WebSocketState webSocketState, string exception)
Parameters
guid
Guid-
The guid
webSocketState
WebSocketState-
The web socket state
exception
string-
The exception
WebSocketVersionNotSupported(Guid, string)
Webs the socket version not supported using the specified guid
[Event(16, Level = EventLevel.Error)]
public void WebSocketVersionNotSupported(Guid guid, string exception)