org.jacorb.orb.giop
Interface StatisticsProvider

All Known Implementing Classes:
LFUStatisticsProviderImpl, LRUStatisticsProviderImpl

public interface StatisticsProvider

This class is used to collect statistical data about transports. Since the nature of the data is specific to the type of the statistics, no method is provided for access to data. Instead, the accessor method is to be defined in the implementation, that works together with the SelectionStrategy.

Version:
$Id: StatisticsProvider.java,v 1.4 2003/08/15 11:04:40 andre.spiegel Exp $
Author:
Nicolas Noffke

Method Summary
 void flushed()
          The transport has been flushed.
 void messageChunkSent(int size)
          A message chunk with the given size has been sent over the associated Transport.
 void messageReceived(int size)
          A message with the given size has been received by the associated Transport.
 

Method Detail

messageChunkSent

public void messageChunkSent(int size)
A message chunk with the given size has been sent over the associated Transport.


flushed

public void flushed()
The transport has been flushed. This means that sending of a message is complete.


messageReceived

public void messageReceived(int size)
A message with the given size has been received by the associated Transport.