Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

Exchange.configureNotificationsUsingPush

public ExchangeNotificationHandler configureNotificationsUsingPush(String pushServerUrl)

Configures notification events to be pushed from the Exchange server to the specified URL. The URL has to be a valid HTTP URL and accept Exchange requests. When events are pushed, the application serving the specified URL should use the returned handler object to dispatch the events to the registered listeners.

This method is only available in the Professional edition of the library.

Parameters:
pushServerUrl   the push server URL

public void configureNotificationsUsingPush(int portNumber, String pushServerHostname, boolean useHttps)

Configures notification events to be pushed from the Exchange server to an internal HTTP server. The HTTP server will be automatically started and will accept connections on the specified port number. When events are pushed from Exchange to the HTTP server, registered listeners will be notified.

This method is only available in the Professional edition of the library.

Parameters:
portNumber   the TCP port number used to start the local HTTP server.
pushServerHostname   the hostname or IP address of this local server that Exchange will send notifications to.
useHttps   if true, a secure HTTPS connection will be used, otherwise a plain HTTP will be used. Note that notifications do not contain sensitive data (only a numeric ID is transmitted), so using a secure HTTPS channel is not necessary.

public void configureNotificationsUsingPush(int portNumber, String pushServerHostname)

Configures notification events to be pushed from the Exchange server to an internal HTTP server. The HTTP server will be automatically started and will accept connections on the specified port number. When events are pushed from Exchange to the HTTP server, registered listeners will be notified.

This method is only available in the Professional edition of the library.

Parameters:
portNumber   the TCP port number used to start the local HTTP server.
pushServerHostname   the hostname or IP address of this local server that Exchange will send notifications to.

public void configureNotificationsUsingPush(int portNumber)

Configures notification events to be pushed from the Exchange server to an internal HTTP server. The HTTP server will be automatically started and will accept connections on the specified port number. When events are pushed from Exchange to the HTTP server, registered listeners will be notified.

This method is only available in the Professional edition of the library.

Parameters:
portNumber   the TCP port number used to start the local HTTP server.

Community comments



Powered by JavaDocPlus