|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.illposed.osc.OSCPacket
com.illposed.osc.OSCBundle
public class OSCBundle
The Class OSCBundle.
Field Summary | |
---|---|
static java.math.BigInteger |
SECONDS_FROM_1900_to_1970
The Constant 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)
Instantiates a new OSC bundle. |
|
OSCBundle(OSCPacket[] newPackets,
java.util.Date newTimestamp)
Instantiates a new OSC bundle. |
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
- the timestamppublic OSCBundle(OSCPacket[] newPackets)
newPackets
- Array of OSCPackets to initialize this object withpublic OSCBundle(OSCPacket[] newPackets, java.util.Date newTimestamp)
newPackets
- OscPacket[]newTimestamp
- the new timestampMethod Detail |
---|
public void addPacket(OSCPacket packet)
packet
- the packetpublic OSCPacket[] getPackets()
public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp
- the new timestamp
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |