Research Article

SCondi: A Smart Context Distribution Framework Based on a Messaging Service for the Internet of Things

Table 2

Filter chain interface.

InterfaceDescription

addLast(filter) Adds the specified filter at the beginning of this chain
addFirst(filter) Adds the specified filter at the end of this chain
addBefore(filter,  base filter) Adds the specified filter before the base filter in this chain
addAfter(filter,  base filter) Adds the specified filter after the base filter in this chain
invoke(context) Invokes the filters of the chain in order
delete(filter) Deletes the specified filter in this chain
replace(base filter, new filter) Replace the specified filter with new filter