22 package com.realtime.crossfire.jxclient.server.server;
24 import java.nio.ByteBuffer;
25 import java.util.EventListener;
26 import org.jetbrains.annotations.NotNull;
45 void processAscii(@NotNull String command, @NotNull ByteBuffer packet);
59 void processIntArray(@NotNull String command, @NotNull ByteBuffer packet);
66 void processShortInt(@NotNull String command, @NotNull ByteBuffer packet);
73 void processMixed(@NotNull String command, @NotNull ByteBuffer packet);
82 void processStats(@NotNull String command,
int stat, @NotNull Object[] args);
89 void processNoData(@NotNull String command, @NotNull ByteBuffer packet);
void processIntArray(@NotNull String command, @NotNull ByteBuffer packet)
A packet having an array of int parameters has been received.
void processShortArray(@NotNull String command, @NotNull ByteBuffer packet)
A packet having an array of short integer parameters has been received.
void processEmpty(@NotNull final String command)
A packet having no parameters has been received.
void processMixed(@NotNull String command, @NotNull ByteBuffer packet)
A packet having mixed parameters has been received.
void processShortInt(@NotNull String command, @NotNull ByteBuffer packet)
A packet having a short and an int parameter has been received.
void processAscii(@NotNull String command, @NotNull ByteBuffer packet)
A packet having ascii parameters has been received.
void processStats(@NotNull String command, int stat, @NotNull Object[] args)
A stats packet has been received.
Interface for listeners interested in received packets.
void processNoData(@NotNull String command, @NotNull ByteBuffer packet)
A packet having unknown parameters has been received.