com.illposed.osc
Class OSCMessage

java.lang.Object
  extended by com.illposed.osc.OSCPacket
      extended by com.illposed.osc.OSCMessage

public class OSCMessage
extends OSCPacket


Constructor Summary
OSCMessage()
          Create an empty OSC Message In order to send this osc message, you need to set the address and, perhaps, some arguments.
OSCMessage(java.lang.String newAddress)
          Create an OSCMessage with an address already initialized
OSCMessage(java.lang.String newAddress, java.lang.Object[] newArguments)
          Create an OSCMessage with an address and arguments already initialized
 
Method Summary
 void addArgument(java.lang.Object argument)
           
 java.lang.String getAddress()
           
 java.lang.Object[] getArguments()
           
 void setAddress(java.lang.String anAddress)
          Set the address of this messsage
 
Methods inherited from class com.illposed.osc.OSCPacket
getByteArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSCMessage

public OSCMessage()
Create an empty OSC Message In order to send this osc message, you need to set the address and, perhaps, some arguments.


OSCMessage

public OSCMessage(java.lang.String newAddress)
Create an OSCMessage with an address already initialized

Parameters:
newAddress - The recepient of this OSC message

OSCMessage

public OSCMessage(java.lang.String newAddress,
                  java.lang.Object[] newArguments)
Create an OSCMessage with an address and arguments already initialized

Parameters:
newAddress - The recepient of this OSC message
newArguments - The data sent to the receiver
Method Detail

getAddress

public java.lang.String getAddress()
Returns:
the address of this OSC Message

setAddress

public void setAddress(java.lang.String anAddress)
Set the address of this messsage

Parameters:
anAddress -

addArgument

public void addArgument(java.lang.Object argument)

getArguments

public java.lang.Object[] getArguments()