| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alive |
protected boolean |
close |
protected Class<T> |
clz |
protected Map<String,Method> |
methodMap |
protected URL |
url |
| Constructor and Description |
|---|
AbstractProvider(URL url,
Class<T> clz) |
| Modifier and Type | Method and Description |
|---|---|
Response |
call(Request request) |
String |
desc() |
void |
destroy() |
Class<T> |
getInterface() |
URL |
getUrl() |
void |
init() |
protected abstract Response |
invoke(Request request) |
boolean |
isAvailable() |
Method |
lookupMethod(String methodName,
String methodDesc) |
protected URL url
protected boolean alive
protected boolean close
public boolean isAvailable()
isAvailable in interface Nodepublic Class<T> getInterface()
getInterface in interface Caller<T>getInterface in interface Provider<T>Copyright © 2020. All rights reserved.