public class HippoClientBootstrap extends Object implements Comparable<HippoClientBootstrap>
| 构造器和说明 |
|---|
HippoClientBootstrap(String serviceName,
String host,
int port) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(HippoClientBootstrap o) |
String |
getHost() |
AtomicLong |
getInvokeTimes() |
int |
getPort() |
String |
getServiceName() |
HippoResultCallBack |
sendAsync(com.github.hippo.bean.HippoRequest request,
int timeout) |
com.github.hippo.bean.HippoResponse |
sendOneWay(com.github.hippo.bean.HippoRequest hippoRequest) |
com.github.hippo.bean.HippoResponse |
sendWithCallBack(com.github.hippo.bean.HippoRequest request,
int timeout) |
public HippoResultCallBack sendAsync(com.github.hippo.bean.HippoRequest request, int timeout) throws Exception
Exceptionpublic com.github.hippo.bean.HippoResponse sendWithCallBack(com.github.hippo.bean.HippoRequest request,
int timeout)
public com.github.hippo.bean.HippoResponse sendOneWay(com.github.hippo.bean.HippoRequest hippoRequest)
throws Exception
Exceptionpublic String getHost()
public int getPort()
public String getServiceName()
public AtomicLong getInvokeTimes()
public int compareTo(HippoClientBootstrap o)
compareTo 在接口中 Comparable<HippoClientBootstrap>Copyright © 2017. All rights reserved.