Closedown
This commit is contained in:
@@ -76,9 +76,13 @@ public class PuckDetection extends DeviceBase{
|
||||
subscriber.subscribe("Status".getBytes());
|
||||
try{
|
||||
while (!Thread.currentThread().isInterrupted()) {
|
||||
System.out.println("Enter");
|
||||
String type = subscriber.recvStr();
|
||||
System.out.println(type);
|
||||
String contents = subscriber.recvStr();
|
||||
System.out.println(contents);
|
||||
processMessage(contents);
|
||||
System.out.println("Exit");
|
||||
}
|
||||
} finally{
|
||||
for (PuckState puck:pucks){
|
||||
|
||||
Reference in New Issue
Block a user