Context Service
 
Community Grids Lab (CGL), Pervasive Technology Labs (PTL),
Indiana University, Bloomington (IUB).
Context Service Links
Home
Publications
Downloads
Resources
JavaDoc API
Demos
Change Log
FTHPIS   Links
ExtendedUDDI
OpenGrids
Community Grids Lab
Publications
Presentations
CGL Activities
CGL Home  |  PTL Home
How to interact with Context Manager Service?

ContextManager and ContextResponseHandler
The ContextManager has the following operations, all of which contain the callback address. for the ContextResponseHandler:

getContents: this message is used to request the entire contents of a specific context. It responds with either the contents message or an appropriate fault message. The entirecontents of the context MUST be returned, i.e. the values corresponding to the context’s ContextType elements.

setContents: the contents of the context are replaced with the context information provided. It responds with either the contentsSet message or an appropriate fault message.

The ContextResponseHandler has the following operations.

contents: this message is a response to getContents and returns the entire contents of a specific context.

contentsSet: this message is sent as a response to setContents to indicate that contentsof the context have been updated.

unknownContextFault: this message is sent to indicate that the specified context cannot be located.

generalFault: this message is sent to indicate that some other error has occurred during the enlistment.

© Mehmet S. Aktas / Community Grids Lab, Indiana University