Class HvlNotificationStompWsMessage
java.lang.Object
tr.com.havelsan.javarch.notification.stomp.ws.cloud.common.model.HvlNotificationStompWsMessage
- All Implemented Interfaces:
Serializable
A data transfer object is used for notification stomp web socket operations.
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new HvlNotificationStompWsMessage.HvlNotificationStompWsMessage
(Object payload, @NotNull String... targetList) Instantiates a new HvlNotificationStompWsMessage.HvlNotificationStompWsMessage
(Object payload, @NotNull List<String> targetList) Instantiates a new HvlNotificationStompWsMessage. -
Method Summary
Modifier and TypeMethodDescriptionGets payload.Gets target list.void
setPayload
(Object payload) Sets payload.void
setTargetList
(List<String> targetList) Sets target list.
-
Constructor Details
-
HvlNotificationStompWsMessage
public HvlNotificationStompWsMessage()Instantiates a new HvlNotificationStompWsMessage. -
HvlNotificationStompWsMessage
Instantiates a new HvlNotificationStompWsMessage.- Parameters:
payload
- the payloadtargetList
- the target list
-
HvlNotificationStompWsMessage
Instantiates a new HvlNotificationStompWsMessage.- Parameters:
payload
- the payloadtargetList
- the target list
-
-
Method Details
-
getTargetList
Gets target list.- Returns:
- the target list
-
setTargetList
Sets target list.- Parameters:
targetList
- the target list
-
getPayload
Gets payload.- Returns:
- the payload
-
setPayload
Sets payload.- Parameters:
payload
- the payload
-