org.mbari.siam.distributed
Class DevicePacketSet
java.lang.Object
org.mbari.siam.distributed.DevicePacketSet
- All Implemented Interfaces:
- java.io.Serializable
public class DevicePacketSet
- extends java.lang.Object
- implements java.io.Serializable
A DevicePacketSet contains a vector of DevicePacket objects, and indicates
whether the vector is a "complete" set of packets. For example, a set of
packets may have been requested by a client which specified retrieval
criteria, such as a timestamp range. However, the returned set might be
smaller than the requested set, e.g. if the complete set would exhaust node
memory, or if the communication link bandwidth is insufficient to return the
entire set.
- See Also:
- Serialized Form
|
Field Summary |
protected boolean |
_complete
|
java.util.Vector |
_packets
Vector contains requested packets. |
|
Constructor Summary |
DevicePacketSet(java.util.Vector packets,
boolean complete)
Create a DevicePacketSet with the specified packet vector, and indicate
whether the set is complete. |
|
Method Summary |
boolean |
complete()
Return true if this DevicePacketSet contains all packets requested. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_complete
protected boolean _complete
_packets
public java.util.Vector _packets
- Vector contains requested packets.
DevicePacketSet
public DevicePacketSet(java.util.Vector packets,
boolean complete)
- Create a DevicePacketSet with the specified packet vector, and indicate
whether the set is complete.
complete
public boolean complete()
- Return true if this DevicePacketSet contains all packets requested.
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.