edu.uci.isr.yancees.server.filter.peerpublisher
Class PeerPublisherInputFilter
java.lang.Object
edu.uci.isr.yancees.filter.AbstractFilter
edu.uci.isr.yancees.server.filter.peerpublisher.PeerPublisherInputFilter
- All Implemented Interfaces:
- FilterInterface
- public class PeerPublisherInputFilter
- extends AbstractFilter
- Author:
- rsilvafi
this filter redirects all events published using this YANCEEs instance, to
all the JmDNS peers in the network. For such, it uses the services provided
by the JmDNSService which should be installed as a local service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public static long id
PUBLISH_TO_PEERS
public static java.lang.String PUBLISH_TO_PEERS
TRUE
public static java.lang.String TRUE
FALSE
public static java.lang.String FALSE
print
protected boolean print
PeerPublisherInputFilter
public PeerPublisherInputFilter()
doFilterEvent
protected EventInterface[] doFilterEvent(EventInterface evt)
- Description copied from class:
AbstractFilter
- This method should be implemented by the subclasses of the AbstractFilter
in order to process the messages being passed through this filter.
A filter uses this method to receive the message and process it. The filter
must then select which events to let go to the next filter or subscriber.
These events are returned in the method.
- Specified by:
doFilterEvent
in class AbstractFilter
- Parameters:
evt
- is the event to be filtered
- Returns:
- is the list of events resulted from the filtering
doFilterEventList
protected EventInterface[] doFilterEventList(EventInterface[] evtList)
- Description copied from class:
AbstractFilter
- This method should be implemented by the subclasses of the AbstractFilter
in order to process the messages being passed through this filter.
A filter uses this method to receive the message and process it. The filter
must then select which events to let go to the next filter or subscriber.
These events are returned in the method.
- Specified by:
doFilterEventList
in class AbstractFilter
- Parameters:
evtList
- is a list of events to be filtered as a "burst"
- Returns:
- is the list of events resulted from the filtering