Files
sailing-analytics/java/com.tractrac.clientmodule/javadoc/com/tractrac/subscription/lib/api/ILocalDataserver.html
T
Axel Uhl 510dc91794 upgraded TracAPI to 3.7.0; see below for their release notes:
1) Features

  - RaceCompetitorStatusType: New race competitor status type defined:
F_CONFIRMED. Represents a competitor with a control passing registered for the last gate/mark that is accepted as the official result (Requested by Ugo Alvazzi, 26/04/2017)
  - WebSockets support: instead of using a TCP connection is possible to retrieve data using WebSockets (using the same protocol used by the HTML Viewer). The protocol is not fully implemented and it only has to be used for testing (Requested by Jorge Piera, 30/04/2017).
  - Use an asynchronous API: the dataserver implementation has been migrated to an asynchronous API that provides a better performance downloading replay data (the tests show that is 2.5 times faster).
TracAPI has also adopted this new asynchronous interface but at this moment it continues using the synchronous approach (Requested by Jorge Piera, 03/05/2017)
  - Adding the method ISubscriberFactory.clean to release the objects in memory (Requested by André Borud, 01/06/2017)
  - Adding the method IPosition.isGPSTiming to know if the time of a position has been retrieved from a physical GPS device (Requested by Jérome Soussens, 21/06/2017)

  2) Bugs

  - When a static control is updated, the IControlPointPositionListener.gotControlPointPosition event is not called if the consumer application is not registered to the IEventSubscriber (Reported by Axel Uhl, 18/06/2017)
  - The live delay sometimes is not propagated. The server always propagates the event but TracAPI can filter it if the IEventSubscriber is not being used or if it has not been correctly initialized using the right live-uri (Reported by Julian Mayland, 21/06/2017)

Change-Id: I5c6b842268558d95491baf35db72f649ba61b032
2017-06-29 18:28:41 +02:00

804 lines
35 KiB
HTML
Executable File

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Thu Jun 29 10:20:57 UTC 2017 -->
<title>ILocalDataserver</title>
<meta name="date" content="2017-06-29">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ILocalDataserver";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/tractrac/subscription/lib/api/IEventSubscriber.html" title="interface in com.tractrac.subscription.lib.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataServerFactory.html" title="interface in com.tractrac.subscription.lib.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/tractrac/subscription/lib/api/ILocalDataserver.html" target="_top">Frames</a></li>
<li><a href="ILocalDataserver.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.tractrac.subscription.lib.api</div>
<h2 title="Interface ILocalDataserver" class="title">Interface ILocalDataserver</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="typeNameLabel">ILocalDataserver</span></pre>
<div class="block"><p>
This class is a local dataserver. It is possible to add events and connect to
it order to test the implementation of the subscription library.
</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#abandonRace-java.util.UUID-">abandonRace</a></span>(java.util.UUID&nbsp;raceId)</code>
<div class="block">Abandon a race from the event</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addCompetitor-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">addCompetitor</a></span>(java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
java.lang.String&nbsp;team,
java.lang.String&nbsp;competitorClass)</code>
<div class="block">Add a new competitor to the event</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addControlPassings-com.tractrac.model.lib.api.event.ICompetitor-java.util.List-java.util.List-">addControlPassings</a></span>(<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor,
java.util.List&lt;<a href="../../../../../com/tractrac/model/lib/api/route/IControl.html" title="interface in com.tractrac.model.lib.api.route">IControl</a>&gt;&nbsp;controls,
java.util.List&lt;java.lang.Long&gt;&nbsp;timeStamps)</code>
<div class="block">Adds a control passing for a competitor</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addLivePosition-com.tractrac.model.lib.api.event.ICompetitor-double-double-long-">addLivePosition</a></span>(<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor,
double&nbsp;lon,
double&nbsp;lat,
long&nbsp;timestamp)</code>
<div class="block">Adds a live position to the dataserver.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addMark-java.lang.String-java.lang.String-double-double-long-">addMark</a></span>(java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
double&nbsp;lat,
double&nbsp;lon,
long&nbsp;timestamp)</code>
<div class="block">Add a new mark to the event</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addRace-java.lang.String-long-long-long-com.tractrac.model.lib.api.event.RaceVisibilityType-com.tractrac.model.lib.api.event.RaceStatusType-java.net.URI-">addRace</a></span>(java.lang.String&nbsp;raceName,
long&nbsp;trackingStartTime,
long&nbsp;trackingEndTime,
long&nbsp;raceStartTime,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceVisibilityType.html" title="enum in com.tractrac.model.lib.api.event">RaceVisibilityType</a>&nbsp;visibility,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceStatusType.html" title="enum in com.tractrac.model.lib.api.event">RaceStatusType</a>&nbsp;status,
java.net.URI&nbsp;parametersFile)</code>
<div class="block">Add a new race to the event</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addRaceCompetitor-com.tractrac.model.lib.api.event.IRace-com.tractrac.model.lib.api.route.IRoute-com.tractrac.model.lib.api.event.ICompetitor-">addRaceCompetitor</a></span>(<a href="../../../../../com/tractrac/model/lib/api/event/IRace.html" title="interface in com.tractrac.model.lib.api.event">IRace</a>&nbsp;race,
<a href="../../../../../com/tractrac/model/lib/api/route/IRoute.html" title="interface in com.tractrac.model.lib.api.route">IRoute</a>&nbsp;route,
<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor)</code>
<div class="block">Add a competitor to a race</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#addStoredPosition-com.tractrac.model.lib.api.event.ICompetitor-double-double-long-">addStoredPosition</a></span>(<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor,
double&nbsp;lon,
double&nbsp;lat,
long&nbsp;timestamp)</code>
<div class="block">Adds a stored position to the dataserver.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#changeDatasources-java.util.UUID-java.net.URI-java.net.URI-java.net.URI-">changeDatasources</a></span>(java.util.UUID&nbsp;raceId,
java.net.URI&nbsp;liveURI,
java.net.URI&nbsp;storedURI,
java.net.URI&nbsp;wsURI)</code>
<div class="block">Changes both the liveURI and the storedURI</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#close--">close</a></span>()</code>
<div class="block">Closes the connections</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#deleteCompetitor-java.util.UUID-">deleteCompetitor</a></span>(java.util.UUID&nbsp;competitorId)</code>
<div class="block">Delete a competitor from the event</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#deleteMark-java.util.UUID-">deleteMark</a></span>(java.util.UUID&nbsp;markId)</code>
<div class="block">Delete a mark from the event</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#deleteRace-java.util.UUID-">deleteRace</a></span>(java.util.UUID&nbsp;raceId)</code>
<div class="block">Delete a race from the event</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#getLivePort--">getLivePort</a></span>()</code>
<div class="block">Gets the port for the live connection</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#getStoredPort--">getStoredPort</a></span>()</code>
<div class="block">Gets the port for the stored connection</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#reloadRace-java.util.UUID-">reloadRace</a></span>(java.util.UUID&nbsp;raceId)</code>
<div class="block">Reload a race from the event</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#removeRaceCompetitor-com.tractrac.model.lib.api.event.IRace-java.util.UUID-">removeRaceCompetitor</a></span>(<a href="../../../../../com/tractrac/model/lib/api/event/IRace.html" title="interface in com.tractrac.model.lib.api.event">IRace</a>&nbsp;race,
java.util.UUID&nbsp;competitorId)</code>
<div class="block">Delete a race from the race</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#start--">start</a></span>()</code>
<div class="block">Create the threads that listen both the stored and live connections</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#updateCompetitor-java.util.UUID-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">updateCompetitor</a></span>(java.util.UUID&nbsp;competitorId,
java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
java.lang.String&nbsp;team,
java.lang.String&nbsp;competitorClass)</code>
<div class="block">Update a competitor</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#updateLiveDelay-int-">updateLiveDelay</a></span>(int&nbsp;seconds)</code>
<div class="block">Update the live delay property</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#updateLiveDelay-java.util.UUID-int-">updateLiveDelay</a></span>(java.util.UUID&nbsp;raceId,
int&nbsp;seconds)</code>
<div class="block">Update the live delay property for a race</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#updateMark-java.util.UUID-java.lang.String-java.lang.String-double-double-long-">updateMark</a></span>(java.util.UUID&nbsp;markId,
java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
double&nbsp;lat,
double&nbsp;lon,
long&nbsp;timestamp)</code>
<div class="block">Add a new mark to the event</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataserver.html#updateRace-java.util.UUID-java.lang.String-long-long-long-com.tractrac.model.lib.api.event.RaceVisibilityType-com.tractrac.model.lib.api.event.RaceStatusType-java.net.URI-">updateRace</a></span>(java.util.UUID&nbsp;raceId,
java.lang.String&nbsp;raceName,
long&nbsp;trackingStartTime,
long&nbsp;trackingEndTime,
long&nbsp;raceStartTime,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceVisibilityType.html" title="enum in com.tractrac.model.lib.api.event">RaceVisibilityType</a>&nbsp;visibility,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceStatusType.html" title="enum in com.tractrac.model.lib.api.event">RaceStatusType</a>&nbsp;status,
java.net.URI&nbsp;parametersFile)</code>
<div class="block">Update a race</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getStoredPort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStoredPort</h4>
<pre>int&nbsp;getStoredPort()</pre>
<div class="block">Gets the port for the stored connection</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the stored port</dd>
</dl>
</li>
</ul>
<a name="getLivePort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLivePort</h4>
<pre>int&nbsp;getLivePort()</pre>
<div class="block">Gets the port for the live connection</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the live port</dd>
</dl>
</li>
</ul>
<a name="start--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>void&nbsp;start()</pre>
<div class="block">Create the threads that listen both the stored and live connections</div>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>void&nbsp;close()
throws java.io.IOException</pre>
<div class="block">Closes the connections</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if there is an error closing the sockets</dd>
</dl>
</li>
</ul>
<a name="addLivePosition-com.tractrac.model.lib.api.event.ICompetitor-double-double-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLivePosition</h4>
<pre>void&nbsp;addLivePosition(<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor,
double&nbsp;lon,
double&nbsp;lat,
long&nbsp;timestamp)</pre>
<div class="block">Adds a live position to the dataserver. This position will be sent if the
application is subscribed to the competitor positions event using the
live connection.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>competitor</code> - the competitor</dd>
<dd><code>lon</code> - the longitude</dd>
<dd><code>lat</code> - the latitude</dd>
<dd><code>timestamp</code> - the time stamp when this position is valid</dd>
</dl>
</li>
</ul>
<a name="addControlPassings-com.tractrac.model.lib.api.event.ICompetitor-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addControlPassings</h4>
<pre>void&nbsp;addControlPassings(<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor,
java.util.List&lt;<a href="../../../../../com/tractrac/model/lib/api/route/IControl.html" title="interface in com.tractrac.model.lib.api.route">IControl</a>&gt;&nbsp;controls,
java.util.List&lt;java.lang.Long&gt;&nbsp;timeStamps)</pre>
<div class="block">Adds a control passing for a competitor</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>competitor</code> - the competitor</dd>
<dd><code>controls</code> - the list of controls</dd>
<dd><code>timeStamps</code> - the time stamps</dd>
</dl>
</li>
</ul>
<a name="addStoredPosition-com.tractrac.model.lib.api.event.ICompetitor-double-double-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addStoredPosition</h4>
<pre>void&nbsp;addStoredPosition(<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor,
double&nbsp;lon,
double&nbsp;lat,
long&nbsp;timestamp)</pre>
<div class="block">Adds a stored position to the dataserver. This position will be sent if
the application is subscribed to the competitor positions event using the
stored connection.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>competitor</code> - the competitor</dd>
<dd><code>lon</code> - the longitude</dd>
<dd><code>lat</code> - the latitude</dd>
<dd><code>timestamp</code> - the time stamp when this position is valid</dd>
</dl>
</li>
</ul>
<a name="addCompetitor-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addCompetitor</h4>
<pre>void&nbsp;addCompetitor(java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
java.lang.String&nbsp;team,
java.lang.String&nbsp;competitorClass)</pre>
<div class="block">Add a new competitor to the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the competitor</dd>
<dd><code>shortName</code> - the short name of the competitor</dd>
<dd><code>team</code> - the team name</dd>
<dd><code>competitorClass</code> - the competitor class</dd>
</dl>
</li>
</ul>
<a name="deleteCompetitor-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteCompetitor</h4>
<pre>void&nbsp;deleteCompetitor(java.util.UUID&nbsp;competitorId)</pre>
<div class="block">Delete a competitor from the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>competitorId</code> - the competitor identifier</dd>
</dl>
</li>
</ul>
<a name="updateCompetitor-java.util.UUID-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateCompetitor</h4>
<pre>void&nbsp;updateCompetitor(java.util.UUID&nbsp;competitorId,
java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
java.lang.String&nbsp;team,
java.lang.String&nbsp;competitorClass)</pre>
<div class="block">Update a competitor</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>competitorId</code> - the competitor identifier</dd>
<dd><code>name</code> - the name of the competitor</dd>
<dd><code>shortName</code> - the short name of the competitor</dd>
<dd><code>team</code> - the team name</dd>
<dd><code>competitorClass</code> - the competitor class</dd>
</dl>
</li>
</ul>
<a name="addRace-java.lang.String-long-long-long-com.tractrac.model.lib.api.event.RaceVisibilityType-com.tractrac.model.lib.api.event.RaceStatusType-java.net.URI-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRace</h4>
<pre>void&nbsp;addRace(java.lang.String&nbsp;raceName,
long&nbsp;trackingStartTime,
long&nbsp;trackingEndTime,
long&nbsp;raceStartTime,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceVisibilityType.html" title="enum in com.tractrac.model.lib.api.event">RaceVisibilityType</a>&nbsp;visibility,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceStatusType.html" title="enum in com.tractrac.model.lib.api.event">RaceStatusType</a>&nbsp;status,
java.net.URI&nbsp;parametersFile)</pre>
<div class="block">Add a new race to the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceName</code> - the race name</dd>
<dd><code>trackingStartTime</code> - the tracking start time</dd>
<dd><code>trackingEndTime</code> - the tracking end time</dd>
<dd><code>raceStartTime</code> - the race start time</dd>
<dd><code>visibility</code> - the visibility of the race.</dd>
<dd><code>status</code> - the status of the race</dd>
<dd><code>parametersFile</code> - the parameters file</dd>
</dl>
</li>
</ul>
<a name="updateRace-java.util.UUID-java.lang.String-long-long-long-com.tractrac.model.lib.api.event.RaceVisibilityType-com.tractrac.model.lib.api.event.RaceStatusType-java.net.URI-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateRace</h4>
<pre>void&nbsp;updateRace(java.util.UUID&nbsp;raceId,
java.lang.String&nbsp;raceName,
long&nbsp;trackingStartTime,
long&nbsp;trackingEndTime,
long&nbsp;raceStartTime,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceVisibilityType.html" title="enum in com.tractrac.model.lib.api.event">RaceVisibilityType</a>&nbsp;visibility,
<a href="../../../../../com/tractrac/model/lib/api/event/RaceStatusType.html" title="enum in com.tractrac.model.lib.api.event">RaceStatusType</a>&nbsp;status,
java.net.URI&nbsp;parametersFile)</pre>
<div class="block">Update a race</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceId</code> - the race identifier</dd>
<dd><code>raceName</code> - the race name</dd>
<dd><code>trackingStartTime</code> - the tracking start time</dd>
<dd><code>trackingEndTime</code> - the tracking end time</dd>
<dd><code>raceStartTime</code> - the race start time</dd>
<dd><code>visibility</code> - the visibility of the race.</dd>
<dd><code>status</code> - the status of the race</dd>
<dd><code>parametersFile</code> - the parameters file</dd>
</dl>
</li>
</ul>
<a name="deleteRace-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteRace</h4>
<pre>void&nbsp;deleteRace(java.util.UUID&nbsp;raceId)</pre>
<div class="block">Delete a race from the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceId</code> - the race identifier</dd>
</dl>
</li>
</ul>
<a name="reloadRace-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reloadRace</h4>
<pre>void&nbsp;reloadRace(java.util.UUID&nbsp;raceId)</pre>
<div class="block">Reload a race from the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceId</code> - the race identifier</dd>
</dl>
</li>
</ul>
<a name="abandonRace-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>abandonRace</h4>
<pre>void&nbsp;abandonRace(java.util.UUID&nbsp;raceId)</pre>
<div class="block">Abandon a race from the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceId</code> - the race identifier</dd>
</dl>
</li>
</ul>
<a name="changeDatasources-java.util.UUID-java.net.URI-java.net.URI-java.net.URI-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>changeDatasources</h4>
<pre>void&nbsp;changeDatasources(java.util.UUID&nbsp;raceId,
java.net.URI&nbsp;liveURI,
java.net.URI&nbsp;storedURI,
java.net.URI&nbsp;wsURI)</pre>
<div class="block">Changes both the liveURI and the storedURI</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceId</code> - the race identifier</dd>
<dd><code>liveURI</code> - the new liveURI</dd>
<dd><code>storedURI</code> - the new storedURI</dd>
<dd><code>wsURI</code> - the web sockets URI</dd>
</dl>
</li>
</ul>
<a name="addMark-java.lang.String-java.lang.String-double-double-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addMark</h4>
<pre>void&nbsp;addMark(java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
double&nbsp;lat,
double&nbsp;lon,
long&nbsp;timestamp)</pre>
<div class="block">Add a new mark to the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - the name of the mark</dd>
<dd><code>shortName</code> - the name of the mark</dd>
<dd><code>lat</code> - the latitude value of the mark</dd>
<dd><code>lon</code> - the longitude value of the mark</dd>
<dd><code>timestamp</code> - the timestamp of the mark</dd>
</dl>
</li>
</ul>
<a name="updateMark-java.util.UUID-java.lang.String-java.lang.String-double-double-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateMark</h4>
<pre>void&nbsp;updateMark(java.util.UUID&nbsp;markId,
java.lang.String&nbsp;name,
java.lang.String&nbsp;shortName,
double&nbsp;lat,
double&nbsp;lon,
long&nbsp;timestamp)</pre>
<div class="block">Add a new mark to the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>markId</code> - the mark identifier</dd>
<dd><code>name</code> - the name of the mark</dd>
<dd><code>shortName</code> - the short name</dd>
<dd><code>lat</code> - the latitude value of the mark</dd>
<dd><code>lon</code> - the longitude value of the mark</dd>
<dd><code>timestamp</code> - the timestamp of the mark</dd>
</dl>
</li>
</ul>
<a name="deleteMark-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteMark</h4>
<pre>void&nbsp;deleteMark(java.util.UUID&nbsp;markId)</pre>
<div class="block">Delete a mark from the event</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>markId</code> - the mark identifier</dd>
</dl>
</li>
</ul>
<a name="addRaceCompetitor-com.tractrac.model.lib.api.event.IRace-com.tractrac.model.lib.api.route.IRoute-com.tractrac.model.lib.api.event.ICompetitor-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRaceCompetitor</h4>
<pre>void&nbsp;addRaceCompetitor(<a href="../../../../../com/tractrac/model/lib/api/event/IRace.html" title="interface in com.tractrac.model.lib.api.event">IRace</a>&nbsp;race,
<a href="../../../../../com/tractrac/model/lib/api/route/IRoute.html" title="interface in com.tractrac.model.lib.api.route">IRoute</a>&nbsp;route,
<a href="../../../../../com/tractrac/model/lib/api/event/ICompetitor.html" title="interface in com.tractrac.model.lib.api.event">ICompetitor</a>&nbsp;competitor)</pre>
<div class="block">Add a competitor to a race</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>race</code> - the race</dd>
<dd><code>route</code> - the route</dd>
<dd><code>competitor</code> - the competitor to add</dd>
</dl>
</li>
</ul>
<a name="removeRaceCompetitor-com.tractrac.model.lib.api.event.IRace-java.util.UUID-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeRaceCompetitor</h4>
<pre>void&nbsp;removeRaceCompetitor(<a href="../../../../../com/tractrac/model/lib/api/event/IRace.html" title="interface in com.tractrac.model.lib.api.event">IRace</a>&nbsp;race,
java.util.UUID&nbsp;competitorId)</pre>
<div class="block">Delete a race from the race</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>race</code> - the race</dd>
<dd><code>competitorId</code> - the competitor identifier</dd>
</dl>
</li>
</ul>
<a name="updateLiveDelay-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateLiveDelay</h4>
<pre>void&nbsp;updateLiveDelay(int&nbsp;seconds)</pre>
<div class="block">Update the live delay property</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>seconds</code> - the number of seconds for the new live delay</dd>
</dl>
</li>
</ul>
<a name="updateLiveDelay-java.util.UUID-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateLiveDelay</h4>
<pre>void&nbsp;updateLiveDelay(java.util.UUID&nbsp;raceId,
int&nbsp;seconds)</pre>
<div class="block">Update the live delay property for a race</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>raceId</code> - the race identifier</dd>
<dd><code>seconds</code> - the number of seconds for the new live delay</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../com/tractrac/subscription/lib/api/IEventSubscriber.html" title="interface in com.tractrac.subscription.lib.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../com/tractrac/subscription/lib/api/ILocalDataServerFactory.html" title="interface in com.tractrac.subscription.lib.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/tractrac/subscription/lib/api/ILocalDataserver.html" target="_top">Frames</a></li>
<li><a href="ILocalDataserver.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>