public class BedeworkConnector extends AbstractConnector<BedeworkConnector,BedeworkConnectorInstance,Note,BedeworkConnectorConfig>
This connector sets up inbound connection instances to provide a stream of notification messages into the notification system
The notification directory path points to a special collection which contains links to the calendar homes of accounts for which we want outbound notifications
Connector.NotificationBatch<N extends Note>callbackUri, config, debug, notifier, running, stopped| Constructor and Description |
|---|
BedeworkConnector() |
| Modifier and Type | Method and Description |
|---|---|
BedeworkConnectorInstance |
getConnectorInstance(org.bedework.notifier.db.NotifyDb db,
org.bedework.notifier.db.Subscription sub) |
NotifyRegistry.Info |
getInfo() |
NotifyDefs.NotifyKind |
getKind() |
boolean |
getTrustLastmod() |
org.bedework.notifier.cnctrs.bedework.BedeworkConnector.BedeworkNotificationBatch |
handleCallback(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
List<String> resourceUri) |
boolean |
isManager() |
boolean |
isReadOnly() |
void |
respondCallback(javax.servlet.http.HttpServletResponse resp,
Connector.NotificationBatch<Note> notifications) |
void |
start(org.bedework.notifier.db.NotifyDb db,
String callbackUri,
NotifyEngine notifier) |
void |
stop() |
org.bedework.notifier.db.Subscription |
subscribe(org.bedework.notifier.db.NotifyDb db,
Map<?,?> vals) |
org.bedework.notifier.db.Subscription |
unsubscribe(org.bedework.notifier.db.NotifyDb db,
Map<?,?> vals) |
error, error, getCallbackUri, getConnectorConfig, getConnectorName, getId, getLogger, getNotifier, getSkipList, getStatus, info, init, isFailed, isStarted, isStopped, trace, warnmay, mayList, must, mustListpublic void start(org.bedework.notifier.db.NotifyDb db, String callbackUri, NotifyEngine notifier) throws org.bedework.notifier.exception.NoteException
start in interface Connector<BedeworkConnectorInstance,Note,BedeworkConnectorConfig>start in class AbstractConnector<BedeworkConnector,BedeworkConnectorInstance,Note,BedeworkConnectorConfig>org.bedework.notifier.exception.NoteExceptionpublic NotifyRegistry.Info getInfo()
public org.bedework.notifier.db.Subscription subscribe(org.bedework.notifier.db.NotifyDb db, Map<?,?> vals) throws org.bedework.notifier.exception.NoteException
public org.bedework.notifier.db.Subscription unsubscribe(org.bedework.notifier.db.NotifyDb db, Map<?,?> vals) throws org.bedework.notifier.exception.NoteException
public boolean isManager()
public NotifyDefs.NotifyKind getKind()
public boolean isReadOnly()
public boolean getTrustLastmod()
public BedeworkConnectorInstance getConnectorInstance(org.bedework.notifier.db.NotifyDb db, org.bedework.notifier.db.Subscription sub) throws org.bedework.notifier.exception.NoteException
public org.bedework.notifier.cnctrs.bedework.BedeworkConnector.BedeworkNotificationBatch handleCallback(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, List<String> resourceUri) throws org.bedework.notifier.exception.NoteException
public void respondCallback(javax.servlet.http.HttpServletResponse resp,
Connector.NotificationBatch<Note> notifications)
throws org.bedework.notifier.exception.NoteException
public void stop()
throws org.bedework.notifier.exception.NoteException
stop in interface Connector<BedeworkConnectorInstance,Note,BedeworkConnectorConfig>stop in class AbstractConnector<BedeworkConnector,BedeworkConnectorInstance,Note,BedeworkConnectorConfig>org.bedework.notifier.exception.NoteExceptionCopyright © 2018 Bedework. All rights reserved.