public class SenderRoleFilter extends Object implements MessageFilter
Constructor and Description |
---|
SenderRoleFilter(String community,
String group,
String role)
a new filter that acts according to the sender's CGR location.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Message m)
Tests if a specified message matches the requirement.
|
public boolean accept(Message m)
MessageFilter
accept
in interface MessageFilter
m
- the message to test.true
if and only if the message matches the requirement.
Fabien Michel, Olivier Gutknecht, Jacques Ferber - February 17 2020