media.sdk.java.examples
Class StartCustomMedia

java.lang.Object
  extended bymedia.sdk.java.examples.StartCustomMedia

public class StartCustomMedia
extends java.lang.Object

Launches the simple media server in custom mode. The custom media server periodically reads the contents of a directory in parameters. For each file found in the directory, this server attaches the file to a new interaction and submits it to Interaction Server.

To use the custom extension of this server, you must define an ESP strategy in the Interaction Routing Designer and create an External Service. In the External Service Property text box, specify the custom extension media.sdk.java.examples.SimpleCustomExtension and the method to call doProcessRequest.

When the interaction goes through the strategy associated with the external service, the custom media server gets an ESP request and calls the SimpleCustomExtension.doProcessRequest() method.

For details about arguments passed to the main() method, see StartMedia.


Constructor Summary
StartCustomMedia()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartCustomMedia

public StartCustomMedia()
Method Detail

main

public static void main(java.lang.String[] args)