auto-sync
This commit is contained in:
parent
d7c99c5199
commit
3ad971a673
|
@ -48,7 +48,7 @@ public class LinkManager {
|
|||
|
||||
@Override
|
||||
public String unpackConfirmation(String message) {
|
||||
return TcpConnector.doUnpackConfirmation(message);
|
||||
return message;
|
||||
}
|
||||
};
|
||||
public static final LinkedBlockingQueue<Runnable> COMMUNICATION_QUEUE = new LinkedBlockingQueue<>();
|
||||
|
|
|
@ -154,7 +154,9 @@ public class TcpConnector implements LinkConnector {
|
|||
|
||||
@Override
|
||||
public String unpackConfirmation(String message) {
|
||||
return doUnpackConfirmation(message);
|
||||
if (message.startsWith(CommandQueue.CONFIRMATION_PREFIX))
|
||||
return message.substring(CommandQueue.CONFIRMATION_PREFIX.length());
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Collection<String> getAvailablePorts() {
|
||||
|
|
Loading…
Reference in New Issue