### *** This interface provides Binary Compatibility only, not Source Compatibility ***

Package com.sas.services.events.broker

# Interface ListenerInterface

All Superinterfaces:
  `Remote`

@SASScope("ALL") @BinaryCompatibilityOnly public interface ListenerInterface extends Remote
Deprecated.
As of release 9.3, replaced by SAS Midtier Eventing Architecture.
Interface to handle events that are forwarded by a platform `Event Broker service`.

## Usage

This interface must be implemented by dynamic listener applications that wish to register themselves with a platform Event Broker service. via the `ListenerRegisterInterface`.

Since:
  1.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `handleEvent(MessageInterface message, ResponseHandlerInterface responseHandler)`
  Deprecated.
  Listeners handle events that are sent from an platform Event Broker service.

- ## Method Details

  - ### handleEvent

    void handleEvent(MessageInterface message, ResponseHandlerInterface responseHandler) throws RemoteException
    Deprecated.
    Listeners handle events that are sent from an platform Event Broker service. The incoming event is presented to the listener as a `message`.
    Parameters:
      `message` - Message forwarded from a platform Event Broker service.
      `responseHandler` - Interface used to send responses back to the broker's response handler.
    Throws:
      `RemoteException` - if a network anomaly occurs.
    See Also:
      - `MessageInterface`
      - `ResponseHandlerInterface`