A B C E F G H I J M N O P R S T V W 
All Classes All Packages

A

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

CloseStreamExceptionally - Class in org.eclipse.ditto.services.gateway.streaming
Command for triggering the closing of a streaming connection (e.
Connect - Class in org.eclipse.ditto.services.gateway.streaming
Message to be sent in order to establish a new "streaming" connection via StreamingActor.
Connect(ActorRef, CharSequence, String, JsonSchemaVersion, Instant) - Constructor for class org.eclipse.ditto.services.gateway.streaming.Connect
Constructs a new Connect instance.
createReceive() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.EventAndResponsePublisher
 
createReceive() - Method in class org.eclipse.ditto.services.gateway.streaming.actors.StreamingActor
 

E

equals(Object) - Method in class org.eclipse.ditto.services.gateway.streaming.CloseStreamExceptionally
 
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.
EventAndResponsePublisher - Class in org.eclipse.ditto.services.gateway.streaming.actors
Actor publishing Events and CommandResponses which were sent to him applying backpressure if necessary.

F

fromJson(JsonObject, DittoHeaders) - Static method in class org.eclipse.ditto.services.gateway.streaming.StreamingAck
Creates a new StreamingAck message 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.CloseStreamExceptionally
Returns the correlation ID of the WebSocket connection to be closed.
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
 
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.
getInstance(DittoRuntimeException, CharSequence) - Static method in class org.eclipse.ditto.services.gateway.streaming.CloseStreamExceptionally
Returns an instance of CloseWebSocket.
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
 
getReason() - Method in class org.eclipse.ditto.services.gateway.streaming.CloseStreamExceptionally
Returns the reason for closing the WebSocket.
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.
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
 
getType() - Method in class org.eclipse.ditto.services.gateway.streaming.Connect
 

H

hashCode() - Method in class org.eclipse.ditto.services.gateway.streaming.CloseStreamExceptionally
 
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(int) - Static method in class org.eclipse.ditto.services.gateway.streaming.actors.EventAndResponsePublisher
Creates Akka configuration object Props for this EventAndResponsePublisher.
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
 
signal(Signal<?>, DittoHeaders, StreamingSession) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
Create a sessioned Jsonifiable for a signal.
StartStreaming - Class in org.eclipse.ditto.services.gateway.streaming
Message indicating a demand to receive entities of a specified StreamingType via 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 StreamingType via a "streaming" connection.
StopStreaming(StreamingType, CharSequence) - Constructor for class org.eclipse.ditto.services.gateway.streaming.StopStreaming
Constructs a new StopStreaming object.
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 StreamingType was either subscribed to (StreamingAck.subscribed is true) or unsubscribed from (StreamingAck.subscribed is false).
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.
subscription(SubscriptionEvent<?>) - Static method in interface org.eclipse.ditto.services.gateway.streaming.actors.SessionedJsonifiable
Create a sessioned Jsonifiable for a SubscriptionEvent as response.
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.CloseStreamExceptionally
 
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

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.
A B C E F G H I J M N O P R S T V W 
All Classes All Packages