public class SseCommandHelper extends Object implements Runnable, AdminCommandEventBroker.AdminCommandListener
Modifier and Type | Class and Description |
---|---|
static interface |
SseCommandHelper.ActionReportProcessor
If implementation of this interface is registered then it's process()
method is used to convert ActionReport before it is transfered to the
client.
|
Modifier and Type | Method and Description |
---|---|
static org.glassfish.jersey.media.sse.EventOutput |
invokeAsync(CommandRunner.CommandInvocation commandInvocation,
SseCommandHelper.ActionReportProcessor processor) |
void |
onAdminCommandEvent(String name,
Object event) |
void |
run() |
public void onAdminCommandEvent(String name, Object event)
onAdminCommandEvent
in interface AdminCommandEventBroker.AdminCommandListener
public static org.glassfish.jersey.media.sse.EventOutput invokeAsync(CommandRunner.CommandInvocation commandInvocation, SseCommandHelper.ActionReportProcessor processor)
Copyright © 2019. All rights reserved.