Class SubscriptionErrorEventArgs

    • Constructor Detail

      • SubscriptionErrorEventArgs

        protected SubscriptionErrorEventArgs​(StreamingSubscription subscription,
                                             Exception exception)
        Initializes a new instance of the SubscriptionErrorEventArgs class.
        Parameters:
        subscription - The subscription for which an error occurred. If subscription is null, the error applies to the entire connection.
        exception - The exception representing the error. If exception is null, the connection was cleanly closed by the server.
    • Method Detail

      • getSubscription

        public StreamingSubscription getSubscription()
        Gets the subscription for which an error occurred. If Subscription is null, the error applies to the entire connection.
      • setSubscription

        protected void setSubscription​(StreamingSubscription value)
        Sets the subscription for which an error occurred. If Subscription is null, the error applies to the entire connection.
      • getException

        public Exception getException()
        Gets the exception representing the error. If Exception is null, the connection was cleanly closed by the server.
      • setException

        protected void setException​(Exception value)
        Sets the exception representing the error. If Exception is null, the connection was cleanly closed by the server.