public class

ITSApplication

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.ITSApplication

Class Overview

The ITSApplication class provides a client for connecting to an ITS Router using the External API Server interface.

Summary

Constants
int DEFAULT_CONNECTION_TIMEOUT Default connection timeout in milliseconds
int DEFAULT_EAS_PORT Default external application server port.
int DEFAULT_HEARTBEAT_SEND_FREQUENCY_IN_MILLISECONDS Default frequency while sending heartbeat packets in milliseconds.
int DEFAULT_READ_TIMEOUT Default read timeout (SO_TIMEOUT) in milliseconds
int DEFAULT_REQUEST_TIMEOUT Default request timeout in milliseconds
int DEFAULT_WAIT_BETWEEN_RECONNECTS Default wait between reconnects in milliseconds when an error occurs
Public Constructors
ITSApplication(long applicationId, String host, MessageSet messageSet)
Creates a new ITSApplication instance.
ITSApplication(long applicationId, String host, int port, MessageSet messageSet)
Creates a new ITSApplication instance.
Public Methods
void addConnectionStateListener(ITSConnectionStateListener listener)
Registers a new connection state listener.
void addEventListener(ITSEventListener eventListener)
Registers a new event listener.
void addRawFacilityPacketListener(ITSRawFacilityPacketListener rawPacketListener)
Adds a raw packet listener.
Observable<Void> beginProfiling(long measureIntervalInSec)
Begin a profiling run using the specified measurement interval.
void beginProfiling(long measureIntervalInSec, SimpleResponseHandler handler)
Begin a profiling run using the specified measurement interval.
void beginProfilingBlocking(long measureIntervalInSec)
Begin a profiling run using the specified measurement interval.
void canInject(CanInjectType injectType, int deviceId, long messageId, byte[] canData, SimpleResponseHandler handler)
Inject CAN data.
Observable<Void> canInject(CanInjectType injectType, int deviceId, long messageId, byte[] canData)
Inject CAN data.
void canInjectBlocking(CanInjectType injectType, int deviceId, long messageId, byte[] canData)
Inject CAN data.
void canSubscribe(int deviceId, long messageId, SimpleResponseHandler handler)
Subscribe to CAN messages.
Observable<Void> canSubscribe(int deviceId, long messageId)
Subscribe to CAN messages.
void canSubscribeBlocking(int deviceId, long messageId)
Subscribe to CAN messages.
Observable<Void> canUnsubscribe(int deviceId, long messageId)
Unsubscribe from CAN messages.
void canUnsubscribe(int deviceId, long messageId, SimpleResponseHandler handler)
Unsubscribe from CAN messages.
void canUnsubscribeBlocking(int deviceId, long messageId)
Unsubscribe from CAN messages.
void clearPtActivationBlocking()
Clear the Pt activation status from the CAM message.
Observable<Void> clearStationClosedLanes()
Clear the closed lanes status information from the CAM message.
void clearStationClosedLanes(SimpleResponseHandler handler)
Clear the closed lanes status information from the CAM message.
void clearStationClosedLanesBlocking()
Clear the closed lanes status information from the CAM message.
void clearStationEmergencyPriority(SimpleResponseHandler handler)
Clear the emergency priority related information from the CAM message.
Observable<Void> clearStationEmergencyPriority()
Clear the emergency priority related information from the CAM message.
void clearStationEmergencyPriorityBlocking()
Clear the emergency priority related information from the CAM message.
Observable<Void> clearStationEventFlags(BSMSafetyEventFlags eventFlags)
Clears the event safety flags (Safety Extension part II of BSM) of the station.
void clearStationEventFlags(BSMSafetyEventFlags eventFlags, SimpleResponseHandler handler)
Clears the event safety flags (Safety Extension part II of BSM) of the station.
void clearStationEventFlagsBlocking(BSMSafetyEventFlags eventFlags)
Clears the event safety flags (Safety Extension part II of BSM) of the station.
Observable<Void> clearStationIncidentIndication()
Clear the incident related information from the CAM message.
void clearStationIncidentIndication(SimpleResponseHandler handler)
Clear the incident related information from the CAM message.
void clearStationIncidentIndicationBlocking()
Clear the incident related information from the CAM message.
void clearStationLateralAcceleration(SimpleResponseHandler handler)
Clear station lateral acceleration.
Observable<Void> clearStationLateralAcceleration()
Clear station lateral acceleration.
void clearStationLateralAccelerationBlocking()
Clear station lateral acceleration.
Observable<Void> clearStationPtActivation()
Clear the Pt activation status from the CAM message.
void clearStationPtActivation(SimpleResponseHandler handler)
Clear the Pt activation status from the CAM message.
Observable<Void> clearStationRoadWorksSubCause()
Clear the road work sub cause value from the CAM message.
void clearStationRoadWorksSubCause(SimpleResponseHandler handler)
Clear the road work sub cause value from the CAM message.
void clearStationRoadWorksSubCauseBlocking()
Clear the road work sub cause value from the CAM message.
Observable<Void> clearStationSpeedLimit()
Clear the speed limit information from the CAM message.
void clearStationSpeedLimit(SimpleResponseHandler handler)
Clear the speed limit information from the CAM message.
void clearStationSpeedLimitBlocking()
Clear the speed limit information from the CAM message.
Observable<Void> clearStationSteeringWheelAngle()
Clears the station steering wheel angle.
void clearStationSteeringWheelAngle(SimpleResponseHandler handler)
Clears the station steering wheel angle.
void clearStationSteeringWheelAngleBlocking()
Sets the station steering wheel angle.
void clearStationTrafficRule(SimpleResponseHandler handler)
Clear the traffic rule related information from the CAM message.
Observable<Void> clearStationTrafficRule()
Clear the traffic rule related information from the CAM message.
void clearStationVerticalAcceleration(SimpleResponseHandler handler)
Clear station vertical acceleration.
Observable<Void> clearStationVerticalAcceleration()
Clear station vertical acceleration.
void clearStationVerticalAccelerationBlocking()
Clear station vertical acceleration.
void clearTrafficStationRuleBlocking()
Clear the traffic rule related information from the CAM message.
synchronized void connect(int timeoutInMilliSeconds)
Connect synchronously to the host.
synchronized void connect()
Connect synchronously to the host.
Observable<Void> denmTerminate(DENMTerminate denmTerminate)
Terminates a DENM message that is currently broadcasted by the ITS Router.
void denmTerminate(DENMTerminate denmTerminate, SimpleResponseHandler handler)
Terminates a DENM message that is currently broadcasted by the ITS Router.
void denmTerminateBlocking(DENMTerminate denmTerminate)
Terminates a DENM message that is currently broadcasted by the ITS Router.
Observable<DENMActionID> denmTrigger(DENMTrigger denmTrigger)
Trigger a new DENM message which then gets broadcasted by the ITS router.
void denmTrigger(DENMTrigger denmTrigger, ResponseHandler<DENMActionID> handler)
Trigger a new DENM message which then gets broadcasted by the ITS router.
DENMActionID denmTriggerBlocking(DENMTrigger denmTrigger)
Trigger a new DENM message which then gets broadcasted by the ITS router.
Observable<Void> denmUpdate(DENMTrigger denmTrigger)
Update an already triggered DENM message.
void denmUpdate(DENMTrigger denmTrigger, SimpleResponseHandler handler)
Update an already triggered DENM message.
void denmUpdateBlocking(DENMTrigger denmTrigger)
Update an already triggered DENM message.
Observable<Void> deregister()
De-registers the application from the the ITS Router.
void deregister(SimpleResponseHandler handler)
De-registers the application from the the ITS Router.
void deregisterBlocking()
Deregisters the application on the ITS Router.
Observable<Void> facilitySubscribe(FacilitySubscriptionMessages filter)
Subscribe to facility notifications.
void facilitySubscribe(FacilitySubscriptionMessages filter, SimpleResponseHandler handler)
Subscribe to facility notifications.
void facilitySubscribeBlocking(FacilitySubscriptionMessages filter)
Subscribe to facility notifications.
Observable<Void> facilityUnsubscribe(FacilitySubscriptionMessages filter)
Unsubscribe from facility notifications.
void facilityUnsubscribe(FacilitySubscriptionMessages filter, SimpleResponseHandler handler)
Unsubscribe from facility notifications.
void facilityUnsubscribeBlocking(FacilitySubscriptionMessages filter)
Unsubscribe from facility notifications.
long getApplicationId()
Returns the application id.
int getConnectionTimeout()
Returns the currently set connection timeout.
synchronized File getDumpRootDir()
Gets the current packet dump directory.
String getHost()
Returns the hostname.
MessageSet getMessageSet()
Returns the message set.
int getPort()
Returns the port.
int getReadTimeout()
Returns the currently set read timeout (SO_TIMEOUT).
long getRequestTimeout()
Returns the currently set request timeout.
static String getVersion()
Returns the version of the ITS library.
int getWaitBetweenReconnects()
Gets the amount of waiting in milliseconds between connection attempts when an error occurs.
Observable<Void> gnBind(BTPType btpType, long portNumber)
Bind to a geonetworking port number.
void gnBind(BTPType btpType, long portNumber, SimpleResponseHandler handler)
Bind to a geonetworking port number.
void gnBindBlocking(BTPType btpType, long portNumber)
Bind to a geonetworking port number.
Observable<Void> gnClose(BTPType btpType, long portNumber)
Stop listening on the specified geonetworking port.
void gnClose(BTPType btpType, long portNumber, SimpleResponseHandler handler)
Stop listening on the specified geonetworking port.
void gnCloseBlocking(BTPType btpType, long portNumber)
Stop listening on the specified geonetworking port.
void gnSend(GeonetSendData sendData, SimpleResponseHandler handler)
Send a geonetworking packet.
Observable<Void> gnSend(GeonetSendData sendData)
Send a geonetworking packet.
void gnSendBlocking(GeonetSendData sendData)
Send a geonetworking packet.
Observable<Void> intersectionDeleteRequest(long intersectionId)
Submits an intersection delete request.
void intersectionDeleteRequest(long intersectionId, SimpleResponseHandler handler)
Submits an intersection delete request.
void intersectionDeleteRequestBlocking(long intersectionId)
Submits an intersection delete request.
Observable<Void> intersectionRequest(Intersection intersection)
Submits an intersection request.
void intersectionRequest(Intersection intersection, SimpleResponseHandler handler)
Submits an intersection request.
void intersectionRequestBlocking(Intersection intersection)
Submits an intersection request.
Observable<Void> intersectionStateRemoveRequest(Long intersectionId)
Send an intersection state delete/remove request
void intersectionStateRemoveRequest(Long intersectionId, SimpleResponseHandler handler)
Send an intersection state delete/remove request
void intersectionStateRemoveRequestBlocking(Long intersectionId)
Send an intersection state delete/remove request
void intersectionStateRequest(IntersectionState intersectionState, SimpleResponseHandler handler)
Send an intersection state request
Observable<Void> intersectionStateRequest(IntersectionState intersectionState)
Send an intersection state request
void intersectionStateRequestBlocking(IntersectionState intersectionState)
Send an intersection state request
void intersectionStateUpdateRequest(IntersectionState intersectionState, SimpleResponseHandler handler)
Send an intersection state update request
Observable<Void> intersectionStateUpdateRequest(IntersectionState intersectionState)
Send an intersection state update request
void intersectionStateUpdateRequestBlocking(IntersectionState intersectionState)
Send an intersection state update request
boolean isConnected()
Returns the connection status.
boolean isDumpEnabled()
Returns the status of the packet dumping feature.
Observable<Void> ldmSubscribe(LdmFilter... ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
void ldmSubscribe(List<LdmFilter> ldmFilterSet, SimpleResponseHandler handler)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
Observable<Void> ldmSubscribe(List<LdmFilter> ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
void ldmSubscribeBlocking(List<LdmFilter> ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
void ldmSubscribeBlocking(LdmFilter... ldmFilterSet)
Subscribe to LDM notifications as specified by the ldmFilterSet parameter.
void ldmUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from all LDM notifications.
Observable<Void> ldmUnsubscribe()
Unsubscribe from all LDM notifications.
void ldmUnsubscribeBlocking()
Unsubscribe from all LDM notifications.
void navSubscribe(SimpleResponseHandler handler)
Subscribe to NAV messages.
Observable<Void> navSubscribe()
Subscribe to NAV messages.
void navSubscribeBlocking()
Subscribe to NAV messages.
Observable<Void> navUnsubscribe()
Unsubscribe from NAV messages.
void navUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from NAV messages.
void navUnsubscribeBlocking()
Unsubscribe from NAV messages.
void potiSetCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource, SimpleResponseHandler handler)
Set curvature in the position and timing module.
Observable<Void> potiSetCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set curvature in the position and timing module.
void potiSetCurvatureBlocking(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set curvature in the position and timing module.
Observable<Void> potiSetDriveDirection(DriveDirection driveDirection)
Set drive direction in the position and timing module.
void potiSetDriveDirection(DriveDirection driveDirection, SimpleResponseHandler handler)
Set drive direction in the position and timing module.
void potiSetDriveDirectionBlocking(DriveDirection driveDirection)
Set drive direction in the position and timing module.
void potiSetGPSD(String host, int port, SimpleResponseHandler handler)
Sets the specified host and port as the GPSD server for POTI.
Observable<Void> potiSetGPSD(String host, int port)
Sets the specified host and port as the GPSD server for POTI.
void potiSetGPSDBlocking(String host, int port)
Sets the specified host and port as the GPSD server for POTI.
void potiSetGpsStatus(GpsStatus status, SimpleResponseHandler handler)
Set gps status in the position and timing module.
Observable<Void> potiSetGpsStatus(GpsStatus status)
Set gps status in the position and timing module.
void potiSetGpsStatusBlocking(GpsStatus status)
Set gps status in the position and timing module.
Observable<Void> potiSetHeading(double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit)
Set a heading value in the position and timing module.
void potiSetHeading(double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit, SimpleResponseHandler handler)
Set a heading value in the position and timing module.
void potiSetHeadingBlocking(double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit)
Set a heading value in the position and timing module.
void potiSetLateralAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)
Set a lateral acceleration in the position and timing module.
Observable<Void> potiSetLateralAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a lateral acceleration in the position and timing module.
void potiSetLateralAccelerationBlocking(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a lateral acceleration in the position and timing module.
Observable<Void> potiSetLongitudinalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a longitudinal acceleration in the position and timing module.
void potiSetLongitudinalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)
Set a longitudinal acceleration in the position and timing module.
void potiSetLongitudinalAccelerationBlocking(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a longitudinal acceleration in the position and timing module.
void potiSetManualPosition(ManualPosition manualPosition, SimpleResponseHandler handler)
Set a manual position in the position and timing module.
Observable<Void> potiSetManualPosition(ManualPosition manualPosition)
Set a manual position in the position and timing module.
void potiSetManualPositionBlocking(ManualPosition manualPosition)
Set a manual position in the position and timing module.
void potiSetPosition(long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit, SimpleResponseHandler handler)
Set the specified static position for use with POTI.
Observable<Void> potiSetPosition(long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit)
Set the specified static position for use with POTI.
void potiSetPositionBlocking(long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit)
Set the specified static position for use with POTI.
void potiSetSpeed(double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit, SimpleResponseHandler handler)
Set the speed in the position and timing module.
Observable<Void> potiSetSpeed(double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit)
Set the speed in the position and timing module.
void potiSetSpeedBlocking(double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit)
Set the speed in the position and timing module.
Observable<Void> potiSetTimeConfidence(TimeConfidence confidence)
Set time confidence in the position and timing module.
void potiSetTimeConfidence(TimeConfidence confidence, SimpleResponseHandler handler)
Set time confidence in the position and timing module.
void potiSetTimeConfidenceBlocking(TimeConfidence confidence)
Set time confidence in the position and timing module.
void potiSetTransmissionState(TransmissionState transmissionState, SimpleResponseHandler handler)
Sets the transmission state poti parameter in BSM.
Observable<Void> potiSetTransmissionState(TransmissionState transmissionState)
Sets the transmission state poti parameter in BSM.
void potiSetTransmissionStateBlocking(TransmissionState transmissionState)
Sets the transmission state poti parameter in BSM.
Observable<Void> potiSetVerticalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a vertical acceleration in the position and timing module.
void potiSetVerticalAcceleration(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)
Set a vertical acceleration in the position and timing module.
void potiSetVerticalAccelerationBlocking(double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)
Set a vertical acceleration in the position and timing module.
void potiSetYawRate(double yawRateDegreesPerSec, YawRateConfidence yawRateConfidence, SimpleResponseHandler handler)
Set yaw rate in the position and timing module.
Observable<Void> potiSetYawRate(double yawRateDegreesPerSec, YawRateConfidence confidence)
Set yaw rate in the position and timing module.
void potiSetYawRateBlocking(double yawRateDegreesPerSec, YawRateConfidence confidence)
Set yaw rate in the position and timing module.
Observable<Void> potiSubscribe(PotiSubscription potiSubscription)
Subscribe to POTI messages, with seleceted subscribegroups.
void potiSubscribe(SimpleResponseHandler handler, PotiSubscription potiSubscription)
Subscribe to POTI messages, with seleceted subscribegroups.
void potiSubscribeBlocking(PotiSubscription potiSubscription)
Subscribe to POTI messages, with seleceted subscribegroups.
Observable<Void> potiUnsubscribe()
Unsubscribe from POTI messages.
void potiUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from POTI messages.
void potiUnsubscribeBlocking()
Unsubscribe from POTI messages.
Observable<Void> potiUseGNSS()
Use GNSS as the source of positional data.
void potiUseGNSS(SimpleResponseHandler handler)
Use GNSS as the source of positional data.
void potiUseGNSSBlocking()
Use GNSS as the source of positional data.
void register(SimpleResponseHandler handler)
Registers the application on the ITS Router if the connection is alive between them.
Observable<Void> register()
Registers the application on the ITS Router if the connection is alive between them.
void registerBlocking()
Registers the application on the ITS Router if the connection is alive between them.
void removeConnectionStateListener(ITSConnectionStateListener listener)
Removes a previously registered connection state listener.
void removeEventListener(ITSEventListener eventListener)
Removes a previously registered event listener.
void removeRawPacketListener(ITSRawFacilityPacketListener rawPacketListener)
Removes a raw packet listener.
Observable<DeviceId> requestDeviceId()
Request device station id and mac address.
void requestDeviceId(ResponseHandler<DeviceId> handler)
Request device station id and mac address.
DeviceId requestDeviceIdBlocking()
Request device station id and mac address.
Observable<DeviceInfoResponse> requestDeviceInfo()
Request device information.
void requestDeviceInfo(ResponseHandler<DeviceInfoResponse> handler)
Request device information.
DeviceInfoResponse requestDeviceInfoBlocking()
Request device information.
void requestStatistics(ResponseHandler<StatisticsResponse> handler)
Request statistics information from the ITS Router.
Observable<StatisticsResponse> requestStatistics()
Request statistics information from the ITS Router.
StatisticsResponse requestStatisticsBlocking()
Request statistics information from the ITS Router.
Observable<DemoStatus> retrieveDemoStatus()
Retrieve demo status.
void retrieveDemoStatus(ResponseHandler<DemoStatus> handler)
Retrieve demo status.
DemoStatus retrieveDemoStatusBlocking()
Retrieve demo status.
void sendOnRadio(InjectData injectData, SimpleResponseHandler handler)
Sends the provided data frame using the radio of the device.
Observable<Void> sendOnRadio(InjectData injectData)
Sends the provided data frame using the radio of the device.
void sendOnRadioBlocking(InjectData injectData)
Sends the provided data frame using the radio of the device.
Observable<Void> sendRawCommand(byte[] data)
Send a raw command.
void sendRawCommand(byte[] data, SimpleResponseHandler handler)
Send a raw command.
void sendRawCommandBlocking(byte[] data)
Send a raw command.
Observable<Void> sendToStack(InjectData injectData)
Sends the provided data frame through the V2X stack of the device.
void sendToStack(InjectData injectData, SimpleResponseHandler handler)
Sends the provided data frame through the V2X stack of the device.
void sendToStackBlocking(InjectData injectData)
Sends the provided data frame through the V2X stack of the device.
void setCamDCC(long milisecs, SimpleResponseHandler handler)
Set the CAM Decentralized Congestion Control value.
Observable<Void> setCamDCC(long milisecs)
Set the CAM Decentralized Congestion Control value.
void setCamDCCBlocking(long milisecs)
Set the CAM Decentralized Congestion Control value.
void setConnectionTimeout(int connectionTimeout)
Sets the connection timeout.
void setDeviceTime(long timestamp, SimpleResponseHandler handler)
Sets the time on the remote device.
Observable<Void> setDeviceTime(long timestamp)
Sets the time on the remote device.
void setDeviceTimeBlocking(long timestamp)
Sets the time on the remote device.
void setDumpEnabled(boolean dumpEnabled)
Enables/disables packet dumping.
synchronized void setDumpRootDir(String dumpRootDir)
Set the packet dump root directory.
synchronized void setDumpRootDir(File dumpRootDir)
Set the packet dump root directory.
void setFacilityModuleStatus(FacilityModule facilityModule, boolean enabled, SimpleResponseHandler handler)
Enables/disables the specified facility module.
Observable<Void> setFacilityModuleStatus(FacilityModule facilityModule, boolean enabled)
Enables/disables the specified facility module.
void setFacilityModuleStatusBlocking(FacilityModule facilityModule, boolean enabled)
Enables/disables the specified facility module.
void setGbcForwardingAlgorithm(GbcForwardingAlgorithm forwardingAlgorithm, SimpleResponseHandler handler)
Set the GBC forwarding algorithm.
Observable<Void> setGbcForwardingAlgorithm(GbcForwardingAlgorithm forwardingAlgorithm)
Set the GBC forwarding algorithm.
void setGbcForwardingAlgorithmBlocking(GbcForwardingAlgorithm forwardingAlgorithm)
Set the GBC forwarding algorithm.
void setGucForwardingAlgorithm(GucForwardingAlgorithm forwardingAlgorithm, SimpleResponseHandler handler)
Set the GUC forwarding algorithm.
Observable<Void> setGucForwardingAlgorithm(GucForwardingAlgorithm forwardingAlgorithm)
Set the GUC forwarding algorithm.
void setGucForwardingAlgorithmBlocking(GucForwardingAlgorithm forwardingAlgorithm)
Set the GUC forwarding algorithm.
void setHeartbeatSendFrequency(long frequencyInMillis)
Sets the frequency for sending heart packets.
void setMalformedPacketHandler(MalformedPacketHandler handler)
Sets the malformed packet handler.
void setReadTimeout(int readTimeout)
Sets the read timeout, will be applied on the next .
void setRequestTimeout(long timeoutInMillis)
Sets the request timeout.
Observable<Void> setStationABSState(AbsStatus absState)
Sets the ABS state station info parameter in BSM.
void setStationABSState(AbsStatus absState, SimpleResponseHandler handler)
Sets the ABS state station info parameter in BSM.
void setStationABSStateBlocking(AbsStatus absState)
Sets the ABS state station info parameter in BSM.
void setStationAccelerationControl(AccelerationControl accelerationControl, SimpleResponseHandler handler)
Set station acceleration control values.
Observable<Void> setStationAccelerationControl(AccelerationControl accelerationControl)
Set station acceleration control values.
void setStationAccelerationControlBlocking(AccelerationControl accelerationControl)
Set station acceleration control values.
Observable<Void> setStationAebInterventionRequestState(AebInterventionRequestState aebInterventionRequestState)
Sets the aeb intervention request state station info parameter.
void setStationAebInterventionRequestState(AebInterventionRequestState aebInterventionRequestState, SimpleResponseHandler handler)
Sets the aeb intervention request state station info parameter.
void setStationAebInterventionRequestStateBlocking(AebInterventionRequestState aebInterventionRequestState)
Sets the aeb intervention request state station info parameter.
void setStationAirBagDeployed(boolean airBagDeployed, SimpleResponseHandler handler)
Sets the air bag deployed station info parameter in BSM.
Observable<Void> setStationAirBagDeployed(boolean airBagDeployed)
Sets the air bag deployed station info parameter in BSM.
void setStationAirBagDeployedBlocking(boolean airBagDeployed)
Sets the air bag deployed station info parameter in BSM.
Observable<Void> setStationAuxiliaryBrakeState(AuxiliaryBrakeState auxiliaryBrakeState)
Sets the auxiliary brake state station info parameter in BSM.
void setStationAuxiliaryBrakeState(AuxiliaryBrakeState auxiliaryBrakeState, SimpleResponseHandler handler)
Sets the auxiliary brake state station info parameter in BSM.
void setStationAuxiliaryBrakeStateBlocking(AuxiliaryBrakeState auxiliaryBrakeState)
Sets the auxiliary brake state station info parameter in BSM.
Observable<Void> setStationBrakeBoost(BrakeBoostState brakeBoostStatus)
Sets the brake boost state station info parameter in BSM.
void setStationBrakeBoost(BrakeBoostState brakeBoostStatus, SimpleResponseHandler handler)
Sets the brake boost state station info parameter in BSM.
void setStationBrakeBoostBlocking(BrakeBoostState brakeBoostStatus)
Sets the brake boost state station info parameter in BSM.
Observable<Void> setStationBrakePressure(BrakePressure brakePressure)
Sets the brake pressure station info parameter in BSM.
void setStationBrakePressure(BrakePressure brakePressure, SimpleResponseHandler handler)
Sets the brake pressure station info parameter in BSM.
void setStationBrakePressureBlocking(BrakePressure brakePressure)
Sets the brake pressure station info parameter in BSM.
void setStationBreakDownWarningState(BreakDownWarningState state, SimpleResponseHandler handler)
Sets the break down warning state station info parameter.
Observable<Void> setStationBreakDownWarningState(BreakDownWarningState state)
Sets the break down warning state station info parameter.
void setStationBreakDownWarningStateBlocking(BreakDownWarningState state)
Sets the break down warning state station info parameter.
void setStationCenDsrcTollingZone(CenDsrcTollingZone cenDsrcTollingZone, SimpleResponseHandler handler)
Sets the CEN DSRC tolling zone station info parameter.
Observable<Void> setStationCenDsrcTollingZone(CenDsrcTollingZone cenDsrcTollingZone)
Sets the CEN DSRC tolling zone station info parameter.
void setStationCenDsrcTollingZoneBlocking(CenDsrcTollingZone cenDsrcTollingZone)
Sets the CEN DSRC tolling zone station info parameter.
void setStationClosedLanes(HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount, SimpleResponseHandler handler)
Sets the opening/closure status of the lanes ahead within the CAM message.
Observable<Void> setStationClosedLanes(HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount)
Sets the opening/closure status of the lanes ahead within the CAM message.
void setStationClosedLanesBlocking(HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount)
Sets the opening/closure status of the lanes ahead within the CAM message.
Observable<Void> setStationCrashDetectionState(CrashDetectionState crashDetectionState)
Sets the crash detection state station info parameter.
void setStationCrashDetectionState(CrashDetectionState crashDetectionState, SimpleResponseHandler handler)
Sets the crash detection state station info parameter.
void setStationCrashDetectionStateBlocking(CrashDetectionState crashDetectionState)
Sets the crash detection state station info parameter.
void setStationCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource, SimpleResponseHandler handler)
Set the station curvature value.
Observable<Void> setStationCurvature(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set the station curvature value.
void setStationCurvatureBlocking(long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)
Set the station curvature value.
Observable<Void> setStationDangerousGoods(DangerousGoodsBasicCategory category)
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
void setStationDangerousGoods(DangerousGoodsBasicCategory category, SimpleResponseHandler handler)
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
void setStationDangerousGoodsBlocking(DangerousGoodsBasicCategory category)
Sets the presence of dangerous goods in the vehicle (contained in the CAM message).
Observable<Void> setStationDisabledVehicle(boolean disabledVehicle)
Sets the disabled vehicle station info parameter in BSM.
void setStationDisabledVehicle(boolean disabledVehicle, SimpleResponseHandler handler)
Sets the disabled vehicle station info parameter in BSM.
void setStationDisabledVehicleBlocking(boolean disabledVehicle)
Sets the disabled vehicle station info parameter in BSM.
Observable<Void> setStationDoorStates(DoorStates states)
Sets the door states station info parameter.
void setStationDoorStates(DoorStates states, SimpleResponseHandler handler)
Sets the door states station info parameter.
void setStationDoorStatesBlocking(DoorStates states)
Sets the door states station info parameter.
Observable<Void> setStationDriveDirection(DriveDirection direction)
Set station drive direction value.
void setStationDriveDirection(DriveDirection direction, SimpleResponseHandler handler)
Set station drive direction value.
void setStationDriveDirectionBlocking(DriveDirection direction)
Set station drive direction value.
Observable<Void> setStationDrivingWheelAngle(DrivingWheelAngle drivingWheelAngle)
Sets the driving wheel angle station info parameter in BSM.
void setStationDrivingWheelAngle(DrivingWheelAngle drivingWheelAngle, SimpleResponseHandler handler)
Sets the driving wheel angle station info parameter in BSM.
void setStationDrivingWheelAngleBlocking(DrivingWheelAngle drivingWheelAngle)
Sets the driving wheel angle station info parameter in BSM.
void setStationECallState(ECallState eCallState, SimpleResponseHandler handler)
Sets the e call state station info parameter.
Observable<Void> setStationECallState(ECallState eCallState)
Sets the e call state station info parameter.
void setStationECallStateBlocking(ECallState eCallState)
Sets the e call state station info parameter.
Observable<Void> setStationEeblRequestState(EeblRequestState requestState)
Sets the Emergency Electronic Brake Light request state station info parameter.
void setStationEeblRequestState(EeblRequestState requestState, SimpleResponseHandler handler)
Sets the Emergency Electronic Brake Light request state station info parameter.
void setStationEeblRequestStateBlocking(EeblRequestState requestState)
Sets the Emergency Electronic Brake Light request state station info parameter.
void setStationEmbarkationStatus(boolean readyForEmbarkation, SimpleResponseHandler handler)
Sets the ready for embarkation status within the CAM message.
Observable<Void> setStationEmbarkationStatus(boolean readyForEmbarkation)
Sets the ready for embarkation status within the CAM message.
void setStationEmbarkationStatusBlocking(boolean readyForEmbarkation)
Sets the ready for embarkation status within the CAM message.
Observable<Void> setStationEmergencyPriority(boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight)
Sets the emergency priority within the CAM message.
void setStationEmergencyPriority(boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight, SimpleResponseHandler handler)
Sets the emergency priority within the CAM message.
void setStationEmergencyPriorityBlocking(boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight)
Sets the emergency priority within the CAM message.
void setStationEventFlags(BSMSafetyEventFlags eventFlags, SimpleResponseHandler handler)
Sets the event safety flags (Safety Extension part II of BSM) of the station.
Observable<Void> setStationEventFlags(BSMSafetyEventFlags eventFlags)
Sets the event safety flags (Safety Extension part II of BSM) of the station.
void setStationEventFlagsBlocking(BSMSafetyEventFlags eventFlags)
Sets the event safety flags (Safety Extension part II of BSM) of the station.
Observable<Void> setStationExteriorLights(ExteriorLights exteriorLights)
Set station exterior lights status.
void setStationExteriorLights(ExteriorLights exteriorLights, SimpleResponseHandler handler)
Set station exterior lights status.
void setStationExteriorLightsBlocking(ExteriorLights exteriorLights)
Set station exterior lights status.
Observable<Void> setStationFlatTire(boolean flatTire)
Sets the flat tire station info parameter in BSM.
void setStationFlatTire(boolean flatTire, SimpleResponseHandler handler)
Sets the flat tire station info parameter in BSM.
void setStationFlatTireBlocking(boolean flatTire)
Sets the flat tire station info parameter in BSM.
Observable<Void> setStationHardBraking(boolean hardBraking)
Sets the hard braking station info parameter in BSM.
void setStationHardBraking(boolean hardBraking, SimpleResponseHandler handler)
Sets the hard braking station info parameter in BSM.
void setStationHardBrakingBlocking(boolean hardBraking)
Sets the hard braking station info parameter in BSM.
void setStationIgnitionState(IgnitionState ignitionState, SimpleResponseHandler handler)
Sets the ignition state station info parameter.
Observable<Void> setStationIgnitionState(IgnitionState ignitionState)
Sets the ignition state station info parameter.
void setStationIgnitionStateBlocking(IgnitionState ignitionState)
Sets the ignition state station info parameter.
void setStationIncidentIndication(CauseCode causeCode, SimpleResponseHandler handler)
Sets the incident information within the CAM message.
Observable<Void> setStationIncidentIndication(CauseCode causeCode)
Sets the incident information within the CAM message.
void setStationIncidentIndicationBlocking(CauseCode causeCode)
Sets the incident information within the CAM message.
Observable<Void> setStationIncludeCurvature(boolean included)
Set if the curvature info should be included or excluded from the CAM message.
void setStationIncludeCurvature(boolean included, SimpleResponseHandler handler)
Set if the curvature info should be included or excluded from the CAM message.
void setStationIncludeCurvatureBlocking(boolean included)
Set if the curvature info should be included or excluded from the CAM message.
void setStationIncludePathHistory(boolean included, SimpleResponseHandler handler)
Set if the path history should be included or excluded from the CAM message.
Observable<Void> setStationIncludePathHistory(boolean included)
Set if the path history should be included or excluded from the CAM message.
void setStationIncludePathHistoryBlocking(boolean included)
Set if the path history should be included or excluded from the CAM message.
void setStationIncludeSystemInfo(boolean include, SimpleResponseHandler handler)
Sets whether the system information should be included in the CAM message.
Observable<Void> setStationIncludeSystemInfo(boolean include)
Sets whether the system information should be included in the CAM message.
void setStationIncludeSystemInfoBlocking(boolean include)
Sets whether the system information should be included in the CAM message.
void setStationIorsState(IorsState iorsState, SimpleResponseHandler handler)
Sets the iors state station info parameter.
Observable<Void> setStationIorsState(IorsState iorsState)
Sets the iors state station info parameter.
void setStationIorsStateBlocking(IorsState iorsState)
Sets the iors state station info parameter.
void setStationIppsState(IppsState ippsState, SimpleResponseHandler handler)
Sets the ipps state station info parameter.
Observable<Void> setStationIppsState(IppsState ippsState)
Sets the ipps state station info parameter.
void setStationIppsStateBlocking(IppsState ippsState)
Sets the ipps state station info parameter.
void setStationLaneNumber(Long laneNumber, SimpleResponseHandler handler)
Sets the lane number of the station.
Observable<Void> setStationLaneNumber(Long laneNumber)
Sets the lane number of the station.
void setStationLaneNumberBlocking(Long laneNumber)
Sets the lane number of the station.
Observable<Void> setStationLateralAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station lateral acceleration.
void setStationLateralAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)
Set station lateral acceleration.
void setStationLateralAccelerationBlocking(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station lateral acceleration.
void setStationLightBarSirenInUse(boolean lightBarUsed, boolean sirenUsed, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
void setStationLightBarSirenInUse(LightbarInUse lightbarInUse, SirenInUse sirenInUse, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
Observable<Void> setStationLightBarSirenInUse(boolean lightBarUsed, boolean sirenUsed)
Sets the light bar and siren status within the CAM message.
Observable<Void> setStationLightBarSirenInUse(LightbarInUse lightbarInUse, SirenInUse sirenInUse)
Sets the light bar and siren status within the CAM message.
void setStationLightBarSirenInUseBlocking(boolean lightBarUsed, boolean sirenUsed, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
void setStationLightBarSirenInUseBlocking(LightbarInUse lightbarInUse, SirenInUse sirenInUse, SimpleResponseHandler handler)
Sets the light bar and siren status within the CAM message.
Observable<Void> setStationLongitudinalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station longitudinal acceleration.
void setStationLongitudinalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)
Set station longitudinal acceleration.
void setStationLongitudinalAccelerationBlocking(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station longitudinal acceleration.
Observable<Void> setStationProtectedCommunicationZonesRSU(List<ProtectedCommunicationZone> zones)
Sets the protected communications zones RSU station info parameter.
void setStationProtectedCommunicationZonesRSU(List<ProtectedCommunicationZone> zones, SimpleResponseHandler handler)
Sets the protected communications zones RSU station info parameter.
void setStationProtectedCommunicationZonesRSUBlocking(List<ProtectedCommunicationZone> zones)
Sets the protected communications zones RSU station info parameter.
void setStationPtActivation(PtActivationType encoding, byte[] data, SimpleResponseHandler handler)
Sets the Pt activation data within the CAM message.
Observable<Void> setStationPtActivation(PtActivationType encoding, byte[] data)
Sets the Pt activation data within the CAM message.
void setStationPtActivationBlocking(PtActivationType encoding, byte[] data)
Sets the Pt activation data within the CAM message.
Observable<Void> setStationRoadFriction(RoadFriction roadFriction)
Sets the road friction station info parameter in BSM.
void setStationRoadFriction(RoadFriction roadFriction, SimpleResponseHandler handler)
Sets the road friction station info parameter in BSM.
void setStationRoadFrictionBlocking(RoadFriction roadFriction)
Sets the road friction station info parameter in BSM.
void setStationRoadWorksSubCause(RoadWorksSubCause subcause, SimpleResponseHandler handler)
Sets the road works sub cause within the CAM message.
Observable<Void> setStationRoadWorksSubCause(RoadWorksSubCause subcause)
Sets the road works sub cause within the CAM message.
void setStationRoadWorksSubCauseBlocking(RoadWorksSubCause subcause)
Sets the road works sub cause within the CAM message.
void setStationRoleType(StationType stationType, VehicleRole role, SimpleResponseHandler handler)
Set station type and role.
Observable<Void> setStationRoleType(StationType stationType, VehicleRole role)
Set station type and role.
void setStationRoleTypeBlocking(StationType stationType, VehicleRole role)
Set station type and role.
Observable<Void> setStationRorsRequestState(RorsInterventionRequestState requestState)
Sets the Reversible Occupant Restraint System request state station info parameter.
void setStationRorsRequestState(RorsInterventionRequestState requestState, SimpleResponseHandler handler)
Sets the Reversible Occupant Restraint System request state station info parameter.
void setStationRorsRequestStateBlocking(RorsInterventionRequestState requestState)
Sets the Reversible Occupant Restraint System request state station info parameter.
Observable<Void> setStationSeatBeltState(SeatBeltStates seatBeltStates)
Sets the seat belt status on a given position in a station
void setStationSeatBeltState(SeatBeltStates seatBeltStates, SimpleResponseHandler handler)
Sets the seat belt status on a given position in a station
void setStationSeatBeltStateBlocking(SeatBeltStates seatBeltStates)
Sets the seat belt status on a given position in a station
void setStationSlowVehicleState(SlowVehicleState slowVehicleState, SimpleResponseHandler handler)
Sets the slow vehicle state station info parameter.
Observable<Void> setStationSlowVehicleState(SlowVehicleState slowVehicleState)
Sets the slow vehicle state station info parameter.
void setStationSlowVehicleStateBlocking(SlowVehicleState slowVehicleState)
Sets the slow vehicle state station info parameter.
Observable<Void> setStationSpecialTransportType(SpecialTransportType specialTransportType)
Sets the special transport type information within the CAM message.
void setStationSpecialTransportType(SpecialTransportType specialTransportType, SimpleResponseHandler handler)
Sets the special transport type information within the CAM message.
void setStationSpecialTransportTypeBlocking(SpecialTransportType specialTransportType)
Sets the special transport type information within the CAM message.
Observable<Void> setStationSpeedLimit(double speedLimit, SpeedUnit speedUnit)
Sets the speed limit in the CAM message.
void setStationSpeedLimit(double speedLimit, SpeedUnit speedUnit, SimpleResponseHandler handler)
Sets the speed limit in the CAM message.
void setStationSpeedLimitBlocking(double speedLimit, SpeedUnit speedUnit)
Sets the speed limit in the CAM message.
Observable<Void> setStationStabilityControlState(StabilityControlState stabilityControlState)
Sets the stability control state station info parameter in BSM.
void setStationStabilityControlState(StabilityControlState stabilityControlState, SimpleResponseHandler handler)
Sets the stability control state station info parameter in BSM.
void setStationStabilityControlStateBlocking(StabilityControlState stabilityControlState)
Sets the stability control state station info parameter in BSM.
Observable<Void> setStationSteeringWheelAngle(double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit)
Sets the station steering wheel angle.
void setStationSteeringWheelAngle(double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit, SimpleResponseHandler handler)
Sets the station steering wheel angle.
void setStationSteeringWheelAngleBlocking(double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit)
Sets the station steering wheel angle.
Observable<Void> setStationStopLineViolated(boolean stopLineViolated)
Sets the stop line violated station info parameter in BSM.
void setStationStopLineViolated(boolean stopLineViolated, SimpleResponseHandler handler)
Sets the stop line violated station info parameter in BSM.
void setStationStopLineViolatedBlocking(boolean stopLineViolated)
Sets the stop line violated station info parameter in BSM.
Observable<Void> setStationThrottlePressure(StationInfoThrottlePosition throttlePosition)
Sets the throttle pressure station info parameter in BSM.
void setStationThrottlePressure(StationInfoThrottlePosition throttlePosition, SimpleResponseHandler handler)
Sets the throttle pressure station info parameter in BSM.
void setStationThrottlePressureBlocking(StationInfoThrottlePosition throttlePosition)
Sets the throttle pressure station info parameter in BSM.
void setStationTractionControlState(TractionControlState tractionControlState, SimpleResponseHandler handler)
Sets the traction control state station info parameter in BSM.
Observable<Void> setStationTractionControlState(TractionControlState tractionControlState)
Sets the traction control state station info parameter in BSM.
void setStationTractionControlStateBlocking(TractionControlState tractionControlState)
Sets the traction control state station info parameter in BSM.
void setStationTrafficJamRadioState(TrafficJamRadioState trafficJamRadioState, SimpleResponseHandler handler)
Sets the Station Info Traffic Jam Radio State parameter.
Observable<Void> setStationTrafficJamRadioState(TrafficJamRadioState trafficJamRadioState)
Sets the Station Info Traffic Jam Radio State parameter.
void setStationTrafficJamRadioStateBlocking(TrafficJamRadioState trafficJamRadioState)
Sets the Station Info Traffic Jam Radio State parameter.
void setStationTrafficRule(TrafficRule trafficRule, SimpleResponseHandler handler)
Sets the traffic rule within the CAM message.
Observable<Void> setStationTrafficRule(TrafficRule trafficRule)
Sets the traffic rule within the CAM message.
void setStationTrafficRuleBlocking(TrafficRule trafficRule)
Sets the traffic rule within the CAM message.
void setStationVerticalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)
Set station vertical acceleration.
Observable<Void> setStationVerticalAcceleration(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station vertical acceleration.
void setStationVerticalAccelerationBlocking(double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)
Set station vertical acceleration.
Observable<Void> setStationWheelBrakeState(WheelBrakes wheelBrakeState)
Sets the wheel brake state station info parameter in BSM.
void setStationWheelBrakeState(WheelBrakes wheelBrakeState, SimpleResponseHandler handler)
Sets the wheel brake state station info parameter in BSM.
void setStationWheelBrakeStateBlocking(WheelBrakes wheelBrakeState)
Sets the wheel brake state station info parameter in BSM.
void setStationYawRate(double degreesPerSec, YawRateConfidence confidence, SimpleResponseHandler handler)
Set station yaw rate.
Observable<Void> setStationYawRate(double degreesPerSec, YawRateConfidence confidence)
Set station yaw rate.
void setStationYawRateBlocking(double degreesPerSec, YawRateConfidence confidence)
Set station yaw rate.
void setWaitBetweenReconnects(int waitBetweenReconnects)
Sets the amount of waiting in milliseconds between connection attempts when an error occurs.
synchronized void shutdown()
Terminates the current connection if connected and shuts down the connection manager.
void start()
Starts the connection manager and initiates a connection towards the router.
void startSafetyAppsBlocking()
Starts safety apps if not started already.
void startShowCaseDemo(boolean loop, SimpleResponseHandler handler)
Starts the showcase demo.
Observable<Void> startShowCaseDemo(boolean loop)
Starts the showcase demo.
void startShowCaseDemoBlocking(boolean loop)
Starts the showcase demo.
void stationInfoSubscribe(StationInfoSubscribeGroups subscribeGroups, SimpleResponseHandler handler)
Subscribe to Station Info messages.
Observable<Void> stationInfoSubscribe(StationInfoSubscribeGroups subscribeGroups)
Subscribe to Station Info messages.
void stationInfoSubscribeBlocking(StationInfoSubscribeGroups subscribeGroups)
Subscribe to Station Info messages.
Observable<Void> stationInfoUnsubscribe()
Unsubscribe from Station Info messages.
void stationInfoUnsubscribe(SimpleResponseHandler handler)
Unsubscribe from Station Info messages.
void stationInfoUnsubscribeBlocking()
Unsubscribe from Station Info messages.
Observable<Void> subscribeToDiagnosticsNotifications()
Subscribe to diagnostics notifications.
void subscribeToDiagnosticsNotifications(SimpleResponseHandler handler)
Subscribe to diagnostics notifications.
void subscribeToDiagnosticsNotificationsBlocking()
Subscribe to diagnostics notifications.
Observable<Void> unsubscribeFromDiagnosticsNotifications()
Unsubscribe from diagnostics notifications.
void unsubscribeFromDiagnosticsNotifications(SimpleResponseHandler handler)
Unsubscribe from diagnostics notifications.
void unsubscribeFromDiagnosticsNotificationsBlocking()
Unsubscribe from diagnostics notifications.
Observable<Void> useCertWithHashId(CertificateStandardType certificateStandardType, String hashId)
Use the specified certificate.
void useCertWithHashId(CertificateStandardType certificateStandardType, String hashId, SimpleResponseHandler handler)
Use the specified certificate.
void useCertWithHashIdBlocking(CertificateStandardType certificateStandardType, String hashId)
Use the specified certificate.
void waitForConnection(int timeoutInMilliseconds)
Wait for the connection to establish.
Observable<Void> wsaSubscribe(long psid)
Subscribe to WSA notifications.
void wsaSubscribe(long psid, SimpleResponseHandler handler)
Subscribe to WSA notifications.
void wsaSubscribeBlocking(long psid)
Subscribe to WSA notifications.
void wsaUnsubscribe(long psid, SimpleResponseHandler handler)
Unsubscribe from WSA notifications.
Observable<Void> wsaUnsubscribe(long psid)
Unsubscribe from WSA notifications.
void wsaUnsubscribeBlocking(long psid)
Unsubscribe from WSA notifications.
Observable<Void> wsmpBind(long portNumber)
Bind to a WSMP port number.
void wsmpBind(long portNumber, SimpleResponseHandler handler)
Bind to a WSMP port number.
void wsmpBindBlocking(long portNumber)
Bind to a WSMP port number.
Observable<Void> wsmpClose(long portNumber)
Stop listening on the specified WSMP port.
void wsmpClose(long portNumber, SimpleResponseHandler handler)
Stop listening on the specified WSMP port.
void wsmpCloseBlocking(long portNumber)
Stop listening on the specified WSMP port.
Observable<Void> wsmpSend(WsmpSendData sendData)
Send a WSMP packet.
void wsmpSend(WsmpSendData sendData, SimpleResponseHandler handler)
Send a WSMP packet.
void wsmpSendBlocking(WsmpSendData sendData)
Send a WSMP packet.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEFAULT_CONNECTION_TIMEOUT

Default connection timeout in milliseconds

Constant Value: 60000 (0x0000ea60)

public static final int DEFAULT_EAS_PORT

Default external application server port.

Constant Value: 7942 (0x00001f06)

public static final int DEFAULT_HEARTBEAT_SEND_FREQUENCY_IN_MILLISECONDS

Default frequency while sending heartbeat packets in milliseconds.

Constant Value: 3000 (0x00000bb8)

public static final int DEFAULT_READ_TIMEOUT

Default read timeout (SO_TIMEOUT) in milliseconds

Constant Value: 60000 (0x0000ea60)

public static final int DEFAULT_REQUEST_TIMEOUT

Default request timeout in milliseconds

Constant Value: 30000 (0x00007530)

public static final int DEFAULT_WAIT_BETWEEN_RECONNECTS

Default wait between reconnects in milliseconds when an error occurs

Constant Value: 1000 (0x000003e8)

Public Constructors

public ITSApplication (long applicationId, String host, MessageSet messageSet)

Creates a new ITSApplication instance.

Parameters
applicationId application id of the client
host hostname of the its router
messageSet message set to use
Throws
IllegalArgumentException if the selected message set is not supported

public ITSApplication (long applicationId, String host, int port, MessageSet messageSet)

Creates a new ITSApplication instance.

Parameters
applicationId application id of the client
host hostname of the its router
port external application server port
messageSet message set to use
Throws
IllegalArgumentException if the selected message set is not supported

Public Methods

public void addConnectionStateListener (ITSConnectionStateListener listener)

Registers a new connection state listener.

Parameters
listener connection state listener

public void addEventListener (ITSEventListener eventListener)

Registers a new event listener.

Parameters
eventListener event listener

public void addRawFacilityPacketListener (ITSRawFacilityPacketListener rawPacketListener)

Adds a raw packet listener. The listener will be invoked when a raw facility packet is received.

Parameters
rawPacketListener raw packet listener

public Observable<Void> beginProfiling (long measureIntervalInSec)

Begin a profiling run using the specified measurement interval. The response is just a simple confirmation that the profiling has begun. Actual profiling results can be obtained by registering an ITSEventListener and implementing onProfilingResults.

Parameters
measureIntervalInSec measurement interval in seconds
Returns
  • an observable for this request

public void beginProfiling (long measureIntervalInSec, SimpleResponseHandler handler)

Begin a profiling run using the specified measurement interval. The response is just a simple confirmation that the profiling has begun. Actual profiling results can be obtained by registering an ITSEventListener and implementing onProfilingResults.

Parameters
measureIntervalInSec measurement interval in seconds
handler response handler

public void beginProfilingBlocking (long measureIntervalInSec)

Begin a profiling run using the specified measurement interval. The response is just a simple confirmation that the profiling has begun. Actual profiling results can be obtained by registering an ITSEventListener and implementing onProfilingResults.

Parameters
measureIntervalInSec measurement interval in seconds
Throws
ClientException when the request fails

public void canInject (CanInjectType injectType, int deviceId, long messageId, byte[] canData, SimpleResponseHandler handler)

Inject CAN data.

Parameters
injectType injection target
deviceId device id
messageId message id
canData can data
handler response handler

public Observable<Void> canInject (CanInjectType injectType, int deviceId, long messageId, byte[] canData)

Inject CAN data.

Parameters
injectType injection target
deviceId device id
messageId message id
canData can data
Returns
  • observable for this request

public void canInjectBlocking (CanInjectType injectType, int deviceId, long messageId, byte[] canData)

Inject CAN data.

Parameters
injectType injection target
deviceId device id
messageId message id
canData can data
Throws
ClientException when the request fails.

public void canSubscribe (int deviceId, long messageId, SimpleResponseHandler handler)

Subscribe to CAN messages. CAN messages will be received as CAN notifications.

Parameters
deviceId device id
messageId message id
handler response handler

public Observable<Void> canSubscribe (int deviceId, long messageId)

Subscribe to CAN messages. CAN messages will be received as CAN notifications.

Parameters
deviceId device id
messageId message id
Returns
  • observable for this request

public void canSubscribeBlocking (int deviceId, long messageId)

Subscribe to CAN messages. CAN messages will be received as CAN notifications.

Parameters
deviceId device id
messageId message id
Throws
ClientException when the request fails

public Observable<Void> canUnsubscribe (int deviceId, long messageId)

Unsubscribe from CAN messages.

Parameters
deviceId device id
messageId message id
Returns
  • observable for this request

public void canUnsubscribe (int deviceId, long messageId, SimpleResponseHandler handler)

Unsubscribe from CAN messages.

Parameters
deviceId device id
messageId message id
handler response handler

public void canUnsubscribeBlocking (int deviceId, long messageId)

Unsubscribe from CAN messages.

Parameters
deviceId device id
messageId message id
Throws
ClientException when the request fails

public void clearPtActivationBlocking ()

Clear the Pt activation status from the CAM message.

Throws
ClientException when the request fails

public Observable<Void> clearStationClosedLanes ()

Clear the closed lanes status information from the CAM message.

Returns
  • observable for this request

public void clearStationClosedLanes (SimpleResponseHandler handler)

Clear the closed lanes status information from the CAM message.

Parameters
handler response handler

public void clearStationClosedLanesBlocking ()

Clear the closed lanes status information from the CAM message.

Throws
ClientException when the request fails

public void clearStationEmergencyPriority (SimpleResponseHandler handler)

Clear the emergency priority related information from the CAM message.

Parameters
handler response handler

public Observable<Void> clearStationEmergencyPriority ()

Clear the emergency priority related information from the CAM message.

Returns
  • observable for this request

public void clearStationEmergencyPriorityBlocking ()

Clear the emergency priority related information from the CAM message.

Throws
ClientException when the request fails

public Observable<Void> clearStationEventFlags (BSMSafetyEventFlags eventFlags)

Clears the event safety flags (Safety Extension part II of BSM) of the station.

Returns
  • observable for this request

public void clearStationEventFlags (BSMSafetyEventFlags eventFlags, SimpleResponseHandler handler)

Clears the event safety flags (Safety Extension part II of BSM) of the station.

Parameters
handler response handler

public void clearStationEventFlagsBlocking (BSMSafetyEventFlags eventFlags)

Clears the event safety flags (Safety Extension part II of BSM) of the station.

Throws
ClientException when the request fails

public Observable<Void> clearStationIncidentIndication ()

Clear the incident related information from the CAM message.

Returns
  • observable for this request

public void clearStationIncidentIndication (SimpleResponseHandler handler)

Clear the incident related information from the CAM message.

Parameters
handler response handler

public void clearStationIncidentIndicationBlocking ()

Clear the incident related information from the CAM message.

Throws
ClientException when the request fails

public void clearStationLateralAcceleration (SimpleResponseHandler handler)

Clear station lateral acceleration.

Parameters
handler response handler

public Observable<Void> clearStationLateralAcceleration ()

Clear station lateral acceleration.

Returns
  • observable for this request

public void clearStationLateralAccelerationBlocking ()

Clear station lateral acceleration.

Throws
ClientException when the request fails

public Observable<Void> clearStationPtActivation ()

Clear the Pt activation status from the CAM message.

Returns
  • observable for request

public void clearStationPtActivation (SimpleResponseHandler handler)

Clear the Pt activation status from the CAM message.

Parameters
handler response handler

public Observable<Void> clearStationRoadWorksSubCause ()

Clear the road work sub cause value from the CAM message.

Returns
  • observable for request

public void clearStationRoadWorksSubCause (SimpleResponseHandler handler)

Clear the road work sub cause value from the CAM message.

Parameters
handler response handler

public void clearStationRoadWorksSubCauseBlocking ()

Clear the road work sub cause value from the CAM message.

Throws
ClientException when the request fails

public Observable<Void> clearStationSpeedLimit ()

Clear the speed limit information from the CAM message.

Returns
  • observable for this request

public void clearStationSpeedLimit (SimpleResponseHandler handler)

Clear the speed limit information from the CAM message.

Parameters
handler response handler

public void clearStationSpeedLimitBlocking ()

Clear the speed limit information from the CAM message.

Throws
ClientException when the request fails

public Observable<Void> clearStationSteeringWheelAngle ()

Clears the station steering wheel angle.

Returns
  • observable for this request

public void clearStationSteeringWheelAngle (SimpleResponseHandler handler)

Clears the station steering wheel angle.

Parameters
handler response handler

public void clearStationSteeringWheelAngleBlocking ()

Sets the station steering wheel angle.

Throws
ClientException when the request fails

public void clearStationTrafficRule (SimpleResponseHandler handler)

Clear the traffic rule related information from the CAM message.

Parameters
handler response handler

public Observable<Void> clearStationTrafficRule ()

Clear the traffic rule related information from the CAM message.

Returns
  • observable for this request

public void clearStationVerticalAcceleration (SimpleResponseHandler handler)

Clear station vertical acceleration.

Parameters
handler response handler

public Observable<Void> clearStationVerticalAcceleration ()

Clear station vertical acceleration.

Returns
  • observable for this request

public void clearStationVerticalAccelerationBlocking ()

Clear station vertical acceleration.

Throws
ClientException when the request fails

public void clearTrafficStationRuleBlocking ()

Clear the traffic rule related information from the CAM message.

Throws
ClientException when the request fails

public synchronized void connect (int timeoutInMilliSeconds)

Connect synchronously to the host.

Parameters
timeoutInMilliSeconds timeout in milliseconds
Throws
TimeoutException when the timeout expires
InterruptedException when interrupted while waiting

public synchronized void connect ()

Connect synchronously to the host.

Throws
TimeoutException when the timeout expires
InterruptedException when interrupted while waiting

public Observable<Void> denmTerminate (DENMTerminate denmTerminate)

Terminates a DENM message that is currently broadcasted by the ITS Router.

The DENM message to terminate is identified by the DENMTerminate.actionID field.

Parameters
denmTerminate termination data
Returns
  • an observable for this request

public void denmTerminate (DENMTerminate denmTerminate, SimpleResponseHandler handler)

Terminates a DENM message that is currently broadcasted by the ITS Router.

The DENM message to terminate is identified by the DENMTerminate.actionID field.

Parameters
denmTerminate termination data
handler response handler

public void denmTerminateBlocking (DENMTerminate denmTerminate)

Terminates a DENM message that is currently broadcasted by the ITS Router.

The DENM message to terminate is identified by the DENMTerminate.actionID field.

Parameters
denmTerminate termination data
Throws
ClientException when the request fails

public Observable<DENMActionID> denmTrigger (DENMTrigger denmTrigger)

Trigger a new DENM message which then gets broadcasted by the ITS router.

The DENM Action ID assigned to this DENM message will be passed to the returned observable. There is no way to manually specify the DENM Action ID for a trigger request and the DENM.actionId parameter will be ignored.

Parameters
denmTrigger object that holds the parameters and values to be sent in the DENM message
Returns
  • an observable for this request

public void denmTrigger (DENMTrigger denmTrigger, ResponseHandler<DENMActionID> handler)

Trigger a new DENM message which then gets broadcasted by the ITS router.

The DENM Action ID assigned to this DENM message will be passed to the response handler of this request. There is no way to manually specify the DENM Action ID for a trigger request and the DENM.actionId parameter will be ignored.

Parameters
denmTrigger object that holds the parameters and values to be sent in the DENM message
handler response handler

public DENMActionID denmTriggerBlocking (DENMTrigger denmTrigger)

Trigger a new DENM message which then gets broadcasted by the ITS router.

The DENM Action ID assigned to this DENM message will be returned by this method. There is no way to manually specify the DENM Action ID for a trigger request and the DENM.actionId parameter will be ignored.

Parameters
denmTrigger object that holds the parameters and values to be sent in the DENM message
Returns
  • the DENM Action ID assigned to the triggered message
Throws
ClientException when the request fails

public Observable<Void> denmUpdate (DENMTrigger denmTrigger)

Update an already triggered DENM message.

The message to update is identified by the DENM.actionId field in DENMTrigger.

Parameters
denmTrigger object that holds the parameters and values to be sent in the DENM Update message
Returns
  • an observable for this request

public void denmUpdate (DENMTrigger denmTrigger, SimpleResponseHandler handler)

Update an already triggered DENM message.

The message to update is identified by the DENM.actionId field in DENMTrigger.

Parameters
denmTrigger object that holds the parameters and values to be sent in the DENM Update message
handler response handler

public void denmUpdateBlocking (DENMTrigger denmTrigger)

Update an already triggered DENM message.

The message to update is identified by the DENM.actionId field in DENMTrigger.

Parameters
denmTrigger object that holds the parameters and values to be sent in the DENM Update message
Throws
ClientException when the request fails

public Observable<Void> deregister ()

De-registers the application from the the ITS Router.

Returns
  • an observable for this request

public void deregister (SimpleResponseHandler handler)

De-registers the application from the the ITS Router.

Parameters
handler response handler

public void deregisterBlocking ()

Deregisters the application on the ITS Router.

Throws
ClientException when the request fails

public Observable<Void> facilitySubscribe (FacilitySubscriptionMessages filter)

Subscribe to facility notifications. The application will receive facility notifications upon successful subscription.

Parameters
filter filter criteria
Returns
  • an observable for this request

public void facilitySubscribe (FacilitySubscriptionMessages filter, SimpleResponseHandler handler)

Subscribe to facility notifications. The application will receive facility notifications upon successful subscription.

Parameters
filter filter criteria
handler response handler

public void facilitySubscribeBlocking (FacilitySubscriptionMessages filter)

Subscribe to facility notifications. The application will receive facility notifications upon successful subscription.

Parameters
filter filter criteria
Throws
ClientException when the request fails

public Observable<Void> facilityUnsubscribe (FacilitySubscriptionMessages filter)

Unsubscribe from facility notifications.

Parameters
filter filter criteria
Returns
  • an observable for this request

public void facilityUnsubscribe (FacilitySubscriptionMessages filter, SimpleResponseHandler handler)

Unsubscribe from facility notifications.

Parameters
filter filter criteria
handler response handler

public void facilityUnsubscribeBlocking (FacilitySubscriptionMessages filter)

Unsubscribe from facility notifications.

Parameters
filter filter criteria
Throws
ClientException when the request fails

public long getApplicationId ()

Returns the application id. The application id is used during the initial connection setup and registration. Different applications should have unique application ids.

Returns
  • application id

public int getConnectionTimeout ()

Returns the currently set connection timeout.

Returns
  • timeout in milliseconds

public synchronized File getDumpRootDir ()

Gets the current packet dump directory. Defaults to a subdirectory named its-dump under the system provided default temporary directory (java.io.tmpdir).

Returns
  • root directory

public String getHost ()

Returns the hostname. This hostname will be used to initiate a connection to the remote device.

Returns
  • host name

public MessageSet getMessageSet ()

Returns the message set. This message set will be used when initiating a connection to the remote device.

Returns
  • message set

public int getPort ()

Returns the port. This port will be used to initiate a connection to the remote device.

Returns
  • port

public int getReadTimeout ()

Returns the currently set read timeout (SO_TIMEOUT).

Returns
  • timeout in milliseconds

public long getRequestTimeout ()

Returns the currently set request timeout.

Returns
  • request timeout in milliseconds

public static String getVersion ()

Returns the version of the ITS library.

Returns
  • library version

public int getWaitBetweenReconnects ()

Gets the amount of waiting in milliseconds between connection attempts when an error occurs.

Returns
  • amount of waiting in milliseconds

public Observable<Void> gnBind (BTPType btpType, long portNumber)

Bind to a geonetworking port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.

Parameters
btpType BTP type
portNumber port number
Returns
  • an observable for this request

public void gnBind (BTPType btpType, long portNumber, SimpleResponseHandler handler)

Bind to a geonetworking port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.

Parameters
btpType BTP type
portNumber port number
handler response handler for the binding attempt

public void gnBindBlocking (BTPType btpType, long portNumber)

Bind to a geonetworking port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.

Parameters
btpType BTP type
portNumber port number
Throws
ClientException when the request fails

public Observable<Void> gnClose (BTPType btpType, long portNumber)

Stop listening on the specified geonetworking port.

Parameters
btpType BTP type
portNumber port number
Returns
  • an observable for this request

public void gnClose (BTPType btpType, long portNumber, SimpleResponseHandler handler)

Stop listening on the specified geonetworking port.

Parameters
btpType BTP type
portNumber port number
handler response handler for the close attempt

public void gnCloseBlocking (BTPType btpType, long portNumber)

Stop listening on the specified geonetworking port.

Parameters
btpType BTP type
portNumber port number
Throws
ClientException when the request fails

public void gnSend (GeonetSendData sendData, SimpleResponseHandler handler)

Send a geonetworking packet.

Parameters
sendData data to send
handler response handler

public Observable<Void> gnSend (GeonetSendData sendData)

Send a geonetworking packet.

Parameters
sendData data to send
Returns
  • an observable for this request

public void gnSendBlocking (GeonetSendData sendData)

Send a geonetworking packet.

Parameters
sendData data to send
Throws
ClientException when the request fails

public Observable<Void> intersectionDeleteRequest (long intersectionId)

Submits an intersection delete request.

Parameters
intersectionId intersection id
Returns
  • observable for this request

public void intersectionDeleteRequest (long intersectionId, SimpleResponseHandler handler)

Submits an intersection delete request.

Parameters
intersectionId intersection id
handler response handler

public void intersectionDeleteRequestBlocking (long intersectionId)

Submits an intersection delete request.

Parameters
intersectionId intersection id
Throws
ClientException when the request fails

public Observable<Void> intersectionRequest (Intersection intersection)

Submits an intersection request.

Parameters
intersection intersection object
Returns
  • observable for this request

public void intersectionRequest (Intersection intersection, SimpleResponseHandler handler)

Submits an intersection request.

Parameters
intersection intersection object
handler response handler

public void intersectionRequestBlocking (Intersection intersection)

Submits an intersection request.

Parameters
intersection intersection object
Throws
ClientException when the request fails

public Observable<Void> intersectionStateRemoveRequest (Long intersectionId)

Send an intersection state delete/remove request

Parameters
intersectionId intersection id
Returns
  • observable for this request

public void intersectionStateRemoveRequest (Long intersectionId, SimpleResponseHandler handler)

Send an intersection state delete/remove request

Parameters
intersectionId intersection id
handler response handler

public void intersectionStateRemoveRequestBlocking (Long intersectionId)

Send an intersection state delete/remove request

Parameters
intersectionId intersection id
Throws
ClientException when the request fails

public void intersectionStateRequest (IntersectionState intersectionState, SimpleResponseHandler handler)

Send an intersection state request

Parameters
intersectionState instersection state
handler response handler

public Observable<Void> intersectionStateRequest (IntersectionState intersectionState)

Send an intersection state request

Parameters
intersectionState instersection state
Returns
  • observable for this request

public void intersectionStateRequestBlocking (IntersectionState intersectionState)

Send an intersection state request

Parameters
intersectionState instersection state
Throws
ClientException when the request fails

public void intersectionStateUpdateRequest (IntersectionState intersectionState, SimpleResponseHandler handler)

Send an intersection state update request

Parameters
intersectionState instersection state
handler response handler

public Observable<Void> intersectionStateUpdateRequest (IntersectionState intersectionState)

Send an intersection state update request

Parameters
intersectionState instersection state
Returns
  • observable for this request

public void intersectionStateUpdateRequestBlocking (IntersectionState intersectionState)

Send an intersection state update request

Parameters
intersectionState instersection state
Throws
ClientException when the request fails

public boolean isConnected ()

Returns the connection status.

Returns
  • true if connected to the device, false otherwise

public boolean isDumpEnabled ()

Returns the status of the packet dumping feature. When packet dumping is enabled ITSCommand messages are saved in a subdirectory in the format session-yyyy-MM-dd-HH-mm-ss-SSS under dumpRootDir which can be queried using getDumpRootDir() or set using setDumpRootDir(String).

Returns
  • true if packet dumping is enabled, false otherwise

public Observable<Void> ldmSubscribe (LdmFilter... ldmFilterSet)

Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.

Parameters
ldmFilterSet set of event types for which the application wants to receive notifications
Returns
  • an observable for this request

public void ldmSubscribe (List<LdmFilter> ldmFilterSet, SimpleResponseHandler handler)

Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.

Parameters
ldmFilterSet set of event types for which the application wants to receive notifications

public Observable<Void> ldmSubscribe (List<LdmFilter> ldmFilterSet)

Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.

Parameters
ldmFilterSet set of event types for which the application wants to receive notifications
Returns
  • an observable for this request

public void ldmSubscribeBlocking (List<LdmFilter> ldmFilterSet)

Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.

Parameters
ldmFilterSet set of event types for which the application wants to receive notifications
Throws
ClientException when the request fails

public void ldmSubscribeBlocking (LdmFilter... ldmFilterSet)

Subscribe to LDM notifications as specified by the ldmFilterSet parameter. The LDM will automatically send notifications to the application upon succcesful subscription.

Parameters
ldmFilterSet set of event types for which the application wants to receive notifications
Throws
ClientException when the request fails

public void ldmUnsubscribe (SimpleResponseHandler handler)

Unsubscribe from all LDM notifications.

Parameters
handler response handler

public Observable<Void> ldmUnsubscribe ()

Unsubscribe from all LDM notifications.

Returns
  • an observable for this request

public void ldmUnsubscribeBlocking ()

Unsubscribe from all LDM notifications.

Throws
ClientException when the request fails

public void navSubscribe (SimpleResponseHandler handler)

Subscribe to NAV messages. NAV messages will be received as NAV notifications.

Parameters
handler response handler

public Observable<Void> navSubscribe ()

Subscribe to NAV messages. NAV messages will be received as NAV notifications.

Returns
  • observable for this request

public void navSubscribeBlocking ()

Subscribe to NAV messages. NAV messages will be received as NAV notifications.

Throws
ClientException when the request fails

public Observable<Void> navUnsubscribe ()

Unsubscribe from NAV messages.

Returns
  • observable for this request

public void navUnsubscribe (SimpleResponseHandler handler)

Unsubscribe from NAV messages.

Parameters
handler response handler

public void navUnsubscribeBlocking ()

Unsubscribe from NAV messages.

Throws
ClientException when the request fails

public void potiSetCurvature (long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource, SimpleResponseHandler handler)

Set curvature in the position and timing module.

Parameters
curvatureValue curvature value in m-1 radius
curvatureConfidence curvature confidence
handler response handler

public Observable<Void> potiSetCurvature (long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)

Set curvature in the position and timing module.

Parameters
curvatureValue curvature value in m-1 radius
curvatureConfidence curvature confidence
Returns
  • observable for this request

public void potiSetCurvatureBlocking (long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)

Set curvature in the position and timing module.

Parameters
curvatureValue curvature value in m-1 radius
curvatureConfidence curvature confidence
Throws
ClientException when the request fails

public Observable<Void> potiSetDriveDirection (DriveDirection driveDirection)

Set drive direction in the position and timing module.

Parameters
driveDirection value
Returns
  • observable for this request

public void potiSetDriveDirection (DriveDirection driveDirection, SimpleResponseHandler handler)

Set drive direction in the position and timing module.

Parameters
driveDirection value
handler response handler

public void potiSetDriveDirectionBlocking (DriveDirection driveDirection)

Set drive direction in the position and timing module.

Parameters
driveDirection value
Throws
ClientException when the request fails

public void potiSetGPSD (String host, int port, SimpleResponseHandler handler)

Sets the specified host and port as the GPSD server for POTI.

Parameters
host gpsd host
port gpsd port
handler response handler

public Observable<Void> potiSetGPSD (String host, int port)

Sets the specified host and port as the GPSD server for POTI.

Parameters
host gpsd host
port gpsd port
Returns
  • observable for this request

public void potiSetGPSDBlocking (String host, int port)

Sets the specified host and port as the GPSD server for POTI.

Parameters
host gpsd host
port gpsd port
Throws
ClientException when the request fails

public void potiSetGpsStatus (GpsStatus status, SimpleResponseHandler handler)

Set gps status in the position and timing module.

Parameters
status gps status
handler response handler

public Observable<Void> potiSetGpsStatus (GpsStatus status)

Set gps status in the position and timing module.

Parameters
status gps status
Returns
  • observable for this request

public void potiSetGpsStatusBlocking (GpsStatus status)

Set gps status in the position and timing module.

Parameters
status gps status
Throws
ClientException when the request fails

public Observable<Void> potiSetHeading (double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit)

Set a heading value in the position and timing module.

Parameters
heading value
headingUnit the unit of the value
headingConfidence value of the confidence of the given value
headingConfidenceUnit the unit of the confidence value
Returns
  • observable for this request

public void potiSetHeading (double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit, SimpleResponseHandler handler)

Set a heading value in the position and timing module.

Parameters
heading value
headingUnit the unit of the value
headingConfidence value of the confidence of the given value
headingConfidenceUnit the unit of the confidence value
handler response handler

public void potiSetHeadingBlocking (double heading, DegreeUnit headingUnit, double headingConfidence, DegreeUnit headingConfidenceUnit)

Set a heading value in the position and timing module.

Parameters
heading value
headingUnit the unit of the value
headingConfidence value of the confidence of the given value
headingConfidenceUnit the unit of the confidence value
Throws
ClientException when the request fails

public void potiSetLateralAcceleration (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)

Set a lateral acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
handler response handler

public Observable<Void> potiSetLateralAcceleration (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)

Set a lateral acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
Returns
  • observable for this request

public void potiSetLateralAccelerationBlocking (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)

Set a lateral acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
Throws
ClientException when the request fails

public Observable<Void> potiSetLongitudinalAcceleration (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)

Set a longitudinal acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
Returns
  • observable for this request

public void potiSetLongitudinalAcceleration (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)

Set a longitudinal acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
handler response handler

public void potiSetLongitudinalAccelerationBlocking (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)

Set a longitudinal acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
Throws
ClientException when the request fails

public void potiSetManualPosition (ManualPosition manualPosition, SimpleResponseHandler handler)

Set a manual position in the position and timing module.

Parameters
manualPosition position
handler response handler

public Observable<Void> potiSetManualPosition (ManualPosition manualPosition)

Set a manual position in the position and timing module.

Parameters
manualPosition position
Returns
  • observable for this request

public void potiSetManualPositionBlocking (ManualPosition manualPosition)

Set a manual position in the position and timing module.

Parameters
manualPosition position
Throws
ClientException when the request fails

public void potiSetPosition (long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit, SimpleResponseHandler handler)

Set the specified static position for use with POTI.

Parameters
latitude latitude in 0.1 microdegrees
longitude longitude in 0.1 microdegrees
altitude altitude value
altitudeUnit altitude unit
heading heading value
headingUnit heading unit
speed speed value
speedUnit speed unit

public Observable<Void> potiSetPosition (long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit)

Set the specified static position for use with POTI.

Parameters
latitude latitude in 0.1 microdegrees
longitude longitude in 0.1 microdegrees
altitude altitude value
altitudeUnit altitude unit
heading heading value
headingUnit heading unit
speed speed value
speedUnit speed unit
Returns
  • observable for this request

public void potiSetPositionBlocking (long latitude, long longitude, long altitude, LengthUnit altitudeUnit, double heading, DegreeUnit headingUnit, double speed, SpeedUnit speedUnit)

Set the specified static position for use with POTI.

Parameters
latitude latitude in 0.1 microdegrees
longitude longitude in 0.1 microdegrees
altitude altitude value
altitudeUnit altitude unit
heading heading value
headingUnit heading unit
speed speed value
speedUnit speed unit
Throws
ClientException when the request fails

public void potiSetSpeed (double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit, SimpleResponseHandler handler)

Set the speed in the position and timing module.

Parameters
speed value
speedUnit the unit of the value
speedAccuracy the accuracy of the value
speedAccuracyUnit the unit of the accuracy
handler response handler

public Observable<Void> potiSetSpeed (double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit)

Set the speed in the position and timing module.

Parameters
speed value
speedUnit the unit of the value
speedAccuracy the accuracy of the value
speedAccuracyUnit the unit of the accuracy
Returns
  • observable for this request

public void potiSetSpeedBlocking (double speed, SpeedUnit speedUnit, double speedAccuracy, SpeedUnit speedAccuracyUnit)

Set the speed in the position and timing module.

Parameters
speed value
speedUnit the unit of the value
speedAccuracy the accuracy of the value
speedAccuracyUnit the unit of the accuracy
Throws
ClientException when the request fails

public Observable<Void> potiSetTimeConfidence (TimeConfidence confidence)

Set time confidence in the position and timing module.

Parameters
confidence time confidence
Returns
  • observable for this request

public void potiSetTimeConfidence (TimeConfidence confidence, SimpleResponseHandler handler)

Set time confidence in the position and timing module.

Parameters
confidence time confidence
handler response handler

public void potiSetTimeConfidenceBlocking (TimeConfidence confidence)

Set time confidence in the position and timing module.

Parameters
confidence time confidence
Throws
ClientException when the request fails

public void potiSetTransmissionState (TransmissionState transmissionState, SimpleResponseHandler handler)

Sets the transmission state poti parameter in BSM.

Parameters
transmissionState transmission state
handler response handler

public Observable<Void> potiSetTransmissionState (TransmissionState transmissionState)

Sets the transmission state poti parameter in BSM.

Parameters
transmissionState transmission state
Returns
  • observable for this request

public void potiSetTransmissionStateBlocking (TransmissionState transmissionState)

Sets the transmission state poti parameter in BSM.

Parameters
transmissionState transmission state
Throws
ClientException when the request fails

public Observable<Void> potiSetVerticalAcceleration (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)

Set a vertical acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
Returns
  • observable for this request

public void potiSetVerticalAcceleration (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit, SimpleResponseHandler handler)

Set a vertical acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
handler response handler

public void potiSetVerticalAccelerationBlocking (double acceleration, AccelerationUnit accelerationUnit, double accelerationConfidence, AccelerationUnit accelerationConfidenceUnit)

Set a vertical acceleration in the position and timing module.

Parameters
acceleration value
accelerationUnit unit of the value
accelerationConfidence confidence of the value
accelerationConfidenceUnit unit of the confidence
Throws
ClientException when the request fails

public void potiSetYawRate (double yawRateDegreesPerSec, YawRateConfidence yawRateConfidence, SimpleResponseHandler handler)

Set yaw rate in the position and timing module.

Parameters
yawRateDegreesPerSec yaw rate in degrees per second
yawRateConfidence yaw rate confidence
handler response handler

public Observable<Void> potiSetYawRate (double yawRateDegreesPerSec, YawRateConfidence confidence)

Set yaw rate in the position and timing module.

Parameters
yawRateDegreesPerSec yaw rate in degrees per second
confidence yaw rate confidence
Returns
  • observable for this request

public void potiSetYawRateBlocking (double yawRateDegreesPerSec, YawRateConfidence confidence)

Set yaw rate in the position and timing module.

Parameters
yawRateDegreesPerSec yaw rate in degrees per second
confidence yaw rate confidence
Throws
ClientException when the request fails

public Observable<Void> potiSubscribe (PotiSubscription potiSubscription)

Subscribe to POTI messages, with seleceted subscribegroups. POTI messages will be received as POTI notifications.

Parameters
potiSubscription contains the subscribegroups
Returns
  • observable for this request

public void potiSubscribe (SimpleResponseHandler handler, PotiSubscription potiSubscription)

Subscribe to POTI messages, with seleceted subscribegroups. POTI messages will be received as POTI notifications.

Parameters
handler response handler
potiSubscription contains the subscribegroups

public void potiSubscribeBlocking (PotiSubscription potiSubscription)

Subscribe to POTI messages, with seleceted subscribegroups. POTI messages will be received as POTI notifications.

Parameters
potiSubscription contains the subscribegroups
Throws
ClientException when the request fails

public Observable<Void> potiUnsubscribe ()

Unsubscribe from POTI messages.

Returns
  • observable for this request

public void potiUnsubscribe (SimpleResponseHandler handler)

Unsubscribe from POTI messages.

Parameters
handler response handler

public void potiUnsubscribeBlocking ()

Unsubscribe from POTI messages.

Throws
ClientException when the request fails

public Observable<Void> potiUseGNSS ()

Use GNSS as the source of positional data.

Returns
  • observable for this request

public void potiUseGNSS (SimpleResponseHandler handler)

Use GNSS as the source of positional data.

Parameters
handler response handlermode

public void potiUseGNSSBlocking ()

Use GNSS as the source of positional data.

Throws
ClientException when the request fails

public void register (SimpleResponseHandler handler)

Registers the application on the ITS Router if the connection is alive between them. Please note that this command must be invoked before issuing any other type of command.

Parameters
handler response handler

public Observable<Void> register ()

Registers the application on the ITS Router if the connection is alive between them. Please note that this command must be invoked before issuing any other type of command.

Returns
  • an observable for this request

public void registerBlocking ()

Registers the application on the ITS Router if the connection is alive between them. Please note that this command must be invoked before issuing any other type of command.

Throws
ClientException when the request fails

public void removeConnectionStateListener (ITSConnectionStateListener listener)

Removes a previously registered connection state listener.

Parameters
listener connection state listener

public void removeEventListener (ITSEventListener eventListener)

Removes a previously registered event listener.

Parameters
eventListener event listener

public void removeRawPacketListener (ITSRawFacilityPacketListener rawPacketListener)

Removes a raw packet listener.

Parameters
rawPacketListener raw packet listener

public Observable<DeviceId> requestDeviceId ()

Request device station id and mac address.

Returns
  • an observable for this request

public void requestDeviceId (ResponseHandler<DeviceId> handler)

Request device station id and mac address.

Parameters
handler response handler

public DeviceId requestDeviceIdBlocking ()

Request device station id and mac address.

Returns
  • device info response object
Throws
ClientException when the request fails

public Observable<DeviceInfoResponse> requestDeviceInfo ()

Request device information.

Returns
  • an observable for this request

public void requestDeviceInfo (ResponseHandler<DeviceInfoResponse> handler)

Request device information.

Parameters
handler response handler

public DeviceInfoResponse requestDeviceInfoBlocking ()

Request device information.

Returns
  • device info response object
Throws
ClientException when the request fails

public void requestStatistics (ResponseHandler<StatisticsResponse> handler)

Request statistics information from the ITS Router.

Parameters
handler response handler

public Observable<StatisticsResponse> requestStatistics ()

Request statistics information from the ITS Router.

Returns
  • an observable for this request

public StatisticsResponse requestStatisticsBlocking ()

Request statistics information from the ITS Router.

Returns
  • statistics response object
Throws
ClientException when the request fails

public Observable<DemoStatus> retrieveDemoStatus ()

Retrieve demo status.

Returns
  • an observable for this request

public void retrieveDemoStatus (ResponseHandler<DemoStatus> handler)

Retrieve demo status.

Parameters
handler respone handler

public DemoStatus retrieveDemoStatusBlocking ()

Retrieve demo status.

Returns
  • demo status
Throws
ClientException when the request fails

public void sendOnRadio (InjectData injectData, SimpleResponseHandler handler)

Sends the provided data frame using the radio of the device.

Parameters
injectData injection paramaters
handler response handler

public Observable<Void> sendOnRadio (InjectData injectData)

Sends the provided data frame using the radio of the device.

Parameters
injectData injection parameters
Returns
  • observable for this request

public void sendOnRadioBlocking (InjectData injectData)

Sends the provided data frame using the radio of the device.

Parameters
injectData injection paramters
Throws
ClientException when the request fails

public Observable<Void> sendRawCommand (byte[] data)

Send a raw command. Use this command with extreme caution!

Parameters
data raw bytes to send (must be an ITSCommand PDU)
Returns
  • an observable for this request

public void sendRawCommand (byte[] data, SimpleResponseHandler handler)

Send a raw command. Use this command with extreme caution!

Parameters
data raw bytes to send (must be an ITSCommand PDU)
handler response handler

public void sendRawCommandBlocking (byte[] data)

Send a raw command. Use this command with extreme caution!

Parameters
data raw bytes to send (must be an ITSCommand PDU)
Throws
ClientException when the request fails

public Observable<Void> sendToStack (InjectData injectData)

Sends the provided data frame through the V2X stack of the device.

Parameters
injectData injection paramters
Returns
  • observable for this request

public void sendToStack (InjectData injectData, SimpleResponseHandler handler)

Sends the provided data frame through the V2X stack of the device.

Parameters
injectData injection paramters
handler response handler

public void sendToStackBlocking (InjectData injectData)

Sends the provided data frame through the V2X stack of the device.

Parameters
injectData injection paramters
Throws
ClientException when the request fails

public void setCamDCC (long milisecs, SimpleResponseHandler handler)

Set the CAM Decentralized Congestion Control value. This is a development command.

Parameters
milisecs value in milisecs
handler response handler

public Observable<Void> setCamDCC (long milisecs)

Set the CAM Decentralized Congestion Control value. This is a development command.

Parameters
milisecs value in milisecs
Returns
  • observable for this request

public void setCamDCCBlocking (long milisecs)

Set the CAM Decentralized Congestion Control value. This is a development command.

Parameters
milisecs value in milisecs
Throws
ClientException when the request fails

public void setConnectionTimeout (int connectionTimeout)

Sets the connection timeout. Will be applied on the next connection attempt.

Parameters
connectionTimeout connection timeout

public void setDeviceTime (long timestamp, SimpleResponseHandler handler)

Sets the time on the remote device.

Parameters
timestamp unix timestamp, seconds since 1970
handler response handler

public Observable<Void> setDeviceTime (long timestamp)

Sets the time on the remote device.

Parameters
timestamp unix timestamp, seconds since 1970
Returns
  • an observable for this request

public void setDeviceTimeBlocking (long timestamp)

Sets the time on the remote device.

Parameters
timestamp unix timestamp, seconds since 1970
Throws
ClientException when the request fails

public void setDumpEnabled (boolean dumpEnabled)

Enables/disables packet dumping. When packet dumping is enabled ITSCommand messages are saved in a subdirectory in the format session-yyyy-MM-dd-HH-mm-ss-SSS under dumpRootDir which can be queried using getDumpRootDir() or set using setDumpRootDir(String).

Parameters
dumpEnabled true if enabled, false if not

public synchronized void setDumpRootDir (String dumpRootDir)

Set the packet dump root directory. Defaults to a subdirectory named its-dump under the system provided default temporary directory (java.io.tmpdir).

Parameters
dumpRootDir root directory

public synchronized void setDumpRootDir (File dumpRootDir)

Set the packet dump root directory. Defaults to a subdirectory named its-dump under the system provided default temporary directory (java.io.tmpdir).

Parameters
dumpRootDir root directory

public void setFacilityModuleStatus (FacilityModule facilityModule, boolean enabled, SimpleResponseHandler handler)

Enables/disables the specified facility module. This is a development command.

Parameters
facilityModule facility module
enabled enable or disable the module
handler response handler

public Observable<Void> setFacilityModuleStatus (FacilityModule facilityModule, boolean enabled)

Enables/disables the specified facility module. This is a development command.

Parameters
facilityModule facility module
enabled enable or disable the module
Returns
  • observable for this request

public void setFacilityModuleStatusBlocking (FacilityModule facilityModule, boolean enabled)

Enables/disables the specified facility module. This is a development command.

Parameters
facilityModule facility module
enabled enable or disable the module
Throws
ClientException when the request fails

public void setGbcForwardingAlgorithm (GbcForwardingAlgorithm forwardingAlgorithm, SimpleResponseHandler handler)

Set the GBC forwarding algorithm. This is a development command.

Parameters
forwardingAlgorithm forwarding algorithm
handler response hanlder

public Observable<Void> setGbcForwardingAlgorithm (GbcForwardingAlgorithm forwardingAlgorithm)

Set the GBC forwarding algorithm. This is a development command.

Parameters
forwardingAlgorithm forwarding algorithm
Returns
  • observable for this request

public void setGbcForwardingAlgorithmBlocking (GbcForwardingAlgorithm forwardingAlgorithm)

Set the GBC forwarding algorithm. This is a development command.

Parameters
forwardingAlgorithm forwarding algorithm
Throws
ClientException when the request fails

public void setGucForwardingAlgorithm (GucForwardingAlgorithm forwardingAlgorithm, SimpleResponseHandler handler)

Set the GUC forwarding algorithm. This is a development command.

Parameters
forwardingAlgorithm forwarding algorithm
handler response handler

public Observable<Void> setGucForwardingAlgorithm (GucForwardingAlgorithm forwardingAlgorithm)

Set the GUC forwarding algorithm. This is a development command.

Parameters
forwardingAlgorithm forwarding algorithm
Returns
  • observable for this request

public void setGucForwardingAlgorithmBlocking (GucForwardingAlgorithm forwardingAlgorithm)

Set the GUC forwarding algorithm. This is a development command.

Parameters
forwardingAlgorithm forwarding algorithm
Throws
ClientException when the request fails

public void setHeartbeatSendFrequency (long frequencyInMillis)

Sets the frequency for sending heart packets. Applied on each reconnect.

Parameters
frequencyInMillis frequency in milliseconds

public void setMalformedPacketHandler (MalformedPacketHandler handler)

Sets the malformed packet handler. Setting a custom malformed packet handler enables more fine-grained behavior when the client receives a malformed packet from the server. The default handler disconnects and shuts down the client.

Parameters
handler malformed packet handler, if null, the default handler is set.
See Also

public void setReadTimeout (int readTimeout)

Sets the read timeout, will be applied on the next .

Parameters
readTimeout timeout in milliseconds

public void setRequestTimeout (long timeoutInMillis)

Sets the request timeout.

Parameters
timeoutInMillis request timeout duration

public Observable<Void> setStationABSState (AbsStatus absState)

Sets the ABS state station info parameter in BSM.

Parameters
absState ABS state
Returns
  • observable for this request

public void setStationABSState (AbsStatus absState, SimpleResponseHandler handler)

Sets the ABS state station info parameter in BSM.

Parameters
absState ABS state
handler response handler

public void setStationABSStateBlocking (AbsStatus absState)

Sets the ABS state station info parameter in BSM.

Parameters
absState ABS state
Throws
ClientException when the request fails

public void setStationAccelerationControl (AccelerationControl accelerationControl, SimpleResponseHandler handler)

Set station acceleration control values.

Parameters
accelerationControl acceleration control values
handler response handler

public Observable<Void> setStationAccelerationControl (AccelerationControl accelerationControl)

Set station acceleration control values.

Parameters
accelerationControl acceleration control values
Returns
  • observable for request

public void setStationAccelerationControlBlocking (AccelerationControl accelerationControl)

Set station acceleration control values.

Parameters
accelerationControl acceleration control values
Throws
ClientException when the request fails

public Observable<Void> setStationAebInterventionRequestState (AebInterventionRequestState aebInterventionRequestState)

Sets the aeb intervention request state station info parameter.

Parameters
aebInterventionRequestState aeb intervention request state
Returns
  • observable for this request

public void setStationAebInterventionRequestState (AebInterventionRequestState aebInterventionRequestState, SimpleResponseHandler handler)

Sets the aeb intervention request state station info parameter.

Parameters
aebInterventionRequestState aeb intervention request state
handler response handler

public void setStationAebInterventionRequestStateBlocking (AebInterventionRequestState aebInterventionRequestState)

Sets the aeb intervention request state station info parameter.

Parameters
aebInterventionRequestState aeb intervention request state
Throws
ClientException when this request fails

public void setStationAirBagDeployed (boolean airBagDeployed, SimpleResponseHandler handler)

Sets the air bag deployed station info parameter in BSM.

Parameters
airBagDeployed air bag deployed value
handler response handler

public Observable<Void> setStationAirBagDeployed (boolean airBagDeployed)

Sets the air bag deployed station info parameter in BSM.

Parameters
airBagDeployed air bag deployed value
Returns
  • observable for this request

public void setStationAirBagDeployedBlocking (boolean airBagDeployed)

Sets the air bag deployed station info parameter in BSM.

Parameters
airBagDeployed air bag deployed value
Throws
ClientException when the request fails

public Observable<Void> setStationAuxiliaryBrakeState (AuxiliaryBrakeState auxiliaryBrakeState)

Sets the auxiliary brake state station info parameter in BSM.

Parameters
auxiliaryBrakeState auxiliary brake status
Returns
  • observable for this request

public void setStationAuxiliaryBrakeState (AuxiliaryBrakeState auxiliaryBrakeState, SimpleResponseHandler handler)

Sets the auxiliary brake state station info parameter in BSM.

Parameters
auxiliaryBrakeState auxiliary brake status
handler repsonse handler

public void setStationAuxiliaryBrakeStateBlocking (AuxiliaryBrakeState auxiliaryBrakeState)

Sets the auxiliary brake state station info parameter in BSM.

Parameters
auxiliaryBrakeState auxiliary brake status
Throws
ClientException when the request fails

public Observable<Void> setStationBrakeBoost (BrakeBoostState brakeBoostStatus)

Sets the brake boost state station info parameter in BSM.

Parameters
brakeBoostStatus brake boost status
Returns
  • observable for this request

public void setStationBrakeBoost (BrakeBoostState brakeBoostStatus, SimpleResponseHandler handler)

Sets the brake boost state station info parameter in BSM.

Parameters
brakeBoostStatus brake boost status
handler response handler

public void setStationBrakeBoostBlocking (BrakeBoostState brakeBoostStatus)

Sets the brake boost state station info parameter in BSM.

Parameters
brakeBoostStatus brake boost status
Throws
ClientException when the request fails

public Observable<Void> setStationBrakePressure (BrakePressure brakePressure)

Sets the brake pressure station info parameter in BSM.

Parameters
brakePressure brake pressure value
Returns
  • observable for this request

public void setStationBrakePressure (BrakePressure brakePressure, SimpleResponseHandler handler)

Sets the brake pressure station info parameter in BSM.

Parameters
brakePressure brake pressure value
handler response handler

public void setStationBrakePressureBlocking (BrakePressure brakePressure)

Sets the brake pressure station info parameter in BSM.

Parameters
brakePressure brake pressure value
Throws
ClientException when the request fails

public void setStationBreakDownWarningState (BreakDownWarningState state, SimpleResponseHandler handler)

Sets the break down warning state station info parameter.

Parameters
state break down warning state value
handler response handler

public Observable<Void> setStationBreakDownWarningState (BreakDownWarningState state)

Sets the break down warning state station info parameter.

Parameters
state break down warning state value
Returns
  • observable for this request

public void setStationBreakDownWarningStateBlocking (BreakDownWarningState state)

Sets the break down warning state station info parameter.

Parameters
state break down warning state value
Throws
ClientException when this request fails

public void setStationCenDsrcTollingZone (CenDsrcTollingZone cenDsrcTollingZone, SimpleResponseHandler handler)

Sets the CEN DSRC tolling zone station info parameter.

Parameters
cenDsrcTollingZone CEN DSRC tolling zone value
handler response handler

public Observable<Void> setStationCenDsrcTollingZone (CenDsrcTollingZone cenDsrcTollingZone)

Sets the CEN DSRC tolling zone station info parameter.

Parameters
cenDsrcTollingZone CEN DSRC tolling zone value
Returns
  • observable for this request

public void setStationCenDsrcTollingZoneBlocking (CenDsrcTollingZone cenDsrcTollingZone)

Sets the CEN DSRC tolling zone station info parameter.

Parameters
cenDsrcTollingZone CEN DSRC tolling zone value
Throws
ClientException when this request fails

public void setStationClosedLanes (HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount, SimpleResponseHandler handler)

Sets the opening/closure status of the lanes ahead within the CAM message.

Parameters
hardShoulderStatus status of the hard shoulder
laneStatus status of the driving lanes
laneCount number of lanes
handler response handler

public Observable<Void> setStationClosedLanes (HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount)

Sets the opening/closure status of the lanes ahead within the CAM message.

Parameters
hardShoulderStatus status of the hard shoulder
laneStatus status of the driving lanes
laneCount number of lanes
Returns
  • observable for this request

public void setStationClosedLanesBlocking (HardShoulderStatus hardShoulderStatus, DrivingLaneStatus laneStatus, int laneCount)

Sets the opening/closure status of the lanes ahead within the CAM message.

Parameters
hardShoulderStatus status of the hard shoulder
laneStatus status of the driving lanes
laneCount number of lanes
Throws
ClientException when the request fails

public Observable<Void> setStationCrashDetectionState (CrashDetectionState crashDetectionState)

Sets the crash detection state station info parameter.

Parameters
crashDetectionState crash detection state
Returns
  • observable for this request

public void setStationCrashDetectionState (CrashDetectionState crashDetectionState, SimpleResponseHandler handler)

Sets the crash detection state station info parameter.

Parameters
crashDetectionState crash detection state
handler response handler

public void setStationCrashDetectionStateBlocking (CrashDetectionState crashDetectionState)

Sets the crash detection state station info parameter.

Parameters
crashDetectionState crash detection state
Throws
ClientException when this request fails

public void setStationCurvature (long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource, SimpleResponseHandler handler)

Set the station curvature value.

Parameters
curvatureValue curvature value in m-1 radius
curvatureConfidence curvature confidence
handler response handler

public Observable<Void> setStationCurvature (long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)

Set the station curvature value.

Parameters
curvatureValue curvature value in m-1 radius
curvatureConfidence curvature confidence
Returns
  • observable for this request

public void setStationCurvatureBlocking (long curvatureValue, CurvatureConfidence curvatureConfidence, CurvatureCalculationMode calculationMode, CurvatureSource curvatureSource)

Set the station curvature value.

Parameters
curvatureValue curvature value in m-1 radius
curvatureConfidence curvature confidence
Throws
ClientException when the request fails

public Observable<Void> setStationDangerousGoods (DangerousGoodsBasicCategory category)

Sets the presence of dangerous goods in the vehicle (contained in the CAM message).

Parameters
category category of the dangerous goods
Returns
  • observable for this request

public void setStationDangerousGoods (DangerousGoodsBasicCategory category, SimpleResponseHandler handler)

Sets the presence of dangerous goods in the vehicle (contained in the CAM message).

Parameters
category category of the dangerous goods
handler response handler

public void setStationDangerousGoodsBlocking (DangerousGoodsBasicCategory category)

Sets the presence of dangerous goods in the vehicle (contained in the CAM message).

Parameters
category category of the dangerous goods
Throws
ClientException when the request fails

public Observable<Void> setStationDisabledVehicle (boolean disabledVehicle)

Sets the disabled vehicle station info parameter in BSM.

Parameters
disabledVehicle disabled vehicle value
Returns
  • observable for this request

public void setStationDisabledVehicle (boolean disabledVehicle, SimpleResponseHandler handler)

Sets the disabled vehicle station info parameter in BSM.

Parameters
disabledVehicle disabled vehicle value
handler response handler

public void setStationDisabledVehicleBlocking (boolean disabledVehicle)

Sets the disabled vehicle station info parameter in BSM.

Parameters
disabledVehicle disabled vehicle value
Throws
ClientException when the request fails

public Observable<Void> setStationDoorStates (DoorStates states)

Sets the door states station info parameter.

Parameters
states door states
Returns
  • observable for this request

public void setStationDoorStates (DoorStates states, SimpleResponseHandler handler)

Sets the door states station info parameter.

Parameters
states door states
handler response handler

public void setStationDoorStatesBlocking (DoorStates states)

Sets the door states station info parameter.

Parameters
states door states
Throws
ClientException when this request fails

public Observable<Void> setStationDriveDirection (DriveDirection direction)

Set station drive direction value.

Parameters
direction drive direction
Returns
  • observable for this request

public void setStationDriveDirection (DriveDirection direction, SimpleResponseHandler handler)

Set station drive direction value.

Parameters
direction drive direction
handler response handler

public void setStationDriveDirectionBlocking (DriveDirection direction)

Set station drive direction value.

Parameters
direction drive direction
Throws
ClientException when the request fails

public Observable<Void> setStationDrivingWheelAngle (DrivingWheelAngle drivingWheelAngle)

Sets the driving wheel angle station info parameter in BSM.

Parameters
drivingWheelAngle driving wheel angle
Returns
  • observable for this request

public void setStationDrivingWheelAngle (DrivingWheelAngle drivingWheelAngle, SimpleResponseHandler handler)

Sets the driving wheel angle station info parameter in BSM.

Parameters
drivingWheelAngle driving wheel angle
handler response handler

public void setStationDrivingWheelAngleBlocking (DrivingWheelAngle drivingWheelAngle)

Sets the driving wheel angle station info parameter in BSM.

Parameters
drivingWheelAngle driving wheel angle
Throws
ClientException when the request fails

public void setStationECallState (ECallState eCallState, SimpleResponseHandler handler)

Sets the e call state station info parameter.

Parameters
eCallState e call state
handler response handler

public Observable<Void> setStationECallState (ECallState eCallState)

Sets the e call state station info parameter.

Parameters
eCallState e call state
Returns
  • observable for this request

public void setStationECallStateBlocking (ECallState eCallState)

Sets the e call state station info parameter.

Parameters
eCallState e call state
Throws
ClientException when this request fails

public Observable<Void> setStationEeblRequestState (EeblRequestState requestState)

Sets the Emergency Electronic Brake Light request state station info parameter.

Parameters
requestState request state
Returns
  • observable for this request

public void setStationEeblRequestState (EeblRequestState requestState, SimpleResponseHandler handler)

Sets the Emergency Electronic Brake Light request state station info parameter.

Parameters
requestState request state
handler response handler

public void setStationEeblRequestStateBlocking (EeblRequestState requestState)

Sets the Emergency Electronic Brake Light request state station info parameter.

Parameters
requestState request state
Throws
ClientException when this request fails

public void setStationEmbarkationStatus (boolean readyForEmbarkation, SimpleResponseHandler handler)

Sets the ready for embarkation status within the CAM message. It indicates whether the passenger embarkation is ongoing currently.

Parameters
readyForEmbarkation true if ready for embarkation, false otherwise
handler response handler

public Observable<Void> setStationEmbarkationStatus (boolean readyForEmbarkation)

Sets the ready for embarkation status within the CAM message. It indicates whether the passenger embarkation is ongoing currently.

Parameters
readyForEmbarkation true if ready for embarkation, false otherwise
Returns
  • observable for this request

public void setStationEmbarkationStatusBlocking (boolean readyForEmbarkation)

Sets the ready for embarkation status within the CAM message. It indicates whether the passenger embarkation is ongoing currently.

Parameters
readyForEmbarkation true if ready for embarkation, false otherwise
Throws
ClientException when the request fails

public Observable<Void> setStationEmergencyPriority (boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight)

Sets the emergency priority within the CAM message. Only authorized vehicles are allowed to use this indicator.

Parameters
requestForRightOfWay request right of way
requestForFreeCrossingAtATrafficLight request free crossing at traffic light
Returns
  • an observable for this request

public void setStationEmergencyPriority (boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight, SimpleResponseHandler handler)

Sets the emergency priority within the CAM message. Only authorized vehicles are allowed to use this indicator.

Parameters
requestForRightOfWay request right of way
requestForFreeCrossingAtATrafficLight request free crossing at traffic light
handler response handler

public void setStationEmergencyPriorityBlocking (boolean requestForRightOfWay, boolean requestForFreeCrossingAtATrafficLight)

Sets the emergency priority within the CAM message. Only authorized vehicles are allowed to use this indicator.

Parameters
requestForRightOfWay request right of way
requestForFreeCrossingAtATrafficLight request free crossing at traffic light
Throws
ClientException when the request fails

public void setStationEventFlags (BSMSafetyEventFlags eventFlags, SimpleResponseHandler handler)

Sets the event safety flags (Safety Extension part II of BSM) of the station.

Parameters
eventFlags event flags
handler response handler

public Observable<Void> setStationEventFlags (BSMSafetyEventFlags eventFlags)

Sets the event safety flags (Safety Extension part II of BSM) of the station.

Parameters
eventFlags event flags
Returns
  • observable for this request

public void setStationEventFlagsBlocking (BSMSafetyEventFlags eventFlags)

Sets the event safety flags (Safety Extension part II of BSM) of the station.

Parameters
eventFlags event flags
Throws
ClientException when the request fails

public Observable<Void> setStationExteriorLights (ExteriorLights exteriorLights)

Set station exterior lights status.

Parameters
exteriorLights exterior lights values
Returns
  • observable for this request

public void setStationExteriorLights (ExteriorLights exteriorLights, SimpleResponseHandler handler)

Set station exterior lights status.

Parameters
exteriorLights exterior lights values
handler response handler

public void setStationExteriorLightsBlocking (ExteriorLights exteriorLights)

Set station exterior lights status.

Parameters
exteriorLights exterior lights values
Throws
ClientException when the request fails

public Observable<Void> setStationFlatTire (boolean flatTire)

Sets the flat tire station info parameter in BSM.

Parameters
flatTire flat tire value
Returns
  • observable for this request

public void setStationFlatTire (boolean flatTire, SimpleResponseHandler handler)

Sets the flat tire station info parameter in BSM.

Parameters
flatTire flat tire value
handler response handler

public void setStationFlatTireBlocking (boolean flatTire)

Sets the flat tire station info parameter in BSM.

Parameters
flatTire flat tire value
Throws
ClientException when the request fails

public Observable<Void> setStationHardBraking (boolean hardBraking)

Sets the hard braking station info parameter in BSM.

Parameters
hardBraking hard braking value
Returns
  • observable for this request

public void setStationHardBraking (boolean hardBraking, SimpleResponseHandler handler)

Sets the hard braking station info parameter in BSM.

Parameters
hardBraking hard braking value
handler response handler

public void setStationHardBrakingBlocking (boolean hardBraking)

Sets the hard braking station info parameter in BSM.

Parameters
hardBraking hard braking value
Throws
ClientException when the request fails

public void setStationIgnitionState (IgnitionState ignitionState, SimpleResponseHandler handler)

Sets the ignition state station info parameter.

Parameters
ignitionState ignition state
handler response handler

public Observable<Void> setStationIgnitionState (IgnitionState ignitionState)

Sets the ignition state station info parameter.

Parameters
ignitionState ignition state
Returns
  • observable for this request

public void setStationIgnitionStateBlocking (IgnitionState ignitionState)

Sets the ignition state station info parameter.

Parameters
ignitionState ignition state
Throws
ClientException when this request fails

public void setStationIncidentIndication (CauseCode causeCode, SimpleResponseHandler handler)

Sets the incident information within the CAM message. This indication can be used when the originating ITS-S is mounted on a vehicle operating on some emergency missions or safety mission.

Parameters
causeCode cause code
handler response handler

public Observable<Void> setStationIncidentIndication (CauseCode causeCode)

Sets the incident information within the CAM message. This indication can be used when the originating ITS-S is mounted on a vehicle operating on some emergency missions or safety mission.

Parameters
causeCode cause code
Returns
  • observable for this request

public void setStationIncidentIndicationBlocking (CauseCode causeCode)

Sets the incident information within the CAM message. This indication can be used when the originating ITS-S is mounted on a vehicle operating on some emergency missions or safety mission.

Parameters
causeCode cause code
Throws
ClientException when the request fails

public Observable<Void> setStationIncludeCurvature (boolean included)

Set if the curvature info should be included or excluded from the CAM message.

Parameters
included if set to true include curvature info, false otherwise
Returns
  • observable for this request

public void setStationIncludeCurvature (boolean included, SimpleResponseHandler handler)

Set if the curvature info should be included or excluded from the CAM message.

Parameters
included if set to true include curvature info, false otherwise
handler response handler

public void setStationIncludeCurvatureBlocking (boolean included)

Set if the curvature info should be included or excluded from the CAM message.

Parameters
included if set to true include curvature info, false otherwise
Throws
ClientException when the request fails

public void setStationIncludePathHistory (boolean included, SimpleResponseHandler handler)

Set if the path history should be included or excluded from the CAM message.

Parameters
included if set to true include path history, false otherwise
handler response handler

public Observable<Void> setStationIncludePathHistory (boolean included)

Set if the path history should be included or excluded from the CAM message.

Parameters
included if set to true include path history, false otherwise
Returns
  • observable for this request

public void setStationIncludePathHistoryBlocking (boolean included)

Set if the path history should be included or excluded from the CAM message.

Parameters
included if set to true include path history, false otherwise
Throws
ClientException when the request fails

public void setStationIncludeSystemInfo (boolean include, SimpleResponseHandler handler)

Sets whether the system information should be included in the CAM message. This is a private extension of the CAM message.

Parameters
include true if system info is included, false otherwise
handler response handler

public Observable<Void> setStationIncludeSystemInfo (boolean include)

Sets whether the system information should be included in the CAM message. This is a private extension of the CAM message.

Parameters
include true if system info is included, false otherwise
Returns
  • observable for this request

public void setStationIncludeSystemInfoBlocking (boolean include)

Sets whether the system information should be included in the CAM message. This is a private extension of the CAM message.

Parameters
include true if system info is included, false otherwise
Throws
ClientException when the request fails

public void setStationIorsState (IorsState iorsState, SimpleResponseHandler handler)

Sets the iors state station info parameter.

Parameters
iorsState iors state
handler response handler

public Observable<Void> setStationIorsState (IorsState iorsState)

Sets the iors state station info parameter.

Parameters
iorsState iors state
Returns
  • observable for this request

public void setStationIorsStateBlocking (IorsState iorsState)

Sets the iors state station info parameter.

Parameters
iorsState iors state
Throws
ClientException when this request fails

public void setStationIppsState (IppsState ippsState, SimpleResponseHandler handler)

Sets the ipps state station info parameter.

Parameters
ippsState ipps state
handler response handler

public Observable<Void> setStationIppsState (IppsState ippsState)

Sets the ipps state station info parameter.

Parameters
ippsState ipps state
Returns
  • observable for this request

public void setStationIppsStateBlocking (IppsState ippsState)

Sets the ipps state station info parameter.

Parameters
ippsState ipps state
Throws
ClientException when this request fails

public void setStationLaneNumber (Long laneNumber, SimpleResponseHandler handler)

Sets the lane number of the station.

Parameters
laneNumber lane number, set null if absent
handler response handler

public Observable<Void> setStationLaneNumber (Long laneNumber)

Sets the lane number of the station.

Parameters
laneNumber lane number, set null if absent
Returns
  • observable for this request

public void setStationLaneNumberBlocking (Long laneNumber)

Sets the lane number of the station.

Parameters
laneNumber lane number, set null if absent
Throws
ClientException when the request fails

public Observable<Void> setStationLateralAcceleration (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)

Set station lateral acceleration.

Parameters
value lateral acceleration value
valueUnit lateral acceleration unit
confidence lateral acceleration confidence value
confidenceUnit lateral acceleration confidence unit
Returns
  • observable for this request

public void setStationLateralAcceleration (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)

Set station lateral acceleration.

Parameters
value lateral acceleration value
valueUnit lateral acceleration unit
confidence lateral acceleration confidence value
confidenceUnit lateral acceleration confidence unit
handler response handler

public void setStationLateralAccelerationBlocking (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)

Set station lateral acceleration.

Parameters
value lateral acceleration value
valueUnit lateral acceleration unit
confidence lateral acceleration confidence value
confidenceUnit lateral acceleration confidence unit
Throws
ClientException when the request fails

public void setStationLightBarSirenInUse (boolean lightBarUsed, boolean sirenUsed, SimpleResponseHandler handler)

Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle. Deprecated, see setStationLightBarSirenInUse(LightbarInUse, SirenInUse, SimpleResponseHandler) instead.

Parameters
lightBarUsed light bar used flag
sirenUsed siren used flag
handler response handler

public void setStationLightBarSirenInUse (LightbarInUse lightbarInUse, SirenInUse sirenInUse, SimpleResponseHandler handler)

Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle.

Parameters
lightbarInUse light bar used value
sirenInUse siren used value
handler response handler

public Observable<Void> setStationLightBarSirenInUse (boolean lightBarUsed, boolean sirenUsed)

Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle. Deprecated, see setStationLightBarSirenInUse(LightbarInUse, SirenInUse) instead.

Parameters
lightBarUsed light bar used flag
sirenUsed siren used flag
Returns
  • an observable for this request

public Observable<Void> setStationLightBarSirenInUse (LightbarInUse lightbarInUse, SirenInUse sirenInUse)

Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle.

Parameters
lightbarInUse light bar used value
sirenInUse siren used value
Returns
  • an observable for this request

public void setStationLightBarSirenInUseBlocking (boolean lightBarUsed, boolean sirenUsed, SimpleResponseHandler handler)

Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle. Deprecated, see setStationLightBarSirenInUseBlocking(LightbarInUse, SirenInUse, SimpleResponseHandler) instead.

Parameters
lightBarUsed light bar used flag
sirenUsed siren used flag
Throws
ClientException when the request fails

public void setStationLightBarSirenInUseBlocking (LightbarInUse lightbarInUse, SirenInUse sirenInUse, SimpleResponseHandler handler)

Sets the light bar and siren status within the CAM message. This indication is only allowed when the originating ITS-S is mounted on a special vehicle.

Parameters
lightbarInUse light bar used value
sirenInUse siren used value
Throws
ClientException when the request fails

public Observable<Void> setStationLongitudinalAcceleration (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)

Set station longitudinal acceleration.

Parameters
value longitudinal acceleration value
valueUnit longitudinal acceleration unit
confidence longitudinal acceleration confidence value
confidenceUnit longitudinal acceleration confidence unit
Returns
  • observable for this request

public void setStationLongitudinalAcceleration (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)

Set station longitudinal acceleration.

Parameters
value longitudinal acceleration value
valueUnit longitudinal acceleration unit
confidence longitudinal acceleration confidence value
confidenceUnit longitudinal acceleration confidence unit
handler response handler

public void setStationLongitudinalAccelerationBlocking (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)

Set station longitudinal acceleration.

Parameters
value longitudinal acceleration value
valueUnit longitudinal acceleration unit
confidence longitudinal acceleration confidence value
confidenceUnit longitudinal acceleration confidence unit
Throws
ClientException when the request fails

public Observable<Void> setStationProtectedCommunicationZonesRSU (List<ProtectedCommunicationZone> zones)

Sets the protected communications zones RSU station info parameter.

Parameters
zones list of protected communication zones
Returns
  • observable for this request

public void setStationProtectedCommunicationZonesRSU (List<ProtectedCommunicationZone> zones, SimpleResponseHandler handler)

Sets the protected communications zones RSU station info parameter.

Parameters
zones list of protected communication zones
handler response handler

public void setStationProtectedCommunicationZonesRSUBlocking (List<ProtectedCommunicationZone> zones)

Sets the protected communications zones RSU station info parameter.

Parameters
zones list of protected communication zones
Throws
ClientException when this request fails

public void setStationPtActivation (PtActivationType encoding, byte[] data, SimpleResponseHandler handler)

Sets the Pt activation data within the CAM message. This field is used by public transport vehicles for controlling traffic lights, barriers, bollards, etc.

Parameters
encoding encoding type of the passed data
data byte string type custom data
handler response handler

public Observable<Void> setStationPtActivation (PtActivationType encoding, byte[] data)

Sets the Pt activation data within the CAM message. This field is used by public transport vehicles for controlling traffic lights, barriers, bollards, etc.

Parameters
encoding encoding type of the passed data
data byte string type custom data
Returns
  • observable for this request

public void setStationPtActivationBlocking (PtActivationType encoding, byte[] data)

Sets the Pt activation data within the CAM message. This field is used by public transport vehicles for controlling traffic lights, barriers, bollards, etc.

Parameters
encoding encoding type of the passed data
data byte string type custom data
Throws
ClientException when the request fails

public Observable<Void> setStationRoadFriction (RoadFriction roadFriction)

Sets the road friction station info parameter in BSM.

Parameters
roadFriction road friction value
Returns
  • observable for this request

public void setStationRoadFriction (RoadFriction roadFriction, SimpleResponseHandler handler)

Sets the road friction station info parameter in BSM.

Parameters
roadFriction road friction value
handler response handler

public void setStationRoadFrictionBlocking (RoadFriction roadFriction)

Sets the road friction station info parameter in BSM.

Parameters
roadFriction road friction value
Throws
ClientException when this request fails

public void setStationRoadWorksSubCause (RoadWorksSubCause subcause, SimpleResponseHandler handler)

Sets the road works sub cause within the CAM message. It can be set when the originating ITS-S is mounted on a vehicle participating in the roadwork. It provides information on the type of roadwork that is currently undergoing.

Parameters
subcause road work sub cause
handler response handler

public Observable<Void> setStationRoadWorksSubCause (RoadWorksSubCause subcause)

Sets the road works sub cause within the CAM message. It can be set when the originating ITS-S is mounted on a vehicle participating in the roadwork. It provides information on the type of roadwork that is currently undergoing.

Parameters
subcause road work sub cause
Returns
  • observable for this request

public void setStationRoadWorksSubCauseBlocking (RoadWorksSubCause subcause)

Sets the road works sub cause within the CAM message. It can be set when the originating ITS-S is mounted on a vehicle participating in the roadwork. It provides information on the type of roadwork that is currently undergoing.

Parameters
subcause road work sub cause
Throws
ClientException when the request fails

public void setStationRoleType (StationType stationType, VehicleRole role, SimpleResponseHandler handler)

Set station type and role.

Parameters
stationType station type
role station role
handler response handler

public Observable<Void> setStationRoleType (StationType stationType, VehicleRole role)

Set station type and role.

Parameters
stationType station type
role station role
Returns
  • an observable for this request

public void setStationRoleTypeBlocking (StationType stationType, VehicleRole role)

Set station type and role.

Parameters
stationType station type
role station role
Throws
ClientException when the request fails

public Observable<Void> setStationRorsRequestState (RorsInterventionRequestState requestState)

Sets the Reversible Occupant Restraint System request state station info parameter.

Parameters
requestState request state
Returns
  • observable for this request

public void setStationRorsRequestState (RorsInterventionRequestState requestState, SimpleResponseHandler handler)

Sets the Reversible Occupant Restraint System request state station info parameter.

Parameters
requestState request state
handler response handler

public void setStationRorsRequestStateBlocking (RorsInterventionRequestState requestState)

Sets the Reversible Occupant Restraint System request state station info parameter.

Parameters
requestState request state
Throws
ClientException when this request fails

public Observable<Void> setStationSeatBeltState (SeatBeltStates seatBeltStates)

Sets the seat belt status on a given position in a station

Parameters
seatBeltStates the position in the station, which seat belt sets
Returns
  • observable for this request

public void setStationSeatBeltState (SeatBeltStates seatBeltStates, SimpleResponseHandler handler)

Sets the seat belt status on a given position in a station

Parameters
seatBeltStates the position in the station, which seat belt sets
handler response handler

public void setStationSeatBeltStateBlocking (SeatBeltStates seatBeltStates)

Sets the seat belt status on a given position in a station

Parameters
seatBeltStates the position in the station, which seat belt sets
Throws
ClientException when this request fails

public void setStationSlowVehicleState (SlowVehicleState slowVehicleState, SimpleResponseHandler handler)

Sets the slow vehicle state station info parameter.

Parameters
slowVehicleState slow vehocle state
handler response handler

public Observable<Void> setStationSlowVehicleState (SlowVehicleState slowVehicleState)

Sets the slow vehicle state station info parameter.

Parameters
slowVehicleState slow vehocle state
Returns
  • observable for this request

public void setStationSlowVehicleStateBlocking (SlowVehicleState slowVehicleState)

Sets the slow vehicle state station info parameter.

Parameters
slowVehicleState slow vehocle state
Throws
ClientException when this request fails

public Observable<Void> setStationSpecialTransportType (SpecialTransportType specialTransportType)

Sets the special transport type information within the CAM message. It indicates whether the originating ITS-S is mounted on a special transport vehicle with heavy or over sized load or both.

Parameters
specialTransportType special transport type information
Returns
  • observable for this request

public void setStationSpecialTransportType (SpecialTransportType specialTransportType, SimpleResponseHandler handler)

Sets the special transport type information within the CAM message. It indicates whether the originating ITS-S is mounted on a special transport vehicle with heavy or over sized load or both.

Parameters
specialTransportType special transport type information
handler response handler

public void setStationSpecialTransportTypeBlocking (SpecialTransportType specialTransportType)

Sets the special transport type information within the CAM message. It indicates whether the originating ITS-S is mounted on a special transport vehicle with heavy or over sized load or both.

Parameters
specialTransportType special transport type information
Throws
ClientException when the request fails

public Observable<Void> setStationSpeedLimit (double speedLimit, SpeedUnit speedUnit)

Sets the speed limit in the CAM message. It indicates whether a speed limit is applied to vehicles following the safety car.

Parameters
speedLimit speed limit information
Returns
  • observable for this request

public void setStationSpeedLimit (double speedLimit, SpeedUnit speedUnit, SimpleResponseHandler handler)

Sets the speed limit in the CAM message. It indicates whether a speed limit is applied to vehicles following the safety car.

Parameters
speedLimit speed limit information
handler response handler

public void setStationSpeedLimitBlocking (double speedLimit, SpeedUnit speedUnit)

Sets the speed limit in the CAM message. It indicates whether a speed limit is applied to vehicles following the safety car.

Parameters
speedLimit speed limit information
Throws
ClientException when the request fails

public Observable<Void> setStationStabilityControlState (StabilityControlState stabilityControlState)

Sets the stability control state station info parameter in BSM.

Parameters
stabilityControlState stability control state
Returns
  • observable for this request

public void setStationStabilityControlState (StabilityControlState stabilityControlState, SimpleResponseHandler handler)

Sets the stability control state station info parameter in BSM.

Parameters
stabilityControlState stability control state
handler response handler

public void setStationStabilityControlStateBlocking (StabilityControlState stabilityControlState)

Sets the stability control state station info parameter in BSM.

Parameters
stabilityControlState stability control state
Throws
ClientException when the request fails

public Observable<Void> setStationSteeringWheelAngle (double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit)

Sets the station steering wheel angle.

Parameters
wheelAngle wheel angle value
wheelAngleUnit wheel angle unit
confidenceWithin confidence equal or within this value
confidenceUnit confidence unit
Returns
  • observable for this request

public void setStationSteeringWheelAngle (double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit, SimpleResponseHandler handler)

Sets the station steering wheel angle.

Parameters
wheelAngle wheel angle value
wheelAngleUnit wheel angle unit
confidenceWithin confidence equal or within this value
confidenceUnit confidence unit
handler response handler

public void setStationSteeringWheelAngleBlocking (double wheelAngle, DegreeUnit wheelAngleUnit, double confidenceWithin, DegreeUnit confidenceUnit)

Sets the station steering wheel angle.

Parameters
wheelAngle wheel angle value
wheelAngleUnit wheel angle unit
confidenceWithin confidence equal or within this value
confidenceUnit confidence unit
Throws
ClientException when the request fails

public Observable<Void> setStationStopLineViolated (boolean stopLineViolated)

Sets the stop line violated station info parameter in BSM.

Parameters
stopLineViolated stop line violated value
Returns
  • observable for this request

public void setStationStopLineViolated (boolean stopLineViolated, SimpleResponseHandler handler)

Sets the stop line violated station info parameter in BSM.

Parameters
stopLineViolated stop line violated value
handler response handler

public void setStationStopLineViolatedBlocking (boolean stopLineViolated)

Sets the stop line violated station info parameter in BSM.

Parameters
stopLineViolated stop line violated value
Throws
ClientException when the request fails

public Observable<Void> setStationThrottlePressure (StationInfoThrottlePosition throttlePosition)

Sets the throttle pressure station info parameter in BSM.

Parameters
throttlePosition throttle position
Returns
  • observable for this request

public void setStationThrottlePressure (StationInfoThrottlePosition throttlePosition, SimpleResponseHandler handler)

Sets the throttle pressure station info parameter in BSM.

Parameters
throttlePosition throttle position
handler response handler

public void setStationThrottlePressureBlocking (StationInfoThrottlePosition throttlePosition)

Sets the throttle pressure station info parameter in BSM.

Parameters
throttlePosition throttle position
Throws
ClientException when this request fails

public void setStationTractionControlState (TractionControlState tractionControlState, SimpleResponseHandler handler)

Sets the traction control state station info parameter in BSM.

Parameters
tractionControlState traction control state
handler response handler

public Observable<Void> setStationTractionControlState (TractionControlState tractionControlState)

Sets the traction control state station info parameter in BSM.

Parameters
tractionControlState traction control state
Returns
  • observable for this request

public void setStationTractionControlStateBlocking (TractionControlState tractionControlState)

Sets the traction control state station info parameter in BSM.

Parameters
tractionControlState traction control state
Throws
ClientException when the request fails

public void setStationTrafficJamRadioState (TrafficJamRadioState trafficJamRadioState, SimpleResponseHandler handler)

Sets the Station Info Traffic Jam Radio State parameter.

Parameters
trafficJamRadioState traffic jam radio state
handler response handler

public Observable<Void> setStationTrafficJamRadioState (TrafficJamRadioState trafficJamRadioState)

Sets the Station Info Traffic Jam Radio State parameter.

Parameters
trafficJamRadioState traffic jam radio state
Returns
  • observable for this request

public void setStationTrafficJamRadioStateBlocking (TrafficJamRadioState trafficJamRadioState)

Sets the Station Info Traffic Jam Radio State parameter.

Parameters
trafficJamRadioState traffic jam radio state
Throws
ClientException when this request fails

public void setStationTrafficRule (TrafficRule trafficRule, SimpleResponseHandler handler)

Sets the traffic rule within the CAM message. It indicates whether overtaking is allowed at a certain position.

Parameters
trafficRule traffic rule object
handler response handler

public Observable<Void> setStationTrafficRule (TrafficRule trafficRule)

Sets the traffic rule within the CAM message. It indicates whether overtaking is allowed at a certain position.

Parameters
trafficRule traffic rule object
Returns
  • observable for this request

public void setStationTrafficRuleBlocking (TrafficRule trafficRule)

Sets the traffic rule within the CAM message. It indicates whether overtaking is allowed at a certain position.

Parameters
trafficRule traffic rule object

public void setStationVerticalAcceleration (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit, SimpleResponseHandler handler)

Set station vertical acceleration.

Parameters
value vertical acceleration value
valueUnit vertical acceleration unit
confidence vertical acceleration confidence value
confidenceUnit vertical acceleration confidence unit
handler response handler

public Observable<Void> setStationVerticalAcceleration (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)

Set station vertical acceleration.

Parameters
value vertical acceleration value
valueUnit vertical acceleration unit
confidence vertical acceleration confidence value
confidenceUnit vertical acceleration confidence unit
Returns
  • observable for this request

public void setStationVerticalAccelerationBlocking (double value, AccelerationUnit valueUnit, double confidence, AccelerationUnit confidenceUnit)

Set station vertical acceleration.

Parameters
value vertical acceleration value
valueUnit vertical acceleration unit
confidence vertical acceleration confidence value
confidenceUnit vertical acceleration confidence unit
Throws
ClientException when the request fails

public Observable<Void> setStationWheelBrakeState (WheelBrakes wheelBrakeState)

Sets the wheel brake state station info parameter in BSM.

Parameters
wheelBrakeState wheel brake state
Returns
  • observable for this request

public void setStationWheelBrakeState (WheelBrakes wheelBrakeState, SimpleResponseHandler handler)

Sets the wheel brake state station info parameter in BSM.

Parameters
wheelBrakeState wheel brake state
handler response handler

public void setStationWheelBrakeStateBlocking (WheelBrakes wheelBrakeState)

Sets the wheel brake state station info parameter in BSM.

Parameters
wheelBrakeState wheel brake state
Throws
ClientException when the request fails

public void setStationYawRate (double degreesPerSec, YawRateConfidence confidence, SimpleResponseHandler handler)

Set station yaw rate.

Parameters
degreesPerSec yaw rate in degrees per second
confidence yaw rate confidence
handler response handler

public Observable<Void> setStationYawRate (double degreesPerSec, YawRateConfidence confidence)

Set station yaw rate.

Parameters
degreesPerSec yaw rate in degrees per second
confidence yaw rate confidence
Returns
  • observable for this request

public void setStationYawRateBlocking (double degreesPerSec, YawRateConfidence confidence)

Set station yaw rate.

Parameters
degreesPerSec yaw rate in degrees per second
confidence yaw rate confidence
Throws
ClientException when the request fails

public void setWaitBetweenReconnects (int waitBetweenReconnects)

Sets the amount of waiting in milliseconds between connection attempts when an error occurs.

Parameters
waitBetweenReconnects amount of waiting in milliseconds, zero disables waiting

public synchronized void shutdown ()

Terminates the current connection if connected and shuts down the connection manager.

public void start ()

Starts the connection manager and initiates a connection towards the router. The connection is maintained and automatically reconnected until shutdown() is called.

public void startSafetyAppsBlocking ()

Starts safety apps if not started already. This is an internal command and it is subject to change. There is no need to call this method under normal circumstances.

Throws
ClientException when the request fails

public void startShowCaseDemo (boolean loop, SimpleResponseHandler handler)

Starts the showcase demo.

Parameters
loop true to loop the demo, false otherwise
handler response handler

public Observable<Void> startShowCaseDemo (boolean loop)

Starts the showcase demo.

Parameters
loop true to loop the demo, false otherwise
Returns
  • an observable for this request

public void startShowCaseDemoBlocking (boolean loop)

Starts the showcase demo.

Parameters
loop true to loop the demo, false otherwise
Throws
ClientException when the request fails

public void stationInfoSubscribe (StationInfoSubscribeGroups subscribeGroups, SimpleResponseHandler handler)

Subscribe to Station Info messages. Station Info messages will be received as Station Info notifications.

Parameters
subscribeGroups subscribe groups, specifies which notification groups the client is interested in
handler response handler

public Observable<Void> stationInfoSubscribe (StationInfoSubscribeGroups subscribeGroups)

Subscribe to Station Info messages. Station Info messages will be received as Station Info notifications.

Parameters
subscribeGroups subscribe groups, specifies which notification groups the client is interested in
Returns
  • observable for this request

public void stationInfoSubscribeBlocking (StationInfoSubscribeGroups subscribeGroups)

Subscribe to Station Info messages. Station Info messages will be received as Station Info notifications.

Parameters
subscribeGroups subscribe groups, specifies which notification groups the client is interested in
Throws
ClientException when the request fails

public Observable<Void> stationInfoUnsubscribe ()

Unsubscribe from Station Info messages.

Returns
  • observable for this request

public void stationInfoUnsubscribe (SimpleResponseHandler handler)

Unsubscribe from Station Info messages.

Parameters
handler response handler

public void stationInfoUnsubscribeBlocking ()

Unsubscribe from Station Info messages.

Throws
ClientException when the request fails

public Observable<Void> subscribeToDiagnosticsNotifications ()

Subscribe to diagnostics notifications. If the request is successful the application will receive DiagnosticsNotification messages which can be handled by registering a ITSEventListener and implementing onDiagnosticsNotification(DiagnosticsNotification).

Returns
  • an observable for this request

public void subscribeToDiagnosticsNotifications (SimpleResponseHandler handler)

Subscribe to diagnostics notifications. If the request is successful the application will receive DiagnosticsNotification messages which can be handled by registering a ITSEventListener and implementing onDiagnosticsNotification(DiagnosticsNotification).

Parameters
handler respone handler

public void subscribeToDiagnosticsNotificationsBlocking ()

Subscribe to diagnostics notifications. If the request is successful the application will receive DiagnosticsNotification messages which can be handled by registering a ITSEventListener and implementing onDiagnosticsNotification(DiagnosticsNotification).

Throws
ClientException when the request fails

public Observable<Void> unsubscribeFromDiagnosticsNotifications ()

Unsubscribe from diagnostics notifications. The application will no longer receiveDiagnosticsNotification through onDiagnosticsNotification(DiagnosticsNotification).

Returns
  • an observable for this request

public void unsubscribeFromDiagnosticsNotifications (SimpleResponseHandler handler)

Unsubscribe from diagnostics notifications. The application will no longer receiveDiagnosticsNotification through onDiagnosticsNotification(DiagnosticsNotification).

Parameters
handler response handler

public void unsubscribeFromDiagnosticsNotificationsBlocking ()

Unsubscribe from diagnostics notifications. The application will no longer receiveDiagnosticsNotification through onDiagnosticsNotification(DiagnosticsNotification).

Throws
ClientException when the request fails

public Observable<Void> useCertWithHashId (CertificateStandardType certificateStandardType, String hashId)

Use the specified certificate. This is development command.

Parameters
certificateStandardType certificate standard type
hashId hash id of the certificate
Returns
  • observable for this request

public void useCertWithHashId (CertificateStandardType certificateStandardType, String hashId, SimpleResponseHandler handler)

Use the specified certificate. This is development command.

Parameters
certificateStandardType certificate standard type
hashId hash id of the certificate
handler response handler

public void useCertWithHashIdBlocking (CertificateStandardType certificateStandardType, String hashId)

Use the specified certificate. This is development command.

Parameters
certificateStandardType certificate standard type
hashId hash id of the certificate
Throws
ClientException when the request fails

public void waitForConnection (int timeoutInMilliseconds)

Wait for the connection to establish.

Parameters
timeoutInMilliseconds timeout in milliseconds
Throws
InterruptedException if the wait is interrupted
TimeoutException

public Observable<Void> wsaSubscribe (long psid)

Subscribe to WSA notifications. The application will receive WSA notifications upon successful subscription.

Parameters
psid provider service identifier
Returns
  • an observable for this request

public void wsaSubscribe (long psid, SimpleResponseHandler handler)

Subscribe to WSA notifications. The application will receive WSA notifications upon successful subscription.

Parameters
psid provider service identifier
handler response handler

public void wsaSubscribeBlocking (long psid)

Subscribe to WSA notifications. The application will receive WSA notifications upon successful subscription.

Parameters
psid provider service identifier
Throws
ClientException when the request fails

public void wsaUnsubscribe (long psid, SimpleResponseHandler handler)

Unsubscribe from WSA notifications.

Parameters
psid provider service identifier
handler response handler

public Observable<Void> wsaUnsubscribe (long psid)

Unsubscribe from WSA notifications.

Parameters
psid provider service identifier
Returns
  • an observable for this request

public void wsaUnsubscribeBlocking (long psid)

Unsubscribe from WSA notifications.

Parameters
psid provider service identifier
Throws
ClientException when the request fails

public Observable<Void> wsmpBind (long portNumber)

Bind to a WSMP port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.

Parameters
portNumber port number
Returns
  • an observable for this request

public void wsmpBind (long portNumber, SimpleResponseHandler handler)

Bind to a WSMP port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.

Parameters
portNumber port number
handler response handler for the binding attempt

public void wsmpBindBlocking (long portNumber)

Bind to a WSMP port number. After a successful bind the application will receive geonetworking notificatitons when data is sent to the specified port.

Parameters
portNumber port number
Throws
ClientException when the request fails

public Observable<Void> wsmpClose (long portNumber)

Stop listening on the specified WSMP port.

Parameters
portNumber port number
Returns
  • an observable for this request

public void wsmpClose (long portNumber, SimpleResponseHandler handler)

Stop listening on the specified WSMP port.

Parameters
portNumber port number
handler response handler for the close attempt

public void wsmpCloseBlocking (long portNumber)

Stop listening on the specified WSMP port.

Parameters
portNumber port number
Throws
ClientException when the request fails

public Observable<Void> wsmpSend (WsmpSendData sendData)

Send a WSMP packet.

Parameters
sendData data to be sent
Returns
  • an observable for this request

public void wsmpSend (WsmpSendData sendData, SimpleResponseHandler handler)

Send a WSMP packet.

Parameters
sendData data to be sent
handler response handler

public void wsmpSendBlocking (WsmpSendData sendData)

Send a WSMP packet.

Parameters
sendData data to be sent
Throws
ClientException when the request fails