All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infomaximum.network.transport.TransportPacketHandler Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy