public interface

ITSEventListener

com.commsignia.v2x.client.ITSEventListener
Known Indirect Subclasses

Class Overview

Listener interface for receiving ITS events.

Summary

Public Methods
abstract void onCanNotification(CanNotification notification)
Called when the application receives a CAN notification.
abstract void onDiagnosticsNotification(DiagnosticsNotification diagnosticsNotification)
Called when the application receives a diagnostics notification.
abstract void onFacilityNotificationReceived(FacilityNotification facilityNotification)
Called when the application receives a facility notification.
abstract void onGnNotification(GNNotification notification)
Called when the application receives a Geonetworking notification.
abstract void onLdmNotificationReceived(LdmObject ldmObject)
Called when the application receives an LDM notification.
abstract void onNavNotification(NavNotification notification)
Called when the application receives a NAV notification.
abstract void onPotiNotification(PotiNotification notification)
Called when the application receives a POTI notification.
abstract void onProfilingResults(ProfilingRequestResults results)
Called when profiling results arrive.
abstract void onStationInfoNotification(StationInfoNotification notification)
Called when the application receives a Station Info notification.
abstract void onWsaNotification(WsaNotification notification)
Called when the application receives a WSA notification.
abstract void onWsmpNotification(WsmpNotification notification)
Called when the application receives a WSMP notification.

Public Methods

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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