Interface IMessageListener<T>

Type Parameters:
T - the type of payload this message listener is expecting to receive
All Known Subinterfaces:
IRetryAwareMessageListener<T>
All Known Implementing Classes:
MultiplexingListener

public interface IMessageListener<T>
A message listener processes messages received by a IChannelConsumer
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    handleMessage(ca.uhn.fhir.rest.server.messaging.IMessage<T> theMessage)
    This method is called whenever a new message is received.
  • Method Details

    • handleMessage

      void handleMessage(@Nonnull ca.uhn.fhir.rest.server.messaging.IMessage<T> theMessage)
      This method is called whenever a new message is received.
      Parameters:
      theMessage - the message that was received
    • getPayloadType

      Returns:
      the type of payload this message listener is expecting to receive