public class FadecandySocket extends OPCSocket
LXBufferOutput.ByteOrder
LXOutput.GammaMode, LXOutput.InetOutput
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PORT |
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, HEADER_LEN, OFFSET_CHANNEL, OFFSET_COMMAND, OFFSET_DATA, OFFSET_DATA_LEN_LSB, OFFSET_DATA_LEN_MSB
NO_PORT
Constructor and Description |
---|
FadecandySocket(LX lx) |
FadecandySocket(LX lx,
int[] indexBuffer) |
FadecandySocket(LX lx,
LXModel model) |
Modifier and Type | Method and Description |
---|---|
protected void |
didConnect()
Subclasses may override to take additional actions upon successful connection
|
FadecandySocket |
setColorCorrection(float gamma,
float red,
float green,
float blue) |
FadecandySocket |
setColorCorrection(String s) |
FadecandySocket |
setDithering(boolean enabled) |
FadecandySocket |
setInterpolation(boolean enabled) |
FadecandySocket |
setStatusLed(boolean on) |
FadecandySocket |
setStatusLedAuto() |
getDataBuffer, getDataBufferOffset, setChannel
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 static final int DEFAULT_PORT
public FadecandySocket(LX lx)
public FadecandySocket(LX lx, int[] indexBuffer)
protected void didConnect()
LXSocket
didConnect
in class LXSocket
public FadecandySocket setDithering(boolean enabled)
public FadecandySocket setInterpolation(boolean enabled)
public FadecandySocket setStatusLedAuto()
public FadecandySocket setStatusLed(boolean on)
public FadecandySocket setColorCorrection(float gamma, float red, float green, float blue)
public FadecandySocket setColorCorrection(String s)
LX library by Mark C. Slee. © 2012-2020