Add preliminary net code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user