Class BoxEventsManager

java.lang.Object
org.apache.camel.component.box.api.BoxEventsManager

public class BoxEventsManager extends Object
Provides operations to manage Box events.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoxEventsManager(com.box.sdk.BoxAPIConnection boxConnection)
    Create events manager to manage the events of Box connection's authenticated user.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    listen(com.box.sdk.EventListener listener, Long startingPosition)
    Create an event stream with optional starting initial position and add listener that will be notified when an event is received.
    void
     

    Methods inherited from class java.lang.Object

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

    • BoxEventsManager

      public BoxEventsManager(com.box.sdk.BoxAPIConnection boxConnection)
      Create events manager to manage the events of Box connection's authenticated user.
      Parameters:
      boxConnection - - Box connection to authenticated user account.
  • Method Details

    • listen

      public void listen(com.box.sdk.EventListener listener, Long startingPosition)
      Create an event stream with optional starting initial position and add listener that will be notified when an event is received.
      Parameters:
      listener - - the listener to add to event stream.
      startingPosition - - the starting position of the event stream.
    • stopListening

      public void stopListening()