public class ResourceDiscovery extends Exchange
| Modifier | Constructor and Description |
|---|---|
protected |
ResourceDiscovery() |
protected |
ResourceDiscovery(int resourceType,
String respondTo) |
protected |
ResourceDiscovery(int conditionFlag,
String description,
ResourceMetrics resourceMetrics,
String respondTo) |
| Modifier and Type | Method and Description |
|---|---|
ResourceMetrics |
getResourceMetrics() |
int |
getResourceType() |
boolean |
isValidExchangeSubType()
Checks to see if the exchange sub-type in the reconstructed exchange is a
valid one.
|
void |
marshallExchangeSpecificElements(ds.funnel.data.format.FormatWriter mFormat)
This method is utilized by the derived classes to marshall (or serialize)
elements that are specific to the derived class.
|
void |
unmarshallExchangeSpecificElements(ds.funnel.data.format.FormatReader mFormat)
This method is utilized by the derived classes to reconstruct elements
that are specific to the derived class.
|
getBytes, getConditionFlag, getDescription, getExchangeSubType, getExchangeType, getIdentifier, getRespondTo, getTimestamp, isRequest, isResponse, reconstruct, setConditionFlag, setDescription, setExchangeSubType, setExchangeType, setIdentifier, setRequest, setRespondTo, setResponse, setTimestampprotected ResourceDiscovery()
protected ResourceDiscovery(int resourceType,
String respondTo)
protected ResourceDiscovery(int conditionFlag,
String description,
ResourceMetrics resourceMetrics,
String respondTo)
public int getResourceType()
public ResourceMetrics getResourceMetrics()
public boolean isValidExchangeSubType()
ExchangeisValidExchangeSubType in class Exchangetrue If the exchange subType is a valid one, or
false otherwise.public void marshallExchangeSpecificElements(ds.funnel.data.format.FormatWriter mFormat)
throws ds.funnel.data.format.FormatException
ExchangemarshallExchangeSpecificElements in class ExchangemFormat - The buffer formatter to write to.ds.funnel.data.format.FormatExceptionpublic void unmarshallExchangeSpecificElements(ds.funnel.data.format.FormatReader mFormat)
throws ds.funnel.data.format.FormatException
ExchangeunmarshallExchangeSpecificElements in class ExchangemFormat - The buffer formatter to read from.ds.funnel.data.format.FormatExceptionCopyright © 2015. All rights reserved.