public class ROIMessage extends ImmutableMessage
Modifier and Type | Field and Description |
---|---|
protected ROI |
ROI
Payload
|
metadata
Constructor and Description |
---|
ROIMessage()
Creates a new empty message
|
ROIMessage(ROI ROI,
java.lang.String metadata)
Creates a new ROIMessage
|
ROIMessage(java.lang.String metadata)
Creates a new message with no ROI
|
Modifier and Type | Method and Description |
---|---|
ROI |
getROI()
Retrieves this message's payload
|
java.lang.String |
toString() |
genMetadata, genMetadata, genMetadataEntry, getMetadata, getMetadata
protected final ROI ROI
public ROIMessage(ROI ROI, java.lang.String metadata)
ROI
- Region Of Interest payloadmetadata
- metadatapublic ROIMessage()
public ROIMessage(java.lang.String metadata)
metadata
- metadatapublic ROI getROI()
public java.lang.String toString()
toString
in class java.lang.Object