mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-08 23:07:46 +07:00
Changed to use object's toString method
This commit is contained in:
@ -12,7 +12,6 @@ import io.netty.channel.EventLoopGroup;
|
|||||||
import io.netty.channel.nio.NioEventLoopGroup;
|
import io.netty.channel.nio.NioEventLoopGroup;
|
||||||
import io.netty.channel.socket.SocketChannel;
|
import io.netty.channel.socket.SocketChannel;
|
||||||
import io.netty.channel.socket.nio.NioSocketChannel;
|
import io.netty.channel.socket.nio.NioSocketChannel;
|
||||||
import java.net.InetSocketAddress;
|
|
||||||
import java.net.SocketAddress;
|
import java.net.SocketAddress;
|
||||||
|
|
||||||
import com.badlogic.gdx.Application;
|
import com.badlogic.gdx.Application;
|
||||||
@ -78,8 +77,8 @@ public class TestClient extends ApplicationAdapter implements PacketProcessor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void sendConnectionPacket() {
|
private void sendConnectionPacket() {
|
||||||
InetSocketAddress remoteAddress = (InetSocketAddress) endpoint.channel().remoteAddress();
|
SocketAddress remoteAddress = endpoint.channel().remoteAddress();
|
||||||
Gdx.app.log(TAG, "Sending Connection packet to " + remoteAddress.getHostString() + ":" + remoteAddress.getPort());
|
Gdx.app.log(TAG, "Sending Connection packet to " + remoteAddress);
|
||||||
|
|
||||||
long salt = MathUtils.random.nextLong();
|
long salt = MathUtils.random.nextLong();
|
||||||
FlatBufferBuilder builder = new FlatBufferBuilder();
|
FlatBufferBuilder builder = new FlatBufferBuilder();
|
||||||
|
Reference in New Issue
Block a user