at.ac.tuwien.infosys.sm4all.copal.api
Interface ContextProcessor

All Known Implementing Classes:
AbstractContextProcessor

public interface ContextProcessor

Interface which processors of context events have to implement.

Author:
fei, sanjin

Method Summary
 ProcessorAction getAction()
           
 String getName()
           
 Document process(Document event)
          This method is called when a context event occurs which needs action to be executed on it for which this processor has been register that it can handle.
 

Method Detail

getName

String getName()
Returns:
the globally unique name of the processor.

getAction

ProcessorAction getAction()
Returns:
the processor action which this processor can handle.

process

Document process(Document event)
This method is called when a context event occurs which needs action to be executed on it for which this processor has been register that it can handle.

Parameters:
event - occurred XML event.
Returns:
the resulting event of executing specified action on the event.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.