You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
397 B
26 lines
397 B
10 years ago
|
package mightypork.utils.patterns.subscription.clients;
|
||
|
|
||
|
|
||
|
import java.util.Collection;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Client containing child clients
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
public interface DelegatingClient {
|
||
|
|
||
|
/**
|
||
|
* @return collection of child clients. Can not be null.
|
||
|
*/
|
||
|
public Collection<Object> getChildClients();
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @return true if delegating is active
|
||
|
*/
|
||
|
public boolean doesDelegate();
|
||
|
|
||
|
}
|