public class NetworkProcessor extends Object
| Constructor and Description |
|---|
NetworkProcessor(ErrorReporter reporter)
Construct a new network processor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invokePostEvent(PacketEvent event,
NetworkMarker marker)
Invoke the post listeners and packet transmission, if any.
|
byte[] |
processOutput(PacketEvent event,
NetworkMarker marker,
byte[] input)
Process the serialized packet byte array with the given network marker.
|
public NetworkProcessor(ErrorReporter reporter)
reporter - - the reporter.public byte[] processOutput(PacketEvent event, NetworkMarker marker, byte[] input)
event - - current packet event.marker - - the network marker.input - - the input array.public void invokePostEvent(PacketEvent event, NetworkMarker marker)
event - - PacketEventmarker - - the network marker, or NULL.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.