public final class StartStreaming extends Object
StreamingType via a "streaming" connection.| Constructor and Description |
|---|
StartStreaming(StreamingType streamingType,
String connectionCorrelationId,
org.eclipse.ditto.model.base.auth.AuthorizationContext authorizationContext,
List<String> namespaces,
String filter)
Constructs a new
StartStreaming instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.eclipse.ditto.model.base.auth.AuthorizationContext |
getAuthorizationContext() |
String |
getConnectionCorrelationId() |
Optional<String> |
getFilter() |
List<String> |
getNamespaces() |
StreamingType |
getStreamingType() |
int |
hashCode() |
String |
toString() |
public StartStreaming(StreamingType streamingType, String connectionCorrelationId, org.eclipse.ditto.model.base.auth.AuthorizationContext authorizationContext, List<String> namespaces, @Nullable String filter)
StartStreaming instance.streamingType - the type of entity to start the streaming for.connectionCorrelationId - the correlationId of the connection/session.authorizationContext - the AuthorizationContext of the connection/session.namespaces - the namespaces for which the filter should be applied - if empty, all namespaces are
considered.filter - the filter string (RQL) to apply for event filtering or null if none should be applied.public StreamingType getStreamingType()
public String getConnectionCorrelationId()
public org.eclipse.ditto.model.base.auth.AuthorizationContext getAuthorizationContext()
public List<String> getNamespaces()
Signals should be emitted to the
streampublic Optional<String> getFilter()
Copyright © 2017–2018 Eclipse Foundation. All rights reserved.