Struct ConnectionSentMessagesEvent
Occurs after a message has been sent.
public struct ConnectionSentMessagesEvent
- Inherited Members
Constructors
ConnectionSentMessagesEvent(ConnectionId, IReadOnlyList<int>, int, TimeSpan, TimeSpan, long?)
Initializes a new instance of the ConnectionSentMessagesEvent struct.
public ConnectionSentMessagesEvent(ConnectionId connectionId, IReadOnlyList<int> requestIds, int length, TimeSpan networkDuration, TimeSpan serializationDuration, long? operationId)
Parameters
connectionId
ConnectionIdThe connection identifier.
requestIds
IReadOnlyList<int>The request ids.
length
intThe length.
networkDuration
TimeSpanThe duration of time spent on the network.
serializationDuration
TimeSpanThe duration of time spent serializing the messages.
operationId
long?The operation identifier.
Properties
ClusterId
Gets the cluster identifier.
public ClusterId ClusterId { get; }
Property Value
ConnectionId
Gets the connection identifier.
public ConnectionId ConnectionId { get; }
Property Value
Duration
Gets the duration of time it took to send the message.
public TimeSpan Duration { get; }
Property Value
Length
Gets the combined length of the messages.
public int Length { get; }
Property Value
NetworkDuration
Gets the duration of time spent on the network.
public TimeSpan NetworkDuration { get; }
Property Value
OperationId
Gets the operation identifier.
public long? OperationId { get; }
Property Value
- long?
RequestIds
Gets the request ids.
public IReadOnlyList<int> RequestIds { get; }
Property Value
SerializationDuration
Gets the duration of time spent serializing the messages.
public TimeSpan SerializationDuration { get; }
Property Value
ServerId
Gets the server identifier.
public ServerId ServerId { get; }
Property Value
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }