summaryrefslogtreecommitdiff
path: root/src/main/java/com/benburwell/planes/sbs
diff options
context:
space:
mode:
authorBen Burwell <ben.burwell@trifecta.com>2016-11-20 01:34:08 -0500
committerBen Burwell <ben.burwell@trifecta.com>2016-11-20 01:34:08 -0500
commitf1e32ed443bafc03448f0f3b36c712b9293e71e7 (patch)
treebd4c5f6dd692bd3d1f16bdd00f57d996cecc5688 /src/main/java/com/benburwell/planes/sbs
parentbe4974518d4e24f66c19ceffc1e633e3e306956b (diff)
File cleanup
Diffstat (limited to 'src/main/java/com/benburwell/planes/sbs')
-rw-r--r--src/main/java/com/benburwell/planes/sbs/AggregateDataSource.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/DataListener.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/DataSource.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/MalformedPacketException.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/MessageType.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/SBSPacket.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/TCPDataSource.java8
-rw-r--r--src/main/java/com/benburwell/planes/sbs/TransmissionType.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/UnrecognizedMessageTypeException.java2
-rw-r--r--src/main/java/com/benburwell/planes/sbs/UnrecognizedTransmissionTypeException.java2
10 files changed, 14 insertions, 12 deletions
diff --git a/src/main/java/com/benburwell/planes/sbs/AggregateDataSource.java b/src/main/java/com/benburwell/planes/sbs/AggregateDataSource.java
index 2850404..1886e00 100644
--- a/src/main/java/com/benburwell/planes/sbs/AggregateDataSource.java
+++ b/src/main/java/com/benburwell/planes/sbs/AggregateDataSource.java
@@ -6,7 +6,7 @@ import java.util.Map;
import java.util.HashMap;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public class AggregateDataSource implements DataSource {
private List<DataListener> subscribers = new ArrayList<>();
diff --git a/src/main/java/com/benburwell/planes/sbs/DataListener.java b/src/main/java/com/benburwell/planes/sbs/DataListener.java
index b0da2ef..9258310 100644
--- a/src/main/java/com/benburwell/planes/sbs/DataListener.java
+++ b/src/main/java/com/benburwell/planes/sbs/DataListener.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public interface DataListener {
void handleMessage(SBSPacket packet);
diff --git a/src/main/java/com/benburwell/planes/sbs/DataSource.java b/src/main/java/com/benburwell/planes/sbs/DataSource.java
index 961c6e2..c8bba6b 100644
--- a/src/main/java/com/benburwell/planes/sbs/DataSource.java
+++ b/src/main/java/com/benburwell/planes/sbs/DataSource.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public interface DataSource {
void subscribe(DataListener listener);
diff --git a/src/main/java/com/benburwell/planes/sbs/MalformedPacketException.java b/src/main/java/com/benburwell/planes/sbs/MalformedPacketException.java
index 6cbd1a3..1ab8ca9 100644
--- a/src/main/java/com/benburwell/planes/sbs/MalformedPacketException.java
+++ b/src/main/java/com/benburwell/planes/sbs/MalformedPacketException.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public class MalformedPacketException extends Exception {
private String message;
diff --git a/src/main/java/com/benburwell/planes/sbs/MessageType.java b/src/main/java/com/benburwell/planes/sbs/MessageType.java
index a2ecc66..96958ed 100644
--- a/src/main/java/com/benburwell/planes/sbs/MessageType.java
+++ b/src/main/java/com/benburwell/planes/sbs/MessageType.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public enum MessageType {
SELECTION_CHANGE("SEL"),
diff --git a/src/main/java/com/benburwell/planes/sbs/SBSPacket.java b/src/main/java/com/benburwell/planes/sbs/SBSPacket.java
index 5684803..86e6eaf 100644
--- a/src/main/java/com/benburwell/planes/sbs/SBSPacket.java
+++ b/src/main/java/com/benburwell/planes/sbs/SBSPacket.java
@@ -6,7 +6,7 @@ import java.util.Calendar;
import java.util.Date;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public class SBSPacket {
private MessageType messageType;
diff --git a/src/main/java/com/benburwell/planes/sbs/TCPDataSource.java b/src/main/java/com/benburwell/planes/sbs/TCPDataSource.java
index 2224d36..5cbe7f7 100644
--- a/src/main/java/com/benburwell/planes/sbs/TCPDataSource.java
+++ b/src/main/java/com/benburwell/planes/sbs/TCPDataSource.java
@@ -1,12 +1,14 @@
package com.benburwell.planes.sbs;
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.net.Socket;
import java.util.List;
import java.util.ArrayList;
-import java.io.*;
-import java.net.*;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public class TCPDataSource implements DataSource {
private List<DataListener> subscribers = new ArrayList<>();
diff --git a/src/main/java/com/benburwell/planes/sbs/TransmissionType.java b/src/main/java/com/benburwell/planes/sbs/TransmissionType.java
index fb1761e..d2f799c 100644
--- a/src/main/java/com/benburwell/planes/sbs/TransmissionType.java
+++ b/src/main/java/com/benburwell/planes/sbs/TransmissionType.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public enum TransmissionType {
ES_IDENTIFICATION(1),
diff --git a/src/main/java/com/benburwell/planes/sbs/UnrecognizedMessageTypeException.java b/src/main/java/com/benburwell/planes/sbs/UnrecognizedMessageTypeException.java
index ee30a87..63d3d63 100644
--- a/src/main/java/com/benburwell/planes/sbs/UnrecognizedMessageTypeException.java
+++ b/src/main/java/com/benburwell/planes/sbs/UnrecognizedMessageTypeException.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public class UnrecognizedMessageTypeException extends Exception {
private String type;
diff --git a/src/main/java/com/benburwell/planes/sbs/UnrecognizedTransmissionTypeException.java b/src/main/java/com/benburwell/planes/sbs/UnrecognizedTransmissionTypeException.java
index abab067..8bc5c13 100644
--- a/src/main/java/com/benburwell/planes/sbs/UnrecognizedTransmissionTypeException.java
+++ b/src/main/java/com/benburwell/planes/sbs/UnrecognizedTransmissionTypeException.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.sbs;
/**
- * Created by ben on 11/15/16.
+ * @author ben
*/
public class UnrecognizedTransmissionTypeException extends Exception {
private int code;