Class UserDataRelayMessage
This class represents a User Data Relay message containing the source interface from which the message was sent and the data.
Inheritance
System.Object
UserDataRelayMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Core.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public class UserDataRelayMessage
Constructors
UserDataRelayMessage(XBeeLocalInterface, Byte[])
Instantiates a new UserDataRelayMessage object with the given parameters.
Declaration
public UserDataRelayMessage(XBeeLocalInterface sourceInterface, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
XBeeLocalInterface | sourceInterface | Source interface. |
System.Byte[] | data | Data. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | If the source interface is unknown. |
Properties
Data
The data contained in the User Data Relay message.
Declaration
public byte[] Data { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
SourceInterface
The source interface of the User Data Relay message.
Declaration
public XBeeLocalInterface SourceInterface { get; }
Property Value
Type | Description |
---|---|
XBeeLocalInterface |