public class

GeonetSendData

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.GeonetSendData

Class Overview

Represents a packet of data to be sent using the ITSApplication.gnSend(GeonetSendData) method.

Summary

Nested Classes
class GeonetSendData.Builder Utility class for building GeonetSendData instances. 
Public Methods
BTPType getBtpType()
Returns the BTP type.
byte[] getData()
Returns the payload data.
long getDatarateKbps()
Returns the data rate in Kbps.
byte[] getDestinationAddress()
Returns the destination address.
DestAreaCircle getDestinationAreaCircle()
Returns the destination area.
DestAreaEllipse getDestinationAreaEllipse()
Returns the destination area.
DestAreaRectangle getDestinationAreaRectangle()
Returns the destination area.
long getDestinationPort()
Returns the destination port.
long getInterfaceID()
Returns the interface ID.
long getMaxHops()
Returns the maximal number of hops.
GNMethod getMethod()
Returns the send method.
long getPacketLifetimeMsec()
Returns the packet lifetime in milliseconds.
GeonetSecurityInfo getSecurityInfo()
Returns the security info structure.
long getSecurityProfile()
Returns the security profile value.
long getSourcePortOrDestinationInfo()
Returns the source port when using BTP-A, destination info when using BTP-B.
GNTrafficClass getTrafficClass()
Returns the traffic class.
long getTxPowerDbm()
Returns the TX power in dBm.
long getUserPriority()
Returns the user priority.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public BTPType getBtpType ()

Returns the BTP type.

Returns
  • BTP type

public byte[] getData ()

Returns the payload data.

Returns
  • payload data.

public long getDatarateKbps ()

Returns the data rate in Kbps.

Returns
  • data rate in Kbps

public byte[] getDestinationAddress ()

Returns the destination address.

Returns
  • destination address as a byte array

public DestAreaCircle getDestinationAreaCircle ()

Returns the destination area.

Returns
  • destination area circle instance or null if not set

public DestAreaEllipse getDestinationAreaEllipse ()

Returns the destination area.

Returns
  • destination area ellipse instance or null if not set

public DestAreaRectangle getDestinationAreaRectangle ()

Returns the destination area.

Returns
  • destination area rectangle instance or null if not set

public long getDestinationPort ()

Returns the destination port.

Returns
  • destination port.

public long getInterfaceID ()

Returns the interface ID.

Returns
  • interface ID

public long getMaxHops ()

Returns the maximal number of hops.

Returns
  • maximal number of hops

public GNMethod getMethod ()

Returns the send method. (GBC, GUC, TSB, etc.)

Returns
  • send method

public long getPacketLifetimeMsec ()

Returns the packet lifetime in milliseconds.

Returns
  • packet lifetime in milliseconds

public GeonetSecurityInfo getSecurityInfo ()

Returns the security info structure.

public long getSecurityProfile ()

Returns the security profile value.

Returns
  • security profile value

public long getSourcePortOrDestinationInfo ()

Returns the source port when using BTP-A, destination info when using BTP-B.

Returns
  • source port or destination info

public GNTrafficClass getTrafficClass ()

Returns the traffic class.

Returns
  • traffic class

public long getTxPowerDbm ()

Returns the TX power in dBm.

Returns
  • TX power in dBm

public long getUserPriority ()

Returns the user priority.

Returns
  • user priority

public String toString ()