DataPacketIn Event
Fired when receiving a data packet from the server.
Syntax
public open class DefaultServerEventListener : ServerEventListener { ... public override fun dataPacketIn(e: ServerDataPacketInEvent) {} ... } public class ServerDataPacketInEvent { val dataPacket: ByteArray? }
Remarks
This event fires when a packet is received. The entire data packet (including all framing and error detection characters) is contained in the DataPacket parameter. This parameter may be inspected for advanced troubleshooting, or to extract additional response properties beyond the scope of this component.