proxy progress
This commit is contained in:
parent
063da572e7
commit
f7a01897a4
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue