Struct ConnectionReceivingMessageEvent
Occurs before a message is received.
public struct ConnectionReceivingMessageEvent
- Inherited Members
Constructors
ConnectionReceivingMessageEvent(ConnectionId, int, long?)
Initializes a new instance of the ConnectionReceivingMessageEvent struct.
public ConnectionReceivingMessageEvent(ConnectionId connectionId, int responseTo, long? operationId)
Parameters
connectionId
ConnectionIdThe connection identifier.
responseTo
intThe id of the message we are receiving a response to.
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
OperationId
Gets the operation identifier.
public long? OperationId { get; }
Property Value
- long?
ResponseTo
Gets the id of the message we are receiving a response to.
public int ResponseTo { get; }
Property Value
ServerId
Gets the server identifier.
public ServerId ServerId { get; }
Property Value
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }