public static class ProductDown.SDKProductDownImpl extends Object implements ProductDown
SDKFeedMessage
implementation used to inform that a feed-based product is downProductDown.ProductDownReason, ProductDown.SDKProductDownImpl
Constructor and Description |
---|
SDKProductDownImpl(Product product,
ProductDown.ProductDownReason reason,
long timestamp)
Initializes a new instance of the
ProductDown.SDKProductDownImpl class |
Modifier and Type | Method and Description |
---|---|
Product |
getGeneratingProduct() |
byte[] |
getRawMessage() |
ProductDown.ProductDownReason |
getReason()
Gets a
ProductDown.ProductDownReason instance indicating why the ProductDown message
was dispatched |
long |
getTimestamp() |
public SDKProductDownImpl(Product product, ProductDown.ProductDownReason reason, long timestamp)
ProductDown.SDKProductDownImpl
classproduct
- A Product
member identifying the associated productreason
- a ProductDown.ProductDownReason
instance indicating why the ProductDown
message was dispatchedtimestamp
- A UTC based timestamp specifying when the message was generatedpublic Product getGeneratingProduct()
getGeneratingProduct
in interface SDKFeedMessage
public ProductDown.ProductDownReason getReason()
ProductDown.ProductDownReason
instance indicating why the ProductDown
message
was dispatchedgetReason
in interface ProductDown
ProductDown.ProductDownReason
instance indicating why the ProductDown
message was dispatchedpublic long getTimestamp()
getTimestamp
in interface SDKMessage
public byte[] getRawMessage()
getRawMessage
in interface SDKFeedMessage
Copyright © 2016–2017. All rights reserved.