Request message to transmit a frame using physical agent.
| Modifiers | Name | Description |
|---|---|---|
protected boolean |
timestamped |
|
protected java.lang.Long |
txStartTime |
|
protected int |
type |
|
protected boolean |
wakeup |
| Type | Name and description |
|---|---|
boolean |
timestamped |
java.lang.Long |
txStartTime |
int |
type |
| Constructor and description |
|---|
TxFrameReq
() |
TxFrameReq
(DatagramReq req)Constructs TxFrameReq from a DatagramReq. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Long |
getTxStartTime()Gets the time at which it needs to be transmitted. |
|
int |
getType()Gets the type of channel. |
|
boolean |
getWakeup()Checks whether a wakeup signal should be sent before the frame. |
|
boolean |
isTimestamped()Checks if transmission request needs to be timestamped PhysicalCapability.TIMESTAMPED_TX. |
|
void |
setTimestamped(boolean enabled)Sets true if transmission request needs to be timestamped. |
|
void |
setTxStartTime(java.lang.Long time)Sets transmission timestamp. transmission will be triggered at the specified time. |
|
void |
setType(int type)Sets the channel type. |
|
void |
setWakeup(boolean enabled)Enables/disables sending of wakeup signal before frame. |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class DatagramReq |
setData, getData, getProgress, toString, setPriority, getPriority, getProtocol, setProtocol, getReliability, setReliability, getRobustness, setRobustness, getShortcircuit, setShortcircuit, setProgress, getTo, getRoute, setTo, setTtl, getTtl, setRoute, setPerformative, getPerformative, setRecipient, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, setSentAt, getSentAt, getJsonCache, setJsonCache, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructs TxFrameReq from a DatagramReq.
req - DatagramReq messsageGets the time at which it needs to be transmitted.
Gets the type of channel.
Checks whether a wakeup signal should be sent before the frame.
Checks if transmission request needs to be timestamped PhysicalCapability.TIMESTAMPED_TX.
Sets true if transmission request needs to be timestamped.
enabled - true if timestamped frameSets transmission timestamp. transmission will be triggered at the specified time. PhysicalCapability.TIMED_TX
time - transmission time in us, or nullSets the channel type.
type - of channel (Physical.DATA or Physical.CONTROL)Enables/disables sending of wakeup signal before frame.
enabled - true if wakeup signal to be sentGroovy Documentation