com.ibm.soa.parlayx21.call_direction
Class CallDirectionManagerProxy

java.lang.Object
  extended by com.ibm.soa.parlayx21.call_direction.CallDirectionManagerProxy
All Implemented Interfaces:
CallDirectionManager, java.rmi.Remote

public class CallDirectionManagerProxy
extends java.lang.Object
implements CallDirectionManager


Constructor Summary
CallDirectionManagerProxy()
           
 
Method Summary
 CallDirectionManager getCallDirectionManager()
           
 java.lang.String getEndpoint()
           
 void setEndpoint(java.lang.String endpoint)
           
 void startCallDirectionNotification(SimpleReference reference, java.lang.String[] addresses, CallEvents[] criteria)
          This operation initiates notifications to the application for a given address.
 void stopCallDirectionNotification(java.lang.String correlator)
          The application may end a call direction 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

CallDirectionManagerProxy

public CallDirectionManagerProxy()
Method Detail

useJNDI

public void useJNDI(boolean useJNDI)

getEndpoint

public java.lang.String getEndpoint()

setEndpoint

public void setEndpoint(java.lang.String endpoint)

getCallDirectionManager

public CallDirectionManager getCallDirectionManager()

startCallDirectionNotification

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

This operation initiates notifications to the application for a given address. Thethe specified addresses, which are is an 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:
startCallDirectionNotification in interface CallDirectionManager
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

stopCallDirectionNotification

public void stopCallDirectionNotification(java.lang.String correlator)
                                   throws java.rmi.RemoteException,
                                          PolicyException,
                                          ServiceException
Description copied from interface: CallDirectionManager
The application may end a call direction 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:
stopCallDirectionNotification in interface CallDirectionManager
Parameters:
correlator - xsd:string Correlator of request to end
Throws:
java.rmi.RemoteException
PolicyException
ServiceException


Copyright © 2003 IBM Corp. All Rights Reserved.