Class StopStreaming
- java.lang.Object
-
- org.eclipse.ditto.services.gateway.streaming.StopStreaming
-
- All Implemented Interfaces:
StreamControlMessage
@Immutable public final class StopStreaming extends Object implements StreamControlMessage
Message indicating a demand to receive entities of a specifiedStreamingTypevia a "streaming" connection.
-
-
Constructor Summary
Constructors Constructor Description StopStreaming(org.eclipse.ditto.services.utils.pubsub.StreamingType streamingType, CharSequence connectionCorrelationId)Constructs a newStopStreamingobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetConnectionCorrelationId()org.eclipse.ditto.services.utils.pubsub.StreamingTypegetStreamingType()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
StopStreaming
public StopStreaming(org.eclipse.ditto.services.utils.pubsub.StreamingType streamingType, CharSequence connectionCorrelationId)Constructs a newStopStreamingobject.- Parameters:
streamingType- the type of entity to start the streaming for.connectionCorrelationId- the correlation ID of the connection/session.- Throws:
NullPointerException- if any argument isnull.
-
-
Method Detail
-
getStreamingType
public org.eclipse.ditto.services.utils.pubsub.StreamingType getStreamingType()
- Returns:
- the Streaming type of what streaming to stop.
-
getConnectionCorrelationId
public String getConnectionCorrelationId()
-
-