|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.DevicePacket
org.mbari.siam.distributed.MetadataPacket
public class MetadataPacket
MetadataPacket contains information relating to "state" of the generating device.
| Field Summary | |
|---|---|
static int |
AUTO_GENERATED
Indicates that packet was generated autonomously (i.e. |
static java.lang.String |
DEVICE_INFO_CLOSE_TAG
|
static java.lang.String |
DEVICE_INFO_TAG
Tags delimiting device status in payload. |
static java.lang.String |
INSTRUMENT_DOC_CLOSE_TAG
|
static java.lang.String |
INSTRUMENT_DOC_TAG
Tags delimiting instrument document in payload. |
static java.lang.String |
SERVICE_ATTR_CLOSE_TAG
|
static java.lang.String |
SERVICE_ATTR_TAG
Tags delimiting service attributes in payload. |
static java.lang.String |
SERVICE_PROP_CLOSE_TAG
|
static java.lang.String |
SERVICE_PROP_TAG
Tags delimiting service properties document in payload. |
| Fields inherited from class org.mbari.siam.distributed.DevicePacket |
|---|
ALL_TYPES, DEVICEMESSAGE_FLAG, HEADER_BYTES, METADATA_FLAG, SENSORDATA_FLAG, SUMMARY_FLAG |
| Constructor Summary | |
|---|---|
MetadataPacket()
|
|
MetadataPacket(long sourceID,
byte[] cause,
byte[] bytes)
|
|
| Method Summary | |
|---|---|
byte[] |
cause()
Indication of what generated the MetadataPacket |
byte[] |
getBytes()
Get status bytes. |
java.lang.String |
toString()
Return String representation. |
| Methods inherited from class org.mbari.siam.distributed.DevicePacket |
|---|
convertToAscii, getParentId, getRecordType, isPrintable, metadataRef, sequenceNo, setMetadataRef, setParentId, setRecordType, setSequenceNo, setSystemTime, sourceID, systemTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SERVICE_ATTR_TAG
public static final java.lang.String SERVICE_ATTR_CLOSE_TAG
public static final java.lang.String DEVICE_INFO_TAG
public static final java.lang.String DEVICE_INFO_CLOSE_TAG
public static final java.lang.String INSTRUMENT_DOC_TAG
public static final java.lang.String INSTRUMENT_DOC_CLOSE_TAG
public static final java.lang.String SERVICE_PROP_TAG
public static final java.lang.String SERVICE_PROP_CLOSE_TAG
public static final int AUTO_GENERATED
| Constructor Detail |
|---|
public MetadataPacket()
public MetadataPacket(long sourceID,
byte[] cause,
byte[] bytes)
sourceID - unique identifier of source devicecause - reason packet was generatedbytes - data buffer| Method Detail |
|---|
public byte[] cause()
public byte[] getBytes()
public java.lang.String toString()
toString in class DevicePacket
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||