Platform SDK Java 8.5 API Reference

Package com.genesyslab.platform.voice.protocol.previewinteraction

This package contains the PreviewInteraction classes that your applications can use during communication with T-Server, such as PreviewInteractionAcknowledge.

See:
          Description

Class Summary
PreviewInteractionAcknowledge  
PreviewInteractionBinding Class contains functionality for marshaling/unmarshaling data between key value collection and appropriate object of predefined class.
PreviewInteractionBody  
PreviewInteractionCancel  
PreviewInteractionError  
PreviewInteractionFactory  
PreviewInteractionHeader  
PreviewInteractionMessage  
PreviewInteractionRequest  
PreviewInteractionResponse  
PreviewInteractionUserData  
Status  
 

Exception Summary
PreviewInteractionBinding.KVBindingException  
 

Package com.genesyslab.platform.voice.protocol.previewinteraction Description

This package contains the PreviewInteraction classes that your applications can use during communication with T-Server, such as PreviewInteractionAcknowledge.

To use these classes, you will need to set up an appropriate factory object, as shown here:


Message msg = new Message();

...

// marshal using old kvbinding
PreviewInteractionFactory factory = new PreviewInteractionFactory(new PreviewInteractionResolver());
KeyValueCollection kv = factory.Marshal(msg);

// marshal using new kvbinding
KeyValueCollection kv2 = PreviewInteractionBinding.marshal(msg);

...

// unmarshal using old kvbinding
msg = (Message)factory.Unmarshal(kv);

// unmarshal using new kvbinding
msg = (Message)PreviewInteractionBinding.unmarshal(kv);



For general information on the structure and usage of the Platform SDKs, or information on TLib functions, datatypes and unstructured data, please refer to the Platform SDK Developer's Guide.


Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.