Class HvlNotificationStompWsMessage

java.lang.Object
tr.com.havelsan.javarch.notification.stomp.ws.cloud.common.model.HvlNotificationStompWsMessage
All Implemented Interfaces:
Serializable

public class HvlNotificationStompWsMessage extends Object implements Serializable
A data transfer object is used for notification stomp web socket operations.
See Also:
  • Constructor Details

    • HvlNotificationStompWsMessage

      public HvlNotificationStompWsMessage()
      Instantiates a new HvlNotificationStompWsMessage.
    • HvlNotificationStompWsMessage

      public HvlNotificationStompWsMessage(Object payload, @NotNull @NotNull String... targetList)
      Instantiates a new HvlNotificationStompWsMessage.
      Parameters:
      payload - the payload
      targetList - the target list
    • HvlNotificationStompWsMessage

      public HvlNotificationStompWsMessage(Object payload, @NotNull @NotNull List<String> targetList)
      Instantiates a new HvlNotificationStompWsMessage.
      Parameters:
      payload - the payload
      targetList - the target list
  • Method Details

    • getTargetList

      public List<String> getTargetList()
      Gets target list.
      Returns:
      the target list
    • setTargetList

      public void setTargetList(List<String> targetList)
      Sets target list.
      Parameters:
      targetList - the target list
    • getPayload

      public Object getPayload()
      Gets payload.
      Returns:
      the payload
    • setPayload

      public void setPayload(Object payload)
      Sets payload.
      Parameters:
      payload - the payload