public final class RemoveTopic extends Object implements OnlineCommand, OfflineCommand
NOOPNOOP| Constructor and Description |
|---|
RemoveTopic(String topicName)
Removes a topic from the default messaging server.
|
RemoveTopic(String topicName,
String serverName)
Removes a topic from the specified messaging server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(OfflineCommandContext ctx) |
void |
apply(OnlineCommandContext ctx) |
String |
toString() |
public RemoveTopic(String topicName)
public void apply(OnlineCommandContext ctx) throws IOException, CommandFailedException
apply in interface OnlineCommandIOExceptionCommandFailedExceptionpublic void apply(OfflineCommandContext ctx) throws CommandFailedException
apply in interface OfflineCommandCommandFailedExceptionpublic String toString()
toString in interface OfflineCommandtoString in interface OnlineCommandtoString in class ObjectCopyright © 2021. All rights reserved.