cdac.medinfo.sdk.hl7282.hl7net.upperlayer

## Interface ISubscriptionListener

-     public interface ISubscriptionListener

  ISubscriptionListener needs to be implemented and registered with ServerSession in order to receive subscription messages sent by client/subscriber/listener.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onSubscriptionCancel(ClientSession objClientSession)` Invoked when cancel subscription message is received from remote system.
    `void` | `onSubscriptionMessageReceive(ClientSession objClientSession)` Invoked when subscription message is received from remote system.

- - ### Method Detail

    - #### onSubscriptionMessageReceive

          void onSubscriptionMessageReceive(ClientSession objClientSession)

      Invoked when subscription message is received from remote system.
      Parameters:
        `objClientSession` - - instance of ClientSession.

    - #### onSubscriptionCancel

          void onSubscriptionCancel(ClientSession objClientSession)

      Invoked when cancel subscription message is received from remote system.
      Parameters:
        `objClientSession` - - instance of ClientSession.