Trying to fix the boat information that is being sent over.

Current issue is that a broken pipe error keeps occurring potentially due to how the messages are being sent so quickly that the previous message may have not finished sending. Also only caused the xm packets to be sent on trigger when a new client connects.

#story[1047]
This commit is contained in:
Kusal Ekanayake
2017-07-23 16:22:59 +12:00
parent 33fae9d69a
commit 2e4382bff6
4 changed files with 38 additions and 30 deletions
+3
View File
@@ -86,6 +86,9 @@ public class Yacht {
this.boatName = boatName;
this.country = country;
this.position = "-";
this.location = new GeoPoint(0.0, 0.0);
this.heading = 0.0;
this.velocity = 0.0;
}
/**