eu.reservoir.monitoring.distribution
Interface Receiving

All Known Subinterfaces:
Interacter
All Known Implementing Classes:
AbstractMulticastDataPlaneConsumer, AbstractUDPDataPlaneConsumer, MulticastDataPlaneConsumer, MulticastDataPlaneConsumerNoNames, MulticastDataPlaneConsumerWithNames, UDPDataPlaneConsumer, UDPDataPlaneConsumerNoNames, UDPDataPlaneConsumerWithNames

public interface Receiving

An interface for distribution components that need to do receiving from the transport.


Method Summary
 void error(java.lang.Exception e)
          This method is called just after there has been an error in received from some underlying transport.
 void received(java.io.ByteArrayInputStream bis, MetaData metaData)
          This method is called just after a message has been received from some underlying transport at a particular multicast address.
 

Method Detail

received

void received(java.io.ByteArrayInputStream bis,
              MetaData metaData)
              throws java.io.IOException,
                     TypeException
This method is called just after a message has been received from some underlying transport at a particular multicast address.

Throws:
java.io.IOException
TypeException

error

void error(java.lang.Exception e)
This method is called just after there has been an error in received from some underlying transport. This passes the exception into the Receiving object.



RESERVOIR Monitoring 0.6.4