public class OkHttpConnectStrategy extends java.lang.Object implements ConnectStrategy<io.grpc.okhttp.OkHttpChannelBuilder>
Modifier and Type | Field and Description |
---|---|
protected Context |
context |
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
OkHttpConnectStrategy() |
Modifier and Type | Method and Description |
---|---|
io.grpc.okhttp.OkHttpChannelBuilder |
connect() |
boolean |
equals(java.lang.Object obj) |
protected HostnameAndPort |
getEndpoint() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setContext
protected final org.slf4j.Logger logger
protected Context context
protected HostnameAndPort getEndpoint()
public io.grpc.okhttp.OkHttpChannelBuilder connect()
connect
in interface ConnectStrategy<io.grpc.okhttp.OkHttpChannelBuilder>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object