public class StreamingSubscription extends Subscription
| Constructor and Description |
|---|
StreamingSubscription()
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(boolean subscribeToAllFolders,
EventType eventType)
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(boolean subscribeToAllFolders,
java.util.List<EventType> eventTypes)
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(FolderId folderId,
EventType eventType)
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(FolderId folderId,
java.util.List<EventType> eventTypes)
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(java.util.List<FolderId> folders,
java.util.List<EventType> eventTypes)
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(StandardFolder standardFolder,
EventType eventType)
Initializes a new instance of the StreamingSubscription class.
|
StreamingSubscription(StandardFolder standardFolder,
java.util.List<EventType> eventTypes)
Initializes a new instance of the StreamingSubscription class.
|
getEventTypes, getFolders, getWatermark, isSubscribeToAllFolders, setSubscribeToAllFolders, setWatermarkpublic StreamingSubscription()
public StreamingSubscription(boolean subscribeToAllFolders,
EventType eventType)
subscribeToAllFolders - the subscribe to all folderseventType - the event typepublic StreamingSubscription(boolean subscribeToAllFolders,
java.util.List<EventType> eventTypes)
subscribeToAllFolders - the subscribe to all folderseventTypes - the event typespublic StreamingSubscription(FolderId folderId, EventType eventType)
folderId - the folder ideventType - the event typepublic StreamingSubscription(FolderId folderId, java.util.List<EventType> eventTypes)
folderId - the folder ideventTypes - the event typespublic StreamingSubscription(StandardFolder standardFolder, EventType eventType)
standardFolder - the standard foldereventType - the event typepublic StreamingSubscription(StandardFolder standardFolder, java.util.List<EventType> eventTypes)
standardFolder - the standard foldereventTypes - the event types