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.
25 lines
397 B
25 lines
397 B
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();
|
|
|
|
}
|
|
|