public abstract class AresContext extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AresContext.Endpoint |
static interface |
AresContext.Invoker<T> |
| 构造器和说明 |
|---|
AresContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AresContext.Endpoint |
getEndpoint() |
static <T> T |
invokeWithEndpoint(SchemaType schemaType,
String host,
Integer port,
AresContext.Invoker<T> invoker) |
static void |
removeEndpoint() |
static void |
setEndpoint(SchemaType schemaType,
String host,
Integer port) |
public static <T> T invokeWithEndpoint(SchemaType schemaType, String host, Integer port, AresContext.Invoker<T> invoker)
public static void setEndpoint(SchemaType schemaType, String host, Integer port)
public static AresContext.Endpoint getEndpoint()
public static void removeEndpoint()
Copyright © 2020. All rights reserved.