com.illposed.osc
Class OSCMessage
java.lang.Object
com.illposed.osc.OSCPacket
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 messagenewArguments
- The data sent to the receiver
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()