Interface IReactorSocket

  • All Implemented Interfaces:

    
    public interface IReactorSocket
    
                        

    Network Socket for event/timeline updates

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit addListener(ReactorCallback reactorCallback) Adds a listener to event updates.
      abstract Unit joinEvent(String eventId) Joins the event updates by id
      abstract Unit leave(Boolean destroyAfter) Leaves the socket, terminates the connections and releases resources (if leave(true)).
      abstract Unit joinTimeline(JoinTimelineParam param) Joins timeline updates
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • addListener

         abstract Unit addListener(ReactorCallback reactorCallback)

        Adds a listener to event updates. Those changes are only triggered after an event is joined via joinEvent

        Parameters:
        reactorCallback - a callback interface used to inform the user about event/annotation actions timeline updates
      • leave

         abstract Unit leave(Boolean destroyAfter)

        Leaves the socket, terminates the connections and releases resources (if leave(true)).