Class MessageReceivedEventArgs
Represents the arguments of the message received event.
Inherited Members
Namespace: Evergine.Networking.Connection
Assembly: Evergine.Networking.dll
Syntax
public class MessageReceivedEventArgs : EventArgs
  Constructors
MessageReceivedEventArgs(NetworkEndpoint, IncomingMessage)
Initializes a new instance of the MessageReceivedEventArgs class.
Declaration
public MessageReceivedEventArgs(NetworkEndpoint fromEndpoint, IncomingMessage receivedMessage)
  Parameters
| Type | Name | Description | 
|---|---|---|
| NetworkEndpoint | fromEndpoint | The endpoint of the sender.  | 
      
| IncomingMessage | receivedMessage | The received message.  | 
      
Properties
FromEndpoint
Gets the endpoint of the sender.
Declaration
public NetworkEndpoint FromEndpoint { get; }
  Property Value
| Type | Description | 
|---|---|
| NetworkEndpoint | 
ReceivedMessage
Gets the received message.
Declaration
public IncomingMessage ReceivedMessage { get; }
  Property Value
| Type | Description | 
|---|---|
| IncomingMessage |