org.addsimplicity.anicetus.io
Interface DeliveryAdapter

All Known Implementing Classes:
FileDeliveryAdapter, JMSDeliveryAdapter

public interface DeliveryAdapter

The delivery adapter interface is used to send telemetry events to the telemetry bus.

Author:
Dan Pritchett (driveawedge@yahoo.com)

Method Summary
 void sendTelemetry(GlobalInfo telemetry)
          Send the specified telemtry to the bus.
 void setExceptionHandler(ExceptionHandler handler)
          Set the exception handler that will be called if the sendTelemetry method fails for any reason.
 

Method Detail

sendTelemetry

void sendTelemetry(GlobalInfo telemetry)
Send the specified telemtry to the bus. The telemetry will be serialized per the bus requirements and sent to the bus. It is not a requirement of the interface that the telemetry has been sent before this method returns.

Parameters:
telemetry - The telemetry artifact to be sent.

setExceptionHandler

void setExceptionHandler(ExceptionHandler handler)
Set the exception handler that will be called if the sendTelemetry method fails for any reason.

Parameters:
handler - The exception handler.


Copyright © 2009 Add Simplicity. All Rights Reserved.