public class UserDataRelayMessage extends Object
| Constructor and Description |
|---|
UserDataRelayMessage(XBeeLocalInterface localInterface,
byte[] data)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Returns a byte array containing the data of the message.
|
String |
getDataString()
Returns the data of the message in string format.
|
XBeeLocalInterface |
getSourceInterface()
Returns the source interface that sent this message.
|
public UserDataRelayMessage(XBeeLocalInterface localInterface, byte[] data)
UserDataRelayMessage with the given parameters.localInterface - The source XBee local interface.data - Byte array containing the data of the message.NullPointerException - if localInterface == null.XBeeLocalInterfacepublic byte[] getData()
null
if the message does not have any data.public String getDataString()
null if the
message does not have any data.public XBeeLocalInterface getSourceInterface()
XBeeLocalInterface© Copyright 2014 - 2019 Digi International Inc. All rights reserved.