public class SubscriptionSourceTestImpl<T> extends Object implements SubscriptionSource<T>
Constructor and Description |
---|
SubscriptionSourceTestImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Collection<SubscriptionInformation<T>> listeners) |
void |
removeListener(Collection<SubscriptionInformation<T>> listeners) |
boolean |
supportsListener(SubscriptionInformation<T> information)
Validate if the provided subcription information can bind to this
subscription source
|
public void addListener(Collection<SubscriptionInformation<T>> listeners)
addListener
in interface SubscriptionSource<T>
public void removeListener(Collection<SubscriptionInformation<T>> listeners)
removeListener
in interface SubscriptionSource<T>
public boolean supportsListener(SubscriptionInformation<T> information)
SubscriptionSource
supportsListener
in interface SubscriptionSource<T>
information
- The information to checktrue
if the listener can bind to this event source.
In this case the SubscriptionSource.addListener(Collection)
method may not
reject the listener.Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.