at.ac.tuwien.infosys.sm4all.copal.service.copal
Interface ContextState

All Known Implementing Classes:
ContextStateImpl

public interface ContextState

Interface which COPAL core provides to retrieve current context state i.e. latest published events.

Author:
sanjin

Method Summary
 Document getCurrentEvent(String eventName)
           
 Document[] getCurrentEvents()
           
 

Method Detail

getCurrentEvents

Document[] getCurrentEvents()
Returns:
current events.

getCurrentEvent

Document getCurrentEvent(String eventName)
Parameters:
eventName - the name of the ContextEventType.
Returns:
current event that has type name equal to specified eventName or null if such event was never published.


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