|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.illposed.osc.OSCPacket com.illposed.osc.OSCBundle
public class OSCBundle
Field Summary | |
---|---|
static java.math.BigInteger |
SECONDS_FROM_1900_to_1970
|
Constructor Summary | |
---|---|
OSCBundle()
Create a new OSCBundle, with a timestamp of now. |
|
OSCBundle(java.util.Date timestamp)
Create an OSCBundle with the specified timestamp |
|
OSCBundle(OSCPacket[] newPackets)
|
|
OSCBundle(OSCPacket[] newPackets,
java.util.Date newTimestamp)
|
Method Summary | |
---|---|
void |
addPacket(OSCPacket packet)
Add a packet to the list of packets in this bundle |
OSCPacket[] |
getPackets()
Get the packets contained in this bundle |
java.util.Date |
getTimestamp()
Return the timestamp for this bundle |
void |
setTimestamp(java.util.Date timestamp)
Set the timestamp for this bundle |
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 |
Field Detail |
---|
public static final java.math.BigInteger SECONDS_FROM_1900_to_1970
Constructor Detail |
---|
public OSCBundle()
public OSCBundle(java.util.Date timestamp)
timestamp
- public OSCBundle(OSCPacket[] newPackets)
newPackets
- Array of OSCPackets to initialize this object withpublic OSCBundle(OSCPacket[] newPackets, java.util.Date newTimestamp)
newPackets
- OscPacket[]time
- java.lang.TimeMethod Detail |
---|
public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp
- public void addPacket(OSCPacket packet)
packet
- public OSCPacket[] getPackets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |