com.infomaximum.network.transport.TransportPacketHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network Show documentation
Show all versions of network Show documentation
Library for creating a light http server
The newest version!
package com.infomaximum.network.transport;
import com.infomaximum.network.exception.ParsePacketNetworkException;
import com.infomaximum.network.packet.IPacket;
import com.infomaximum.network.protocol.PacketHandler;
import com.infomaximum.network.session.Session;
public interface TransportPacketHandler {
boolean isPhaseHandshake();
PacketHandler getPacketHandler();
Session getSession();
IPacket parse(String message) throws ParsePacketNetworkException;
void send(IPacket packet);
Thread.UncaughtExceptionHandler getUncaughtExceptionHandler();
}