v2x-client
| java.lang.Object | |
| ↳ | com.commsignia.v2x.client.model.InjectData.Builder |
Builder for InjectData instances.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
InjectData.Builder()
Creates a new builder instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| InjectData |
build()
Builds an InjectData instance.
| ||||||||||
| InjectData.Builder |
withData(byte[] data)
Specifies the data payload.
| ||||||||||
| InjectData.Builder |
withDatarateKbps(long datarateKbps)
Specifies the data rate in Kbps.
| ||||||||||
| InjectData.Builder |
withDstAddress(String dstAddress)
Specifies the destination address.
| ||||||||||
| InjectData.Builder |
withInterfaceID(long interfaceID)
Specifies the interface ID.
| ||||||||||
| InjectData.Builder |
withSrcAddress(String srcAddress)
Specifies the source address.
| ||||||||||
| InjectData.Builder |
withTxPowerDbm(long txPowerDbm)
Specifies the TX power in dBm.
| ||||||||||
| InjectData.Builder |
withType(InjectData.Type type)
Specifies the injection type.
| ||||||||||
| InjectData.Builder |
withUserPriority(long userPriority)
Specifies the user priority.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new builder instance.
Specifies the data payload.
| data | data payload |
|---|
Specifies the data rate in Kbps.
| datarateKbps | data rate in Kbps. |
|---|
Specifies the destination address.
| dstAddress | destination address |
|---|
Specifies the interface ID.
| interfaceID | interface ID |
|---|
Specifies the source address.
| srcAddress | source address |
|---|
Specifies the TX power in dBm.
| txPowerDbm | TX power in dBm |
|---|
Specifies the injection type.
| type | injection type (gn, wsmp, wsa) |
|---|
Specifies the user priority.
| userPriority | user priority |
|---|