public class OPCSocket extends LXSocket implements OPCOutput
LXBufferOutput.ByteOrder
LXOutput.GammaMode, LXOutput.InetOutput
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
DEFAULT_CONNECT_TIMEOUT_MS, output, socket
byteOrder, byteOrderBuffer, indexBuffer
brightness, enabled, framesPerSecond, gamma, gammaMode
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
CHANNEL_BROADCAST, COMMAND_SET_PIXEL_COLORS, COMMAND_SYSTEM_EXCLUSIVE, DEFAULT_PORT, HEADER_LEN, OFFSET_CHANNEL, OFFSET_COMMAND, OFFSET_DATA, OFFSET_DATA_LEN_LSB, OFFSET_DATA_LEN_MSB
NO_PORT
Constructor and Description |
---|
OPCSocket(LX lx) |
OPCSocket(LX lx,
int[] indexBuffer) |
OPCSocket(LX lx,
int[] indexBuffer,
byte channel) |
OPCSocket(LX lx,
int[] indexBuffer,
LXBufferOutput.ByteOrder byteOrder) |
OPCSocket(LX lx,
int[] indexBuffer,
LXBufferOutput.ByteOrder byteOrder,
byte channel) |
OPCSocket(LX lx,
LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getDataBuffer()
Subclasses should provide a handle to a raw byte buffer
|
protected int |
getDataBufferOffset()
Offset into raw byte buffer where color data is written
|
OPCSocket |
setChannel(byte channel) |
didConnect, didDisconnect, disconnect, getAddress, getPacketData, getPort, isConnected, onSend, setAddress, setConnectTimeout, setPort
setByteOrder, setByteOrder, updateDataBuffer, updateIndexBuffer
error, error, getGammaLut, log, onParameterChanged, onSend, send, send, setGammaDelegate, setGroup
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, dispose, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, load, loadParameters, removeParameter, removeParameter, save, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAddress, getPort, setAddress, setPort
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public OPCSocket(LX lx)
public OPCSocket(LX lx, int[] indexBuffer)
public OPCSocket(LX lx, int[] indexBuffer, byte channel)
public OPCSocket(LX lx, int[] indexBuffer, LXBufferOutput.ByteOrder byteOrder)
public OPCSocket(LX lx, int[] indexBuffer, LXBufferOutput.ByteOrder byteOrder, byte channel)
public OPCSocket setChannel(byte channel)
setChannel
in interface OPCOutput
protected byte[] getDataBuffer()
LXBufferOutput
getDataBuffer
in class LXBufferOutput
protected int getDataBufferOffset()
LXBufferOutput
getDataBufferOffset
in class LXBufferOutput
LX library by Mark C. Slee. © 2012-2020