Class PublishCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.PublishCommand
-
- All Implemented Interfaces:
Command
,Event
,Serializable
@CommandSpec(command="PUBLISH") public class PublishCommand extends AbstractCommand
- Since:
- 2.1.0
- Author:
- Leon Chen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
Constructor Summary
Constructors Constructor Description PublishCommand()
PublishCommand(byte[] channel, byte[] message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getChannel()
byte[]
getMessage()
void
setChannel(byte[] channel)
void
setMessage(byte[] message)
-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-