public abstract class

ITSEventAdapter

extends Object
implements ITSEventListener
java.lang.Object
   ↳ com.commsignia.v2x.client.ITSEventAdapter

Class Overview

Convenience class for receiving ITS events. The methods in this class are empty. Extend this class to create an ITSEventListener and override the methods for events of interest.

Summary

Public Constructors
ITSEventAdapter()
Public Methods
void onCanNotification(CanNotification notification)
Called when the application receives a CAN notification.
void onDiagnosticsNotification(DiagnosticsNotification diagnosticsNotification)
Called when the application receives a diagnostics notification.
void onFacilityNotificationReceived(FacilityNotification facilityNotification)
Called when the application receives a facility notification.
void onGnNotification(GNNotification notification)
Called when the application receives a Geonetworking notification.
void onLdmNotificationReceived(LdmObject ldmObject)
Called when the application receives an LDM notification.
void onNavNotification(NavNotification notification)
Called when the application receives a NAV notification.
void onPotiNotification(PotiNotification notification)
Called when the application receives a POTI notification.
void onProfilingResults(ProfilingRequestResults results)
Called when profiling results arrive.
void onStationInfoNotification(StationInfoNotification notification)
Called when the application receives a Station Info notification.
void onWsaNotification(WsaNotification notification)
Called when the application receives a WSA notification.
void onWsmpNotification(WsmpNotification notification)
Called when the application receives a WSMP notification.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.commsignia.v2x.client.ITSEventListener

Public Constructors

public ITSEventAdapter ()

Public Methods

public void onCanNotification (CanNotification notification)

Called when the application receives a CAN notification. These messages are usually sent when the client subscribes to CAN messages using canSubscribe(int, long) ITSApplication.canSubscribe()}

Parameters
notification CAN notification

public void onDiagnosticsNotification (DiagnosticsNotification diagnosticsNotification)

Called when the application receives a diagnostics notification. The application can subscribe for these messages using the ITSApplication.subscribeToDiagnosticsNotifications(SimpleResponseHandler) method

Parameters
diagnosticsNotification diagnostics notification

public void onFacilityNotificationReceived (FacilityNotification facilityNotification)

Called when the application receives a facility notification. Happens when the application explicitly subscribes for such messages using ITSApplication.facilitySubscribe(FacilitySubscriptionMessages).

Parameters
facilityNotification facility notification

public void onGnNotification (GNNotification notification)

Called when the application receives a Geonetworking notification. These messages are usually sent when the client bind to a geonetworking port using ITSApplication.gnBind()

Parameters
notification geonetworking notification

public void onLdmNotificationReceived (LdmObject ldmObject)

Called when the application receives an LDM notification. Happens when the application explicitly subscribes for such messages using ITSApplication.ldmSubscribe(List, SimpleResponseHandler).

Parameters
ldmObject ldm notification object

public void onNavNotification (NavNotification notification)

Called when the application receives a NAV notification. These messages are usually sent when the client subscribes to NAV messages using ITSApplication.navSubscribe()

Parameters
notification NAV notification

public void onPotiNotification (PotiNotification notification)

Called when the application receives a POTI notification. These messages are usually sent when the client subscribes to POTI messages using ITSApplication#potiSubscribe(final PotiSubscription) ITSApplication.potiSubscribe()

Parameters
notification POTI notification

public void onProfilingResults (ProfilingRequestResults results)

Called when profiling results arrive. A profiling result is received when the application requests it via ITSApplication.beginProfiling(long, SimpleResponseHandler)

Parameters
results profiling results

public void onStationInfoNotification (StationInfoNotification notification)

Called when the application receives a Station Info notification. These messages are usually sent when the client subscribes to Station Info messages using ITSApplication.stationInfoSubscribe(StationInfoSubscribeGroups)

Parameters
notification Station info notification

public void onWsaNotification (WsaNotification notification)

Called when the application receives a WSA notification. These messages are usually sent when the client subscribes to a WSA PSID using wsaSubscribe(long) ITSApplication.wsaSubscribe()}

Parameters
notification WSA notification

public void onWsmpNotification (WsmpNotification notification)

Called when the application receives a WSMP notification. These messages are usually sent when the client bind to a WSMP port using ITSApplication.wsmpBind()

Parameters
notification geonetworking notification