public class ArtPollReplyPacket extends ArtNetPacket
ART_EXT_HEADER, data, HEADER, logger, PROTOCOL_VERSION, type
Constructor and Description |
---|
ArtPollReplyPacket() |
ArtPollReplyPacket(byte[] data) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getDmxIns() |
byte[] |
getDmxOuts() |
int |
getEstaManufacturerCode() |
java.net.InetAddress |
getIp() |
java.net.InetAddress |
getIPAddress() |
java.lang.String |
getLongName() |
int |
getNodeStatus() |
NodeStyle |
getNodeStyle() |
int |
getNumPorts() |
int |
getOemCode() |
int |
getOEMCode() |
PortDescriptor[] |
getPorts() |
NodeReportCode |
getReportCode() |
java.lang.String |
getShortName() |
int |
getSubSwitch() |
int |
getUbeaVersion() |
int |
getVersionInfo() |
boolean |
parse(byte[] raw)
Parses the given byte array into semantic values and populates type
specific fields for each packet type.
|
void |
setDmxIns(byte[] dmxIns) |
void |
setDmxOuts(byte[] dmxOuts) |
void |
setEstaManufacturerCode(int estaManufacturerCode) |
void |
setIp(java.net.InetAddress ip) |
void |
setLongName(java.lang.String longName) |
void |
setNodeStatus(int nodeStatus) |
void |
setNodeStyle(NodeStyle nodeStyle) |
void |
setNumPorts(int numPorts) |
void |
setOemCode(int oemCode) |
void |
setPorts(PortDescriptor[] ports) |
void |
setReportCode(NodeReportCode reportCode) |
void |
setShortName(java.lang.String shortName) |
void |
setSubSwitch(int subSwitch) |
void |
setUbeaVersion(int ubeaVersion) |
void |
setVersionInfo(int versionInfo) |
void |
translateData() |
getData, getLength, getType, setData, setData, setHeader, setProtocol, toString
public ArtPollReplyPacket()
public ArtPollReplyPacket(byte[] data)
public byte[] getDmxIns()
public byte[] getDmxOuts()
public java.net.InetAddress getIPAddress()
public java.lang.String getLongName()
public int getNodeStatus()
public NodeStyle getNodeStyle()
public int getOEMCode()
public PortDescriptor[] getPorts()
public NodeReportCode getReportCode()
public java.lang.String getShortName()
public int getSubSwitch()
public boolean parse(byte[] raw)
ArtNetPacket
parse
in class ArtNetPacket
raw
- Raw data.public void translateData()
public void setDmxIns(byte[] dmxIns)
dmxIns
- the dmxIns to setpublic void setDmxOuts(byte[] dmxOuts)
dmxOuts
- the dmxOuts to setpublic void setReportCode(NodeReportCode reportCode)
reportCode
- the reportCode to setpublic java.net.InetAddress getIp()
public void setIp(java.net.InetAddress ip)
public int getVersionInfo()
public void setVersionInfo(int versionInfo)
public void setSubSwitch(int subSwitch)
public int getOemCode()
public void setOemCode(int oemCode)
public void setNodeStatus(int nodeStatus)
public int getUbeaVersion()
public void setUbeaVersion(int ubeaVersion)
public int getEstaManufacturerCode()
public void setEstaManufacturerCode(int estaManufacturerCode)
public void setShortName(java.lang.String shortName)
public void setLongName(java.lang.String longName)
public int getNumPorts()
public void setNumPorts(int numPorts)
public void setPorts(PortDescriptor[] ports)
public void setNodeStyle(NodeStyle nodeStyle)