Class BroadcastCommand
java.lang.Object
org.wildfly.extension.messaging.activemq.broadcast.BroadcastCommand
- All Implemented Interfaces:
Serializable,Command<Void,BroadcastReceiver, RuntimeException>
public class BroadcastCommand
extends Object
implements Command<Void,BroadcastReceiver,RuntimeException>, Serializable
A
Command that receives a broadcast.- Author:
- Paul Ferraro
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(BroadcastReceiver receiver) Execute this command with the specified context.
-
Constructor Details
-
BroadcastCommand
public BroadcastCommand(byte[] data)
-
-
Method Details
-
execute
Description copied from interface:CommandExecute this command with the specified context.- Specified by:
executein interfaceCommand<Void,BroadcastReceiver, RuntimeException> - Parameters:
receiver- the execution context- Returns:
- the result of this command
-