mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
15 lines
430 B
Java
15 lines
430 B
Java
|
package ch.spacebase.packetlib.test;
|
||
|
|
||
|
import ch.spacebase.packetlib.Client;
|
||
|
import ch.spacebase.packetlib.Server;
|
||
|
import ch.spacebase.packetlib.netty.NettySessionFactory;
|
||
|
|
||
|
public class PingServerTest {
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
new Server("127.0.0.1", 25565, new TestProtocol(), new NettySessionFactory()).bind();
|
||
|
new Client("127.0.0.1", 25565, new TestProtocol(), new NettySessionFactory()).connect();
|
||
|
}
|
||
|
|
||
|
}
|