1.0.0

org.eclipse.soda.dk.filter.service
Interface FilterService

All Known Implementing Classes:
Filter, Filters, SimpleFilter

public interface FilterService

The FilterService interface defines the FilterService concept. A FilterService basically encapsulates a bitmask, which it then uses to compare two Messages. The matches API should return true if the first MessageService matches the second within the constraints of the FilterService(i.e. the bitmask)

Version:
1.0.0
See Also:
Filter, MessageService, ParameterService

Method Summary
 boolean matches(MessageService message0, MessageService message1)
          Perform the matches method and return the boolean result.
 

Method Detail

matches

boolean matches(MessageService message0,
                MessageService message1)
Perform the matches method and return the boolean result. This API compares two messages, returning true if they match each other, within the contrains of the bitmask, and false otherwise.

Parameters:
message0 - org.eclipse.soda.dk.message.service.MessageService
message1 - org.eclipse.soda.dk.message.service.MessageService
Returns:
Results of the matches (boolean) value.

1.0.0

Copyright (c) 1999, 2007 IBM