Interface IReactorSocket
-
- All Implemented Interfaces:
public interface IReactorSocketNetwork Socket for event/timeline updates
-
-
Method Summary
Modifier and Type Method Description abstract UnitaddListener(ReactorCallback reactorCallback)Adds a listener to event updates. abstract UnitjoinEvent(String eventId)Joins the event updates by id abstract Unitleave(Boolean destroyAfter)Leaves the socket, terminates the connections and releases resources (if leave(true)). abstract UnitjoinTimeline(JoinTimelineParam param)Joins timeline updates -
-
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)).
-
joinTimeline
abstract Unit joinTimeline(JoinTimelineParam param)
Joins timeline updates
-
-
-
-