1.0.0

org.eclipse.soda.dk.filter
Class Filter

java.lang.Object
  extended by org.eclipse.soda.dk.filter.Filter
All Implemented Interfaces:
FilterService

public class Filter
extends java.lang.Object
implements FilterService

The Filter class implements the FilterService interface.

Version:
1.0.0
See Also:
FilterService

Constructor Summary
Filter(byte[] mask)
          Constructs an Filter object using the input parameter(s).
 
Method Summary
 boolean matches(MessageService message0, MessageService message1)
          Perform the matches method and return the boolean result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter(byte[] mask)
Constructs an Filter object using the input parameter(s).

Parameters:
mask - byte[]
Method Detail

matches

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

Specified by:
matches in interface FilterService
Parameters:
message0 - org.eclipse.soda.dk.message.service.MessageService
message1 - org.eclipse.soda.dk.message.service.MessageService
Returns:
Results of the matches (boolean) value.
See Also:
FilterService.matches(org.eclipse.soda.dk.message.service.MessageService, org.eclipse.soda.dk.message.service.MessageService)

1.0.0

Copyright (c) 1999, 2007 IBM