A B C E F G H I J M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort(Throwable) - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SupervisedStream
-
Abort the supervised stream with an error.
- ack(StreamingType, boolean, CharSequence) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Create a sessioned Jsonifiable for a stream acknowledgement.
- ACTOR_NAME - Static variable in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
-
The name of this Actor.
B
- build() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming.StartStreamingBuilder
-
Builds an instance of StartStreaming with the properties of this builder.
C
- Connect - Class in org.eclipse.ditto.services.gateway.streaming
-
Message to be sent in order to establish a new "streaming" connection via
StreamingActor. - Connect(SourceQueueWithComplete<SessionedJsonifiable>, CharSequence, String, JsonSchemaVersion, Instant, Set<AcknowledgementLabel>) - Constructor for class org.eclipse.ditto.services.gateway.streaming.Connect
-
Constructs a new
Connectinstance. - createReceive() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
E
- equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.IncomingSignal
- equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.Jwt
- equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.StopStreaming
- equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
- error(DittoRuntimeException) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Create a sessioned Jsonifiable for an error.
F
- fromJson(JsonObject, DittoHeaders) - Static method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
-
Creates a new
StreamingAckmessage from a JSON object.
G
- getAuthorizationContext() - Method in class org.eclipse.ditto.services.gateway.streaming.RefreshSession
- getAuthorizationContext() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- getBuilder(StreamingType, CharSequence, AuthorizationContext) - Static method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
-
Returns a mutable builder with a fluent API for creating an instance of StartStreaming.
- getConfig() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
- getConnectionCorrelationId() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- getConnectionCorrelationId() - Method in class org.eclipse.ditto.services.gateway.streaming.Jwt
-
Returns the correlation ID of the connection that received the token.
- getConnectionCorrelationId() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- getConnectionCorrelationId() - Method in class org.eclipse.ditto.services.gateway.streaming.StopStreaming
- getCorrelationId() - Method in class org.eclipse.ditto.services.gateway.streaming.RefreshSession
- getCorrelationId() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- getDeclaredAcknowledgementLabels() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- getDittoHeaders() - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Retrieve the Ditto headers of the Jsonifiable.
- getEventAndResponsePublisher() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- getExtraFields() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingSession
- getExtraFields() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
-
Returns the selector for the extra fields and their values to enrich outgoing signals with.
- getFilter() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- getInstance() - Static method in class org.eclipse.ditto.services.gateway.streaming.InvalidJwt
-
Returns a new instance of
InvalidJwt. - getJsonifiable() - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Retrieve the Jsonifiable.
- getJsonSchemaVersion() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- getNamespaces() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingSession
- getNamespaces() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- getSession() - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Retrieve the streaming session if this is a signal and has an associated session.
- getSessionExpirationTime() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- getSessionTimeout() - Method in class org.eclipse.ditto.services.gateway.streaming.RefreshSession
- getSignal() - Method in class org.eclipse.ditto.services.gateway.streaming.IncomingSignal
-
Extract the signal.
- getSourceQueue() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.SupervisedStream.WithQueue
- getStreamingSessionActor() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingSession
- getStreamingType() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- getStreamingType() - Method in class org.eclipse.ditto.services.gateway.streaming.StopStreaming
- getStreamingType() - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
- getSupervisedStream() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.SupervisedStream.WithQueue
- getType() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
H
- hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.IncomingSignal
- hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.Jwt
- hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.StopStreaming
- hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
I
- IncomingSignal - Class in org.eclipse.ditto.services.gateway.streaming
-
Envelope of a signal to mark it as incoming for
StreamingSessionActor. - InvalidJwt - Class in org.eclipse.ditto.services.gateway.streaming
-
Simple event which signals that a sent JWT was invalid.
- isSubscribed() - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
J
- Jwt - Class in org.eclipse.ditto.services.gateway.streaming
-
Simple event which holds a JWT in string format.
M
- matchesFilter(Thing) - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingSession
-
Test whether a thing matches the filter defined in this session.
- mergeThingWithExtra(Signal<?>, JsonObject) - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingSession
-
Merge any thing information in a signal event together with extra fields from signal enrichment.
N
- newInstance(String, CharSequence) - Static method in class org.eclipse.ditto.services.gateway.streaming.Jwt
-
Returns a new instance of
Jwt.
O
- of(Signal<?>) - Static method in class org.eclipse.ditto.services.gateway.streaming.IncomingSignal
-
Wrap a signal and mark it as incoming.
- org.eclipse.ditto.services.gateway.streaming - package org.eclipse.ditto.services.gateway.streaming
- org.eclipse.ditto.services.gateway.streaming.actors - package org.eclipse.ditto.services.gateway.streaming.actors
-
Actors for streaming of websocket messages.
P
- props(DittoProtocolSub, ActorRef, JwtAuthenticationFactory, StreamingConfig, HeaderTranslator, ActorRef, ActorRef) - Static method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
-
Creates Akka configuration object Props for this StreamingActor.
R
- RefreshSession - Class in org.eclipse.ditto.services.gateway.streaming
-
Simple event which signals that a websocket session should be refreshed.
- RefreshSession(String, Instant, AuthorizationContext) - Constructor for class org.eclipse.ditto.services.gateway.streaming.RefreshSession
- response(CommandResponse<?>) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Create a sessioned Jsonifiable for a response.
- RETRIEVE_WEBSOCKET_CONFIG - org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor.Control
-
Request the current WebSocket config.
- retrieveExtraFields(SignalEnrichmentFacade) - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Retrieve extra fields for the Jsonifiable according to the session information.
S
- SCRAPE_STREAM_COUNTER - org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor.Control
-
Tell streaming actor to set the stream counter to its current number of child actors.
- SessionedJsonifiable - Interface in org.eclipse.ditto.services.gateway.streaming.actors
-
Jsonifiable with information from the streaming session.
- setConfig(Config) - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
- shutdown() - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SupervisedStream
-
Shutdown the supervised stream.
- signal(Signal<?>, DittoHeaders, StreamingSession) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Create a sessioned Jsonifiable for a signal.
- sourceQueue(int) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SupervisedStream
-
Create a source queue that materializes an additional value for supervision.
- StartStreaming - Class in org.eclipse.ditto.services.gateway.streaming
-
Message indicating a demand to receive entities of a specified
StreamingTypevia a "streaming" connection. - StartStreaming.StartStreamingBuilder - Class in org.eclipse.ditto.services.gateway.streaming
-
A mutable builder with a fluent API for creating an instance of StartStreaming.
- StopStreaming - Class in org.eclipse.ditto.services.gateway.streaming
-
Message indicating a demand to receive entities of a specified
StreamingTypevia a "streaming" connection. - StopStreaming(StreamingType, CharSequence) - Constructor for class org.eclipse.ditto.services.gateway.streaming.StopStreaming
-
Constructs a new
StopStreamingobject. - StreamControlMessage - Interface in org.eclipse.ditto.services.gateway.streaming
-
Supertype of messages that control websocket streaming.
- StreamingAck - Class in org.eclipse.ditto.services.gateway.streaming
-
Send for acknowledging that a subscription in the cluster for a
StreamingTypewas either subscribed to (StreamingAck.subscribedistrue) or unsubscribed from (StreamingAck.subscribedisfalse). - StreamingAck(StreamingType, boolean) - Constructor for class org.eclipse.ditto.services.gateway.streaming.StreamingAck
-
Constructs a new acknowledge for when a subscription in the cluster was added/removed.
- StreamingActor - Class in org.eclipse.ditto.services.gateway.streaming.actors
-
Parent Actor for
StreamingSessionActors delegating most of the messages to a specific session. - StreamingActor.Control - Enum in org.eclipse.ditto.services.gateway.streaming.actors
-
Control messages to send in the same actor system.
- StreamingSession - Class in org.eclipse.ditto.services.gateway.streaming.actors
-
Store of the needed information about a streaming session of a single streaming type.
- StreamSupervisor - Interface in org.eclipse.ditto.services.gateway.streaming.actors
-
Provides the means to supervise a materialized stream.
- subscription(SubscriptionEvent<?>) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
-
Create a sessioned Jsonifiable for a
SubscriptionEventas response. - supervise(SupervisedStream, CharSequence, DittoHeaders) - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.StreamSupervisor
-
Supervises the given WebSocket actor.
- SupervisedStream - Interface in org.eclipse.ditto.services.gateway.streaming.actors
-
Materialized value of a source queue for supervision of the stream for which the queue is a part.
- SupervisedStream.WithQueue - Class in org.eclipse.ditto.services.gateway.streaming.actors
-
Materialized value containing a
SourceQueueand aSupervisedSource. - supervisorStrategy() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
T
- toJson() - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
- toJson(JsonSchemaVersion, Predicate<JsonField>) - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.IncomingSignal
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.InvalidJwt
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.Jwt
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.StopStreaming
- toString() - Method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
V
- valueOf(String) - Static method in enum org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor.Control
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor.Control
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- whenComplete(Consumer<? super Throwable>) - Method in interface org.eclipse.ditto.services.gateway.streaming.actors.SupervisedStream
-
Add a listener for stream termination.
- withCorrelationId(CharSequence) - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming.StartStreamingBuilder
-
Determines the correlation-id of the request.
- withExtraFields(JsonFieldSelector) - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming.StartStreamingBuilder
-
Determines the extra fields and their values to be additionally set to outgoing signals.
- withFilter(CharSequence) - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming.StartStreamingBuilder
-
Sets the filter to be applied to events.
- withNamespaces(Collection<String>) - Method in class org.eclipse.ditto.services.gateway.streaming.StartStreaming.StartStreamingBuilder
-
Sets the namespaces for which the filter should be applied.
All Classes All Packages