Interface RemoteSampleListener

  • All Implemented Interfaces:
    java.rmi.Remote

    
    public interface RemoteSampleListener
     implements Remote
                        

    Allows notification on events occurring during the sampling process. Specifically, when sampling is started, when a specific sample is obtained, and when sampling is stopped.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • processBatch

         abstract void processBatch(List<SampleEvent> samples)

        This method is called remotely and fires a list of samples events received locally. The function is to reduce network load when using remote testing.

        Parameters:
        samples - the list of sample events to be fired locally.
      • sampleOccurred

         abstract void sampleOccurred(SampleEvent e)

        A sample has started and stopped.

        Parameters:
        e - the event with data about the completed sample
      • sampleStarted

         abstract void sampleStarted(SampleEvent e)

        A sample has started.

        Parameters:
        e - the event with data about the started sample
      • sampleStopped

         abstract void sampleStopped(SampleEvent e)

        A sample has stopped.

        Parameters:
        e - the event with data about the stopped sample