Unpolute public API
This commit is contained in:
parent
9b92c6cbf2
commit
feee3514a9
5 changed files with 172 additions and 115 deletions
|
@ -1,16 +1,18 @@
|
|||
package ru.bclib.api.dataexchange;
|
||||
|
||||
import ru.bclib.api.dataexchange.handler.DataExchange;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
abstract class Connector {
|
||||
protected final DataExchangeAPI api;
|
||||
protected final DataExchange api;
|
||||
|
||||
Connector(DataExchangeAPI api) {
|
||||
Connector(DataExchange api) {
|
||||
this.api = api;
|
||||
}
|
||||
public abstract boolean onClient();
|
||||
|
||||
protected Set<DataHandlerDescriptor> getDescriptors(){
|
||||
return api.descriptors;
|
||||
return api.getDescriptors();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue