ChannelSelector

public abstract class ChannelSelector<E extends KompicsEvent, F>

The ChannelSelector class.

Author:Cosmin Arad <cosmin@sics.se>, Jim Dowling <jdowling@sics.se>, Lars Kroll <lkroll@kth.se>

Constructors

ChannelSelector

protected ChannelSelector(Class<E> eventType, F value, boolean positive)

Methods

getEventType

public final Class<E> getEventType()

getValue

public abstract F getValue(E event)

getValue

public final F getValue()

isPositive

public final boolean isPositive()