/*
 * Created on Jul 31, 2006
 * 
 * (C) Copyright TANDBERG Television Ltd.
 */

package com.tandbergtv.watchpoint.pmm.communication;

import com.tandbergtv.workflow.message.WorkflowMessage;

/**
 * Interface defining the Message Handler methods.
 * 
 * @author Vijay Silva
 */
public interface MessageHandler
{
	/**
	 * Method to handle the incoming Workflow Message and generate an appropriate response after
	 * performing the Operation requested by the incoming Workflow Message.
	 * 
	 * @param message
	 *            The Input Workflow Message
	 * 
	 * @return The response Workflow Message.
	 * @throws Exception
	 */
	public WorkflowMessage handleMessage(WorkflowMessage message) throws Exception;
}
