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