proxy progress

This commit is contained in:
rusefi 2020-07-17 15:27:08 -04:00
parent 063da572e7
commit f7a01897a4
2 changed files with 2 additions and 3 deletions

View File

@ -1,12 +1,11 @@
package com.rusefi.io.commands;
import com.rusefi.io.IoStream;
import com.rusefi.io.tcp.BinaryProtocolServer;
import java.io.IOException;
public interface Command {
byte getCommand();
void handle(BinaryProtocolServer.Packet packet, IoStream stream) throws IOException;
void handle(IoStream stream) throws IOException;
}

View File

@ -40,7 +40,7 @@ public class HelloCommand implements Command {
}
@Override
public void handle(BinaryProtocolServer.Packet packet, IoStream stream) throws IOException {
public void handle(IoStream stream) throws IOException {
stream.sendPacket((BinaryProtocolServer.TS_OK + tsSignature).getBytes(), logger);
}
}