public class ResourceDiscovery extends Exchange
| 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(FormatWriter mFormat)
This method is utilized by the derived classes to marshall (or serialize)
elements that are specific to the derived class.
|
void |
unmarshallExchangeSpecificElements(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, setExchangeType, setRespondTo, setTimestamppublic 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(FormatWriter mFormat) throws FormatException
ExchangemarshallExchangeSpecificElements in class ExchangemFormat - The buffer formatter to write to.FormatExceptionpublic void unmarshallExchangeSpecificElements(FormatReader mFormat) throws FormatException
ExchangeunmarshallExchangeSpecificElements in class ExchangemFormat - The buffer formatter to read from.FormatException