Class Stream.Default

java.lang.Object
com.pushtechnology.diffusion.client.callbacks.Callback.Default
com.pushtechnology.diffusion.client.callbacks.Stream.Default
All Implemented Interfaces:
Callback, Stream
Direct Known Subclasses:
ClientControl.QueueEventStream.Default, ClientControl.SessionEventStream.Default, ClientControl.SessionPropertiesStream.Default, Messaging.FilteredRequestCallback.Default, TopicControl.MissingTopicNotificationStream.Default, TopicNotifications.TopicNotificationListener.Default, Topics.SubscriberStream.Default
Enclosing interface:
Stream

public abstract static class Stream.Default extends Callback.Default implements Stream
Abstract default callback.

This simply logs onClose calls at 'debug' level. This method may be overridden to provide more specific processing.

  • Constructor Details

    • Default

      public Default()
  • Method Details

    • onClose

      public void onClose()
      Description copied from interface: Stream
      Notification that a stream context was closed normally.

      No further calls will be made for the stream context.

      Specified by:
      onClose in interface Stream