Package gov.usgs.earthquake.distribution
Class DebugProductSender
java.lang.Object
gov.usgs.util.DefaultConfigurable
gov.usgs.earthquake.distribution.DebugProductSender
- All Implemented Interfaces:
ProductSender,Configurable
Send products by printing them in xml format on the command line.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsendProduct(Product product) Send a product to a recipient.Methods inherited from class gov.usgs.util.DefaultConfigurable
configure, getName, setName, shutdown, startup
-
Constructor Details
-
DebugProductSender
public DebugProductSender()Constructor
-
-
Method Details
-
sendProduct
Description copied from interface:ProductSenderSend a product to a recipient.- Specified by:
sendProductin interfaceProductSender- Parameters:
product- the product to send.- Throws:
Exception- if any errors occur while sending.
-