media.sdk.java.examples
Class SimpleCustomExtension

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

public class SimpleCustomExtension
extends java.lang.Object

Implements a custom extension able to process the file that the simple media server attached to an Open Media interaction.


Constructor Summary
SimpleCustomExtension()
           
 
Method Summary
 java.lang.String createTimeStamp()
          Returns a timestamp for log messages.
 void doProcessRequest(MILESPRequest request)
          Processes an ESP request by creating a thread dedicated to the "Gold" search in attached data, and to sending the appropriate response to Interaction Server.
 void initialize()
          Initializes the extension.
 void shutdown()
          Shutdown the extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCustomExtension

public SimpleCustomExtension()
Method Detail

createTimeStamp

public java.lang.String createTimeStamp()
Returns a timestamp for log messages.


initialize

public void initialize()
Initializes the extension.


shutdown

public void shutdown()
Shutdown the extension.


doProcessRequest

public void doProcessRequest(MILESPRequest request)
Processes an ESP request by creating a thread dedicated to the "Gold" search in attached data, and to sending the appropriate response to Interaction Server.

Parameters:
request - the ESP request to be processed.