public interface MsmlListener
Modifier and Type | Method and Description |
---|---|
boolean |
msmlEventReceived(String msmlEvent,
Object msmlEventAsObjects)
For Avaya internal use only.
This method is invoked for MSML events generated from a dialog. |
void |
msmlResponse(int errorCode,
String errorDescription,
String msmlResponse,
Object msmlResponseAsObjects)
For Avaya internal use only.
This method is invoked to indicate whether the processing of a MSML document has completed successfully. |
void msmlResponse(int errorCode, String errorDescription, String msmlResponse, Object msmlResponseAsObjects)
errorCode
- - a code to indicate success/failure. A value of 200 indicates success.errorDescription
- - a detailed description of the error.msmlResponse
- - the response from the media server represented as a (partial) MSML document. Certain types of error conditions may
prevent communication with the media server, so this object may be empty/null.msmlResponseAsObjects
- - some responses are unmarshalled into a Java object, which is provided in this parameter. This value may be null.boolean msmlEventReceived(String msmlEvent, Object msmlEventAsObjects)
msmlEvent
- - one or more MSML events represented as a (partial) MSML document.msmlEventAsObjects
- - an unmarshalled representation of the event(s) contained in the MSML document.Copyright © 2023 Avaya. All rights reserved.