Class OPCDatagram

All Implemented Interfaces:
LXPath, LXSerializable, LXOutput.InetOutput, OPCOutput, LXParameterListener

public class OPCDatagram extends LXDatagram implements OPCOutput
UDP implementation of http://openpixelcontrol.org/
  • Field Details

  • Constructor Details

    • OPCDatagram

      public OPCDatagram(LX lx, LXModel model)
    • OPCDatagram

      public OPCDatagram(LX lx, LXModel model, byte opcChannel)
    • OPCDatagram

      public OPCDatagram(LX lx, int[] indexBuffer)
    • OPCDatagram

      public OPCDatagram(LX lx, int[] indexBuffer, byte opcChannel)
    • OPCDatagram

      public OPCDatagram(LX lx, int[] indexBuffer, LXBufferOutput.ByteOrder byteOrder, byte opcChannel)
    • OPCDatagram

      public OPCDatagram(LX lx, IndexBuffer indexBuffer, byte opcChannel)
  • Method Details

    • setChannel

      public OPCDatagram setChannel(byte channel)
      Specified by:
      setChannel in interface OPCOutput
    • getChannel

      public byte getChannel()
    • getDataBufferOffset

      protected int getDataBufferOffset()
      Description copied from class: LXBufferOutput
      Offset into raw byte buffer where color data is written
      Specified by:
      getDataBufferOffset in class LXBufferOutput
      Returns:
      Offset into raw byte buffer for color data