2009-01-09 1.2.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 bit mask, 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 bit mask).

Since:
1.0
Version:
1.2.0
See Also:
MessageService, ParameterService

Method Summary
 boolean matches(byte[] bytes0, byte[] bytes1)
          Matches with the specified bytes0 and bytes1 parameters and return the boolean result.
 boolean matches(MessageService message0, MessageService message1)
          Perform the matches method and return the boolean result.
 

Method Detail

matches

boolean matches(byte[] bytes0,
                byte[] bytes1)
Matches with the specified bytes0 and bytes1 parameters and return the boolean result.

Parameters:
bytes0 - The bytes0 (byte[]) parameter.
bytes1 - The bytes1 (byte[]) parameter.
Returns:
Results of the matches (boolean) value.
See Also:
matches(MessageService,MessageService)

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 constraints of the bit mask, and false otherwise.

Parameters:
message0 - The message0 (MessageService) parameter.
message1 - The message1 (MessageService) parameter.
Returns:
Results of the matches (boolean) value.
See Also:
matches(byte[],byte[])

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.