Package org.apache.synapse.commons.emulator.core

# Class AbstractProtocolEmulator

java.lang.Object
org.apache.synapse.commons.emulator.core.AbstractProtocolEmulator

Direct Known Subclasses:
  `HTTPProtocolEmulator`

public abstract class AbstractProtocolEmulator extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractProtocolEmulator(Emulator emulator)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract AbstractEmulatorContext`
  `consumer()`
  `abstract AbstractEmulatorContext`
  `producer()`
  `AbstractProtocolEmulator`
  `send()`
  `protected void`
  `setEmulatorType(EmulatorType emulatorType)`
  `void`
  `shutdown()`
  `AbstractProtocolEmulator`
  `start()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AbstractProtocolEmulator

    public AbstractProtocolEmulator(Emulator emulator)

- ## Method Details

  - ### consumer

    public abstract AbstractEmulatorContext consumer()

  - ### producer

    public abstract AbstractEmulatorContext producer()

  - ### start

    public AbstractProtocolEmulator start()

  - ### send

    public AbstractProtocolEmulator send()

  - ### shutdown

    public void shutdown()

  - ### setEmulatorType

    protected void setEmulatorType(EmulatorType emulatorType)