Class StopStreaming

  • All Implemented Interfaces:
    StreamControlMessage

    @Immutable
    public final class StopStreaming
    extends Object
    implements StreamControlMessage
    Message indicating a demand to receive entities of a specified StreamingType via a "streaming" connection.
    • Constructor Detail

      • StopStreaming

        public StopStreaming​(org.eclipse.ditto.services.utils.pubsub.StreamingType streamingType,
                             CharSequence connectionCorrelationId)
        Constructs a new StopStreaming object.
        Parameters:
        streamingType - the type of entity to start the streaming for.
        connectionCorrelationId - the correlation ID of the connection/session.
        Throws:
        NullPointerException - if any argument is null.
    • 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()
      • equals

        public boolean equals​(@Nullable
                              Object o)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object