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

All Known Implementing Classes:
AbstractContextListener, RESTfulListener, UnmatchedEventProcessor

public interface ContextListener

Interface which listeners of context events have to implement.

Author:
fei, sanjin

Method Summary
 String getName()
           
 void onEvent(Document event)
          This method is called when a context event occurs for which this listener has been register to be notified.
 

Method Detail

getName

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

onEvent

void onEvent(Document event)
This method is called when a context event occurs for which this listener has been register to be notified.

Parameters:
event - occurred XML event.


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