public enum BroadcasterService extends Enum<BroadcasterService>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(eu.toop.edm.EDMErrorResponse response) |
void |
broadcast(eu.toop.edm.EDMResponse response) |
void |
broadcast(EDMResponseWithAttachment responseWithAttachment) |
com.vaadin.flow.shared.Registration |
registerErrorResponse(Consumer<eu.toop.edm.EDMErrorResponse> listener) |
com.vaadin.flow.shared.Registration |
registerResponse(Consumer<eu.toop.edm.EDMResponse> listener) |
com.vaadin.flow.shared.Registration |
registerResponseWithAttachment(Consumer<EDMResponseWithAttachment> listener) |
static BroadcasterService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BroadcasterService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BroadcasterService INSTANCE
public static BroadcasterService[] values()
for (BroadcasterService c : BroadcasterService.values()) System.out.println(c);
public static BroadcasterService valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.vaadin.flow.shared.Registration registerResponse(Consumer<eu.toop.edm.EDMResponse> listener)
public com.vaadin.flow.shared.Registration registerErrorResponse(Consumer<eu.toop.edm.EDMErrorResponse> listener)
public com.vaadin.flow.shared.Registration registerResponseWithAttachment(Consumer<EDMResponseWithAttachment> listener)
public void broadcast(eu.toop.edm.EDMResponse response)
public void broadcast(eu.toop.edm.EDMErrorResponse response)
public void broadcast(EDMResponseWithAttachment responseWithAttachment)
Copyright © 2020–2021 toop.eu. All rights reserved.