public enum PacketType extends java.lang.Enum<PacketType>
Modifier and Type | Method and Description |
---|---|
ArtNetPacket |
createPacket() |
int |
getOpCode()
Returns the opcode for this packet type.
|
static PacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketType ART_POLL
public static final PacketType ART_POLL_REPLY
public static final PacketType ART_OUTPUT
public static final PacketType ART_ADDRESS
public static final PacketType ART_INPUT
public static final PacketType ART_TOD_REQUEST
public static final PacketType ART_TOD_DATA
public static final PacketType ART_TOD_CONTROL
public static final PacketType ART_RDM
public static final PacketType ART_RDMSUB
public static final PacketType ART_MEDIA
public static final PacketType ART_MEDIA_PATCH
public static final PacketType ART_MEDIA_CONTROL
public static final PacketType ART_MEDIA_CONTROL_REPLY
public static final PacketType ART_VIDEO_SETUP
public static final PacketType ART_VIDEO_PALETTE
public static final PacketType ART_VIDEO_DATA
public static final PacketType ART_MAC_MASTER
public static final PacketType ART_MAC_SLAVE
public static final PacketType ART_FIRMWARE_MASTER
public static final PacketType ART_FIRMWARE_REPLY
public static final PacketType ART_IP_PROG
public static final PacketType ART_IP_PROG_REPLY
public static PacketType[] values()
for (PacketType c : PacketType.values()) System.out.println(c);
public static PacketType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic ArtNetPacket createPacket()
public int getOpCode()