Package heronarts.lx.osc
Class OscMessage
java.lang.Object
heronarts.lx.osc.OscPacket
heronarts.lx.osc.OscMessage
- All Implemented Interfaces:
Iterable<OscArgument>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(double argument) add
(float argument) add
(int argument) add
(OscArgument argument) get()
get
(int index) getBlob()
getBlob
(int index) boolean
boolean
getBoolean
(int index) double
double
getDouble
(int index) float
getFloat()
float
getFloat
(int index) int
getInt()
int
getInt
(int index) getString
(int index) boolean
iterator()
boolean
static OscMessage
parse
(InetAddress source, byte[] data, int offset, int len) setAddressPattern
(OscString addressPattern) setAddressPattern
(String addressPattern) int
size()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
nanoTime
public final long nanoTime
-
-
Constructor Details
-
OscMessage
public OscMessage() -
OscMessage
-
-
Method Details
-
clearArguments
-
add
-
add
-
add
-
add
-
add
-
size
public int size() -
get
-
get
-
getInt
public int getInt() -
getInt
public int getInt(int index) -
getBoolean
public boolean getBoolean() -
getBoolean
public boolean getBoolean(int index) -
getFloat
public float getFloat() -
getFloat
public float getFloat(int index) -
getDouble
public double getDouble() -
getDouble
public double getDouble(int index) -
getString
-
getString
-
getBlob
-
getBlob
-
resetCursor
-
setAddressPattern
-
setAddressPattern
-
getSource
-
getAddressPattern
-
getTypeTag
-
matches
-
hasPrefix
-
parse
public static OscMessage parse(InetAddress source, byte[] data, int offset, int len) throws OscException - Throws:
OscException
-
iterator
- Specified by:
iterator
in interfaceIterable<OscArgument>
-
toString
-