added debug messages
parent
f5dde94c96
commit
b6a4cabe40
|
@ -6,6 +6,7 @@ import earth.krakatao.protocol.KraSocketClientProtocol;
|
||||||
import earth.krakatao.protocol.KraSocketClientProtocolMessage;
|
import earth.krakatao.protocol.KraSocketClientProtocolMessage;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
|
import java.util.logging.Logger;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
||||||
public class KraSocketClient {
|
public class KraSocketClient {
|
||||||
|
@ -28,7 +29,7 @@ public class KraSocketClient {
|
||||||
this.socketClient.send("");
|
this.socketClient.send("");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendTest() {
|
public String sendTest() {
|
||||||
|
return "hello";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ public class SocketClient extends WebSocketClient {
|
||||||
|
|
||||||
this.kraSocketClientEventInitiater.callOnMessage(kraProtocolMessage);
|
this.kraSocketClientEventInitiater.callOnMessage(kraProtocolMessage);
|
||||||
System.out.println("msg b:" + byteBuffer);
|
System.out.println("msg b:" + byteBuffer);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue