public class

GNNotification

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

Class Overview

Represents a Geonet notification.

Summary

Nested Classes
class GNNotification.Builder  
Public Methods
boolean equals(Object o)
long getBtpType()
Returns the BTP type.
byte[] getData()
Returns a copy of the payload data.
DestAreaCircle getDestinationAreaCircle()
Returns the destination area if it was set as a circle.
DestAreaEllipse getDestinationAreaEllipse()
Returns the destination area if it was set as an ellipse.
DestAreaRectangle getDestinationAreaRectangle()
Returns the destination area if it was set as a rectangle.
long getDestinationPort()
Returns the destination port.
String getGNAddress()
Returns the geonet address.
long getInterfaceID()
Returns the interface ID.
String getLLAddress()
Returns the LL address.
long getLatitude()
Returns the latitude.
long getLongitude()
Returns the longitude.
GNMethod getMethod()
Returns the method of sending.
long getRssi()
Returns the RSSI value.
GeonetSecurityInfo getSecurityInfo()
Returns the security info.
long getSecurityProfile()
Returns the security profile.
long getSourcePortOrDestinationInfo()
Returns the source port (when using BTP-A) or Destination info (when using BTP-B).
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object o)

public long getBtpType ()

Returns the BTP type.

Returns
  • BTP type.

public byte[] getData ()

Returns a copy of the payload data.

Returns
  • payload data

public DestAreaCircle getDestinationAreaCircle ()

Returns the destination area if it was set as a circle.

Returns
  • destination area if it was set as a circle or null if not set.

public DestAreaEllipse getDestinationAreaEllipse ()

Returns the destination area if it was set as an ellipse.

Returns
  • destination area if it was set as an ellipse or null if not set.

public DestAreaRectangle getDestinationAreaRectangle ()

Returns the destination area if it was set as a rectangle.

Returns
  • destination area if it was set as a rectangle or null if not set.

public long getDestinationPort ()

Returns the destination port.

Returns
  • destination port

public String getGNAddress ()

Returns the geonet address.

Returns
  • geonet address

public long getInterfaceID ()

Returns the interface ID.

Returns
  • interface ID

public String getLLAddress ()

Returns the LL address.

Returns
  • LL address

public long getLatitude ()

Returns the latitude.

Returns
  • latitude in 0.1 microdegrees

public long getLongitude ()

Returns the longitude.

Returns
  • longitude in 0.1 microdegrees

public GNMethod getMethod ()

Returns the method of sending.

Returns
  • method of sending

public long getRssi ()

Returns the RSSI value.

Returns
  • RSSI value

public GeonetSecurityInfo getSecurityInfo ()

Returns the security info.

Returns
  • security info

public long getSecurityProfile ()

Returns the security profile.

Returns
  • security profile

public long getSourcePortOrDestinationInfo ()

Returns the source port (when using BTP-A) or Destination info (when using BTP-B).

Returns
  • source port (when using BTP-A) or Destination info (when using BTP-B).

public int hashCode ()

public String toString ()