public class PduStream
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected byte[] |
authorEmail
Email of person performing recording
|
protected byte[] |
longDescription
Longish description of this PDU stream
|
protected long |
pduCount
how many PDUs in this stream
|
protected java.util.List<Pdu> |
pdusInStream
variable length list of PDUs
|
protected byte[] |
personRecording
Name of person performing recording
|
protected byte[] |
shortDescription
short description of this PDU stream
|
protected long |
startTime
Start time of recording, in Unix time
|
protected long |
stopTime
stop time of recording, in Unix time
|
Constructor and Description |
---|
PduStream()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
equalsImpl(java.lang.Object obj)
Compare all fields that contribute to the state, ignoring
transient and static fields, for
this and the supplied object |
byte[] |
getAuthorEmail() |
byte[] |
getLongDescription() |
int |
getMarshalledSize() |
long |
getPduCount() |
java.util.List<Pdu> |
getPdusInStream() |
byte[] |
getPersonRecording() |
byte[] |
getShortDescription() |
long |
getStartTime() |
long |
getStopTime() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
void |
setAuthorEmail(byte[] pAuthorEmail) |
void |
setLongDescription(byte[] pLongDescription) |
void |
setPduCount(long pPduCount)
Note that setting this value will not change the marshalled value.
|
void |
setPdusInStream(java.util.List<Pdu> pPdusInStream) |
void |
setPersonRecording(byte[] pPersonRecording) |
void |
setShortDescription(byte[] pShortDescription) |
void |
setStartTime(long pStartTime) |
void |
setStopTime(long pStopTime) |
void |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
void |
unmarshal(java.io.DataInputStream dis) |
protected byte[] shortDescription
protected byte[] longDescription
protected byte[] personRecording
protected byte[] authorEmail
protected long startTime
protected long stopTime
protected long pduCount
protected java.util.List<Pdu> pdusInStream
public int getMarshalledSize()
public void setShortDescription(byte[] pShortDescription)
public byte[] getShortDescription()
public void setLongDescription(byte[] pLongDescription)
public byte[] getLongDescription()
public void setPersonRecording(byte[] pPersonRecording)
public byte[] getPersonRecording()
public void setAuthorEmail(byte[] pAuthorEmail)
public byte[] getAuthorEmail()
public void setStartTime(long pStartTime)
public long getStartTime()
public void setStopTime(long pStopTime)
public long getStopTime()
public long getPduCount()
public void setPduCount(long pPduCount)
public void setPdusInStream(java.util.List<Pdu> pPdusInStream)
public java.util.List<Pdu> getPdusInStream()
public void marshal(java.io.DataOutputStream dos)
public void unmarshal(java.io.DataInputStream dis)
public void marshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin writingjava.nio.BufferOverflowException
- if buff is too smalljava.nio.ReadOnlyBufferException
- if buff is read onlyByteBuffer
public void unmarshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin readingjava.nio.BufferUnderflowException
- if buff is too smallByteBuffer
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equalsImpl(java.lang.Object obj)
this
and the supplied objectobj
- the object to compare to