T - The type of the data parameters contained in the command message.
public class OCastCommandDeviceLayer<T>
Represents an OCast device layer containing a command message.
| Constructor and Description |
|---|
OCastCommandDeviceLayer(java.lang.String source,
java.lang.String destination,
long identifier,
OCastApplicationLayer<T> message)
Creates an instance of
class OCastCommandDeviceLayer. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDestination()
The component to which the message is sent to.
|
long |
getIdentifier()
The message identifier.
|
OCastApplicationLayer<T> |
getMessage()
The message to send.
|
java.lang.String |
getSource()
The component which sends the message.
|
OCastRawDeviceLayer.Type |
getType() |
public OCastCommandDeviceLayer(@Nullable
java.lang.String source,
@Nullable
java.lang.String destination,
long identifier,
@NotNull
OCastApplicationLayer<T> message)
Creates an instance of class OCastCommandDeviceLayer.
source - The component which sends the message.destination - The component to which the message is sent to.identifier - The message identifier.message - The message to send.class OCastCommandDeviceLayer@NotNull public OCastRawDeviceLayer.Type getType()
@Nullable public java.lang.String getSource()
The component which sends the message.
@Nullable public java.lang.String getDestination()
The component to which the message is sent to.
public long getIdentifier()
The message identifier.
@NotNull public OCastApplicationLayer<T> getMessage()
The message to send.