java.lang.Object | |
↳ | com.commsignia.v2x.client.model.DENMTrigger |
Represents a DENM trigger.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DENMTrigger() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
clearRepetitionDuration()
Clears the repetition duration value
| ||||||||||
void |
clearRepetitionInterval()
Clears the repetition interval value.
| ||||||||||
DENM |
getDENM()
Returns the DENM contained in this trigger.
| ||||||||||
DestAreaCircle |
getDestinationAreaCircle()
Returns the currently set destination area circle.
| ||||||||||
DestAreaEllipse |
getDestinationAreaEllipse()
Returns the currently set destination area ellipse.
| ||||||||||
DestAreaRectangle |
getDestinationAreaRectangle()
Returns the currently set destination area rectangle.
| ||||||||||
GNTrafficClass |
getGnTrafficClass()
Returns the geo networking traffic class.
| ||||||||||
int |
getHopLimit()
Returns the hop limit.
| ||||||||||
Long |
getRepetitionDuration(TimeUnit unit)
Sets the repetition duration.
| ||||||||||
Long |
getRepetitionInterval(TimeUnit unit)
Returns the repetition interval.
| ||||||||||
boolean |
getUseCurrentLocation()
Sets whether the current location should be used.
| ||||||||||
boolean |
getUseCurrentTime()
Returns whether the use current time flag was set.
| ||||||||||
boolean |
hasRepetitionDuration()
Returns true if the repetition duration value is set, false otherwise
| ||||||||||
boolean |
hasRepetitionInterval()
Return true if the repetition interval value is set, false otherwise.
| ||||||||||
boolean |
isInfinite()
Determine whether this DENM is infinite with regards to its validity duration.
| ||||||||||
void |
setDENM(DENM denm)
Sets the DENM contained in this trigger.
| ||||||||||
void |
setDestinationAreaCircle(DestAreaCircle destinationAreaCircle)
Sets the destination area circle for the DENM trigger.
| ||||||||||
void |
setDestinationAreaEllipse(DestAreaEllipse destinationAreaEllipse)
Sets the destination area ellipse for the DENM trigger.
| ||||||||||
void |
setDestinationAreaRectangle(DestAreaRectangle destinationAreaRectangle)
Sets the destination area rectangle for the DENM trigger.
| ||||||||||
void |
setGnTrafficClass(boolean scfEnabled, boolean chOffload, long tcId)
Sets the traffic class.
| ||||||||||
void |
setGnTrafficClass(GNTrafficClass gnTrafficClass)
Sets the traffic class.
| ||||||||||
void |
setHopLimit(int hopLimit)
Sets the hop limit.
| ||||||||||
void |
setInfinite(boolean infinite)
Sets whether this DENM is infinite with regards to its validity duration.
| ||||||||||
void |
setRepetitionDuration(long repetitionDuration, TimeUnit repetitionDurationUnit)
Sets the repetition duration.
| ||||||||||
void |
setRepetitionInterval(long repetitionInterval, TimeUnit repetitionIntervalUnit)
Sets the repetition interval.
| ||||||||||
void |
setUseCurrentLocation(boolean useCurrentLocation)
Sets whether the current location should be used.
| ||||||||||
void |
setUseCurrentTime(boolean useCurrentTime)
Sets whether the current time should be used.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Clears the repetition duration value
Clears the repetition interval value.
Returns the currently set destination area circle.
Returns the currently set destination area ellipse.
Returns the currently set destination area rectangle.
Returns the geo networking traffic class.
Returns the hop limit.
Sets the repetition duration.
unit | target unit |
---|
Returns the repetition interval.
unit | target unit |
---|
Sets whether the current location should be used. When enabled, the event position will be the current position and path history will be included as a trace.
Returns whether the use current time flag was set.
Returns true if the repetition duration value is set, false otherwise
Return true if the repetition interval value is set, false otherwise.
Determine whether this DENM is infinite with regards to its validity duration. "Infinite" DENMs never expire even when their validity duration has long elapsed.
Sets the DENM contained in this trigger.
denm | denm message |
---|
Sets the destination area circle for the DENM trigger.
destinationAreaCircle | destination area circle |
---|
Sets the destination area ellipse for the DENM trigger.
destinationAreaEllipse | destination area ellipse |
---|
Sets the destination area rectangle for the DENM trigger.
destinationAreaRectangle | destination area rectangle |
---|
Sets the traffic class.
scfEnabled | true if SCF is enabled, false otherwise |
---|---|
chOffload | true if CH offload is enabled, false otherwise |
tcId | traffic class id |
Sets the traffic class.
gnTrafficClass | geo networking traffic class |
---|
Sets the hop limit.
hopLimit | hop limit |
---|
Sets whether this DENM is infinite with regards to its validity duration. "Infinite" DENMs never expire even when their validity duration has long elapsed.
infinite | true if this DENM is infinite, false otherwise |
---|
Sets the repetition duration.
repetitionDuration | repetition duration value |
---|---|
repetitionDurationUnit | unit of the repetition duration value |
Sets the repetition interval.
repetitionInterval | repetition interval value |
---|---|
repetitionIntervalUnit | unit of the repetition interval value |
Sets whether the current location should be used. When enabled, the event position will be the current position and path history will be included as a trace.
useCurrentLocation | value of the useCurrentLocation flag |
---|
Sets whether the current time should be used.
useCurrentTime | true if current time should be used, false otherwise |
---|