java.lang.Object | |
↳ | com.commsignia.v2x.client.model.WsmpSendData.Builder |
Utility class for building WsmpSendData instances.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WsmpSendData.Builder()
Create a new builder instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WsmpSendData |
build()
Construct a valid WsmpSendData object.
| ||||||||||
WsmpSendData.Builder |
withData(byte[] data)
Sets the payload data.
| ||||||||||
WsmpSendData.Builder |
withDatarateKbps(long datarateKbps)
Send the packet with the specified data rate in Kbps.
| ||||||||||
WsmpSendData.Builder |
withInterfaceID(long interfaceID)
Send the packet using the specified interface ID.
| ||||||||||
WsmpSendData.Builder |
withLLAddress(String llAddress)
Send the packet to the specified LL address.
| ||||||||||
WsmpSendData.Builder |
withPortNumber(long portNumber)
Send the packet to the specified port number.
| ||||||||||
WsmpSendData.Builder |
withSecurity(WsmpSendSecurity security)
Specifies the security to be used for this message.
| ||||||||||
WsmpSendData.Builder |
withTxPowerDbm(long txPowerDbm)
Send the packet with the specified TX power value in dBm.
| ||||||||||
WsmpSendData.Builder |
withUserPriority(long userPriority)
Send the packet with the specified user priority.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new builder instance.
Construct a valid WsmpSendData object.
IllegalStateException | when the specified parameters are incorrect |
---|
Sets the payload data.
data | payload data |
---|
Send the packet with the specified data rate in Kbps.
datarateKbps | data rate in Kbps |
---|
Send the packet using the specified interface ID.
interfaceID | interface ID |
---|
Send the packet to the specified LL address.
llAddress | LL address |
---|
Send the packet to the specified port number.
portNumber | port number |
---|
Specifies the security to be used for this message.
security | security type |
---|
Send the packet with the specified TX power value in dBm.
txPowerDbm | TX power value in dBm |
---|
Send the packet with the specified user priority.
userPriority | user priority |
---|