org.mbari.siam.operations.portal
Class PacketStats
java.lang.Object
org.mbari.siam.operations.portal.PacketStats
public class PacketStats
- extends java.lang.Object
Describe Device packet retrieval statistics.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_log4j
protected static org.apache.log4j.Logger _log4j
- Log4j logger
_latestPacketTime
public long _latestPacketTime
PacketStats
public PacketStats(long latestPacketTime)
PacketStats
public PacketStats(DevicePacket packet,
boolean includeHeader)
PacketStats
public PacketStats(DevicePacket packet)
PacketStats
public PacketStats(java.lang.String record)
PacketStats
public PacketStats(java.lang.String record,
java.lang.String delimiter)
setDelimiter
public void setDelimiter(java.lang.String s)
includeHeader
public void includeHeader(boolean include)
getStatsHeader
public java.lang.String getStatsHeader()
parse
public boolean parse(java.lang.String record)
isValid
public boolean isValid()
parse
public void parse(DevicePacket packet)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getSystemTime
public long getSystemTime()
getDateString
public java.lang.String getDateString()
getSourceID
public long getSourceID()
getParentID
public long getParentID()
getRecordType
public long getRecordType()
getSequenceNo
public long getSequenceNo()
getMetadataRef
public long getMetadataRef()
getDataSize
public long getDataSize()
getHeaderSize
public int getHeaderSize()
getExportSize
public long getExportSize()
getLoggedSize
public long getLoggedSize()
getPacketSize
public long getPacketSize()
getExportSize
public long getExportSize(DevicePacket packet)
getLoggedSize
public long getLoggedSize(DevicePacket packet)
getBuffer
public byte[] getBuffer()
getDataSize
public long getDataSize(DevicePacket packet)
main
public static void main(java.lang.String[] args)
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.