Class UdpKernel.MessageWriter

java.lang.Object
com.jme3.network.kernel.udp.UdpKernel.MessageWriter
All Implemented Interfaces:
Runnable
Enclosing class:
UdpKernel

protected class UdpKernel.MessageWriter extends Object implements Runnable
Writes queued UDP packets on behalf of endpoints.
Author:
Paul Speed
  • Constructor Details

    • MessageWriter

      public MessageWriter(Endpoint endpoint, DatagramPacket packet)
      Creates a queued UDP packet writer.
      Parameters:
      endpoint - the source endpoint
      packet - the packet to send
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable