Overview  Package   Class  Tree  Index 

be.lassi.artnet.packets
Class ArtPacket

java.lang.Object
  extended by be.lassi.artnet.packets.ArtPacket
Direct Known Subclasses:
ArtAddress, ArtDmx, ArtPoll, ArtPollReply, ArtUnknown

public class ArtPacket
extends java.lang.Object

Art-Net network packet.


Constructor Summary
ArtPacket(byte[] packetData)
           
 
Method Summary
 void append(java.lang.StringBuilder b)
           
protected  void data(int index, int value)
           
protected  void data(int offset, int maxLength, java.lang.String string)
           
 java.net.InetAddress getDestinationAddress()
           
 int getDestinationPort()
           
 byte[] getPacketData()
           
 java.net.InetAddress getSourceAddress()
           
 int getSourcePort()
           
 java.lang.String getString()
           
protected  void init(int opCode)
           
 void setDestinationAddress(java.net.InetAddress destination)
           
 void setDestinationPort(int destinationPort)
           
 void setSourceAddress(java.net.InetAddress sourceAddress)
           
 void setSourcePort(int sourcePort)
           
protected  java.lang.String string(int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtPacket

public ArtPacket(byte[] packetData)
Method Detail

append

public void append(java.lang.StringBuilder b)

data

protected void data(int index,
                    int value)

data

protected void data(int offset,
                    int maxLength,
                    java.lang.String string)

getDestinationAddress

public java.net.InetAddress getDestinationAddress()

getDestinationPort

public int getDestinationPort()

getPacketData

public byte[] getPacketData()

getSourceAddress

public java.net.InetAddress getSourceAddress()

getSourcePort

public int getSourcePort()

getString

public java.lang.String getString()

init

protected void init(int opCode)

setDestinationAddress

public void setDestinationAddress(java.net.InetAddress destination)

setDestinationPort

public void setDestinationPort(int destinationPort)

setSourceAddress

public void setSourceAddress(java.net.InetAddress sourceAddress)

setSourcePort

public void setSourcePort(int sourcePort)

string

protected java.lang.String string(int offset,
                                  int length)

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2