com.ibm.soa.parlayx21.call_notification
Class CallNotificationManagerProxy

java.lang.Object
  extended by com.ibm.soa.parlayx21.call_notification.CallNotificationManagerProxy
All Implemented Interfaces:
CallNotificationManager, java.rmi.Remote

public class CallNotificationManagerProxy
extends java.lang.Object
implements CallNotificationManager


Constructor Summary
CallNotificationManagerProxy()
           
 
Method Summary
 CallNotificationManager getCallNotificationManager()
           
 java.lang.String getEndpoint()
           
 void setEndpoint(java.lang.String endpoint)
           
 void startCallNotification(SimpleReference reference, java.lang.String[] addresses, CallEvents[] criteria)
          This operation initiates notifications to the application for a given the specified addresses.
 void stopCallNotification(java.lang.String correlator)
          The application may end a call notification using this operation.
 void useJNDI(boolean useJNDI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallNotificationManagerProxy

public CallNotificationManagerProxy()
Method Detail

useJNDI

public void useJNDI(boolean useJNDI)

getEndpoint

public java.lang.String getEndpoint()

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getCallNotificationManager

public CallNotificationManager getCallNotificationManager()

startCallNotification

public void startCallNotification(SimpleReference reference,
                                  java.lang.String[] addresses,
                                  CallEvents[] criteria)
                           throws java.rmi.RemoteException,
                                  PolicyException,
                                  ServiceException
Description copied from interface: CallNotificationManager

This operation initiates notifications to the application for a given the specified addresses. The address is an, which are Address Data items as defined in ES 202 391-1 [2].

The correlator provided in the reference must be unique for the application Web Service at the time the notification is initiated, otherwise a fault (SVC0005) will be returned to the application.

The criteria specifies the event-specific criteria used by application to define the call event(s) required. Only events that meet this criteria are notified. If the criteria parameter is not present, all call events will be notified.

Referenced Faults

ServiceException from ES 202 391-1 [2]
  * SVC0001 Service error
  * SVC0002 Invalid input value
  * SVC0005 Duplicate correlator

PolicyException from ES 202 391-1 [2]
  * POL0001 Policy error

Specified by:
startCallNotification in interface CallNotificationManager
Parameters:
reference - common:SimpleReference Notification endpoint definition
addresses - xsd:anyURI [1..unbounded] Addresses for which to receive notifications
criteria - CallEvents [0..unbounded]

Call events for which a notification is required. If not specified, all call events are notified.

Throws:
java.rmi.RemoteException
PolicyException
ServiceException

stopCallNotification

public void stopCallNotification(java.lang.String correlator)
                          throws java.rmi.RemoteException,
                                 PolicyException,
                                 ServiceException
Description copied from interface: CallNotificationManager
The application may end a call notification using this operation.

Referenced Faults

ServiceException from ES 202 391-1 [2]
  * SVC0001 Service error
  * SVC0002 Invalid input value

PolicyException from ES 202 391-1 [2]
  * POL0001 Policy error

Specified by:
stopCallNotification in interface CallNotificationManager
Parameters:
correlator - xsd:string Correlator of request to end
Throws:
java.rmi.RemoteException
PolicyException
ServiceException


Copyright © 2003 IBM Corp. All Rights Reserved.