org.apache.jmeter.samplers

## Interface SampleSender

- All Known Implementing Classes:
    AbstractSampleSender, AsynchSampleSender, BatchSampleSender, DataStrippingSampleSender, DiskStoreSampleSender, HoldSampleSender, StandardSampleSender, StatisticalSampleSender

      public interface SampleSender

  This interface is used to define the methods that need to be intercepted by the SampleSender wrapper classes processed by the RemoteListenerWrapper.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `sampleOccurred(SampleEvent e)` A sample occurred.
    `void` | `testEnded()` The test ended (probably not used; client-server mode needs a host)
    `void` | `testEnded(java.lang.String host)` The test ended.

- - ### Method Detail

    - #### testEnded

          void testEnded()

      The test ended (probably not used; client-server mode needs a host)

    - #### testEnded

          void testEnded(java.lang.String host)

      The test ended. This will be called from the engine thread.
      Parameters:
        `host` - the host that the test ended on.

    - #### sampleOccurred

          void sampleOccurred(SampleEvent e)

      A sample occurred. This method will be called from the sampler thread.
      Parameters:
        `e` - a Sample Event

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.