public interface SynchEngine
| Modifier and Type | Method and Description |
|---|---|
void |
addSubscription(Subscription sub) |
String |
decrypt(String val) |
void |
deleteSubscription(Subscription sub) |
Subscription |
find(Subscription sub)
Find any subscription that matches this one.
|
Connector |
getConnector(String id)
Return a registered connector with the given id.
|
Set<String> |
getConnectorIds() |
ConnectorInstance |
getConnectorInstance(Subscription sub,
org.bedework.synch.wsmessages.SynchEndType end)
Gets an instance and implants it in the subscription object.
|
List<Stat> |
getStats() |
Subscription |
getSubscription(String id) |
org.bedework.util.timezones.Timezones |
getTimezones() |
org.bedework.util.calendar.XcalUtil.TzGetter |
getTzGetter() |
void |
handleNotification(Notification note) |
void |
handleNotifications(Connector.NotificationBatch<Notification> notes)
Processes a batch of notifications.
|
void |
reschedule(Subscription sub,
boolean newSub)
Reschedule a subscription for updates.
|
void |
setConnectors(Subscription sub)
When we start up a new subscription we implant a Connector in the object.
|
void |
start()
Start synch process.
|
void |
stop()
Stop synch process.
|
boolean |
subscriptionsOnly() |
void |
updateSubscription(Subscription sub) |
org.bedework.util.timezones.Timezones getTimezones()
boolean subscriptionsOnly()
void handleNotification(Notification note)
note - void setConnectors(Subscription sub) throws SynchException
sub - SynchExceptionvoid reschedule(Subscription sub, boolean newSub)
sub - the subscriptionnewSub - true for new subscriptionConnectorInstance getConnectorInstance(Subscription sub, org.bedework.synch.wsmessages.SynchEndType end) throws SynchException
sub - end - SynchExceptionvoid addSubscription(Subscription sub) throws SynchException
sub - SynchExceptionvoid deleteSubscription(Subscription sub) throws SynchException
sub - SynchExceptionvoid updateSubscription(Subscription sub) throws SynchException
sub - SynchExceptionSubscription getSubscription(String id) throws SynchException
id - SynchExceptionSubscription find(Subscription sub) throws SynchException
sub - SynchExceptionString decrypt(String val) throws SynchException
val - SynchExceptionConnector getConnector(String id)
id - void handleNotifications(Connector.NotificationBatch<Notification> notes) throws SynchException
notes - SynchExceptionorg.bedework.util.calendar.XcalUtil.TzGetter getTzGetter()
void start()
throws SynchException
SynchExceptionvoid stop()
Copyright © 2018 Bedework. All rights reserved.