java.lang.Object
io.lettuce.core.pubsub.api.reactive.ChannelMessage<K,V>
public class ChannelMessage<K,V> extends Object
Message payload for a subscription to a channel.
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description ChannelMessage(K channel, V message) -
Method Summary
Modifier and Type Method Description KgetChannel()VgetMessage()
-
Constructor Details
-
ChannelMessage
- Parameters:
channel- the channelmessage- the message
-
-
Method Details
-
getChannel
- Returns:
- the channel
-
getMessage
- Returns:
- the message
-