TracAPI-3.15.1: use the MessageSystemLocator.registerClientSocketFactory in OSGi Activator

This commit is contained in:
Axel Uhl
2024-02-19 15:12:16 +01:00
parent 91fb6859fa
commit 05e678f48c
6 changed files with 21 additions and 5 deletions
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: TracTrac Client module
Bundle-SymbolicName: com.tractrac.clientmodule
Bundle-Version: 3.15.0
Bundle-Version: 3.15.1
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ClassPath: .,
lib/TracAPI.jar
+16 -3
View File
@@ -15,11 +15,22 @@ It contains also some files:
- test.sh -> script that compiles the code in the src folder, creates the test.jar library and execute the code of the example.
- Manifest.txt -> manifest used to create the test.jar file
********************************************
TracAPI 3.15.1
********************************************
This is a final version. It keeps the backward compatibility.
Release date: 19/02/2024
1) Feature
- Adding a setter to register an implementation for the IClientSocketFactory (Requested by Axel Uhl, 19/02/2024)
********************************************
TracAPI 3.15.0
********************************************
This is a final version. It adds some changes in the protocol used to exchange live data. It will be necessary to use
this version to receive live data from the 19/20/2023. It also changes the signatures of some interfaces, breaking
this version to receive live data from the 19/02/2024. It also changes the signatures of some interfaces, breaking
the backward compatibility. These interfaces are:
- Removing the method IControlPassingsListener.gotControlPassings(IRaceCompetitor,IControlPassings). This method is not called by the
@@ -28,11 +39,13 @@ This is a final version. It adds some changes in the protocol used to exchange l
- Updating the methods of the IPositionFactory. This factory should be used only internally so the thirds party apps should
not be affected
1) Features
Release date: 19/02/2024
1) Features
- The IPosition has a new method to get the true heading (getTrueHeading) (Requested by Radek Masnica, 2023)
- Adding two new entry statuses: STP and SCP (Requested by Radek Masnica, 2023)
2) Bugs
2) Bugs
- Updating the protocol to send/receive messages between the dataserver and the library.
- Fixing a bug when the route is updated and it has not metadata attached (reported by Jorge Piera, 11/11/2023)
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -8,6 +8,6 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>com.tractrac.clientmodule</artifactId>
<version>3.15.0</version>
<version>3.15.1</version>
<packaging>eclipse-plugin</packaging>
</project>
@@ -9,6 +9,8 @@ import com.tractrac.dataflow.lib.prov.live.tcp.provider.TCPLiveProviderFactory;
import com.tractrac.dataflow.lib.prov.stored.mtb.MTBStoredDataProviderFactory;
import com.tractrac.dataflow.lib.prov.stored.tcp.TCPStoredProviderFactory;
import com.tractrac.dataflow.lib.spi.DataflowProviderLocator;
import com.tractrac.message.system.lib.api.MessageSystemLocator;
import com.tractrac.message.system.lib.impl.client.ClientSocketFactory;
import com.tractrac.model.lib.api.ModelLocator;
import com.tractrac.model.lib.impl.attachment.DefaultAttachmentManager;
import com.tractrac.model.lib.impl.data.DefaultPositionFactory;
@@ -38,6 +40,7 @@ public class Activator implements BundleActivator {
ModelLocator.registerPositionFactory(new DefaultPositionFactory());
ModelLocator.registerMetadataFactory(new DefaultMetadataFactory());
SubscriptionLocator.registerSubscriberFactory(new SubscriberFactory());
MessageSystemLocator.registerClientSocketFactory(new ClientSocketFactory());
}
@Override