Class ReceivedDataEventArgs

Namespace: EasyCommunication.Events.Host.EventArgs

Assembly: EasyCommunication.dll

Syntax

public class ReceivedDataEventArgs : IHostEventArgs

Properties

Data

The received data

Declaration

public object Data { get; }

Property Value

Type

Description

System.Object

IsHeartbeat

Whether the received data is a Heartbeat

Declaration

public bool IsHeartbeat { get; }

Property Value

Type

Description

System.Boolean

Port

The Sender's port which is used for communication

Declaration

Property Value

Type

Description

System.Int32

Sender

The sender's TcpClient connection

Declaration

public TcpClient Sender { get; }

Property Value

Type

Description

System.Net.Sockets.TcpClient

Implements

Last updated

Was this helpful?