Add preliminary net code

This commit is contained in:
Flare Microsystems
2024-11-10 21:06:09 -08:00
parent 38bda530c5
commit 4aacdd2b44
6 changed files with 146 additions and 14 deletions

View File

@@ -1,5 +1,8 @@
package com.flaremicro.crossjeeves.net;
import java.io.IOException;
import java.net.Socket;
import com.flaremicro.crossjeeves.net.packet.Packet;
import com.flaremicro.crossjeeves.net.packet.Packet0Identify;
import com.flaremicro.crossjeeves.net.packet.Packet127KeepAlive;
@@ -11,6 +14,10 @@ import com.flaremicro.crossjeeves.net.packet.Packet4FileData;
public class ServerHandler extends NetworkHandler {
public ServerHandler(Socket socket) throws IOException {
super(socket);
}
@Override
public void handlePacket(Packet packet) {
// TODO Auto-generated method stub