public abstract class SipcHost
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected IpcChannel |
channel |
protected java.util.concurrent.Executor |
executor |
| Constructor and Description |
|---|
SipcHost(ChannelHost channelHost,
EphemeralKeyAlgorithmFactory keyPairGenerator,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindService(io.grpc.BindableService bindableService) |
protected void |
feedDone() |
protected void |
feedError(java.lang.Throwable e) |
protected void |
feedHandshake() |
java.lang.String |
getConnectInfo() |
EventChannel |
getEventChannel() |
io.grpc.Channel |
getGrpcChannel() |
java.util.concurrent.Future<java.lang.Void> |
handshake() |
SipcHost |
onDone(DoneHandler handler) |
SipcHost |
onHandshake(HandshakeHandler handler) |
java.util.concurrent.Future<java.lang.Void> |
waitForDone() |
protected final java.util.concurrent.Executor executor
protected final IpcChannel channel
public SipcHost(ChannelHost channelHost, EphemeralKeyAlgorithmFactory keyPairGenerator, java.util.concurrent.Executor executor) throws CryptoException
CryptoExceptionpublic java.lang.String getConnectInfo()
public void bindService(io.grpc.BindableService bindableService)
public java.util.concurrent.Future<java.lang.Void> handshake()
public SipcHost onHandshake(HandshakeHandler handler)
public java.util.concurrent.Future<java.lang.Void> waitForDone()
public SipcHost onDone(DoneHandler handler)
public io.grpc.Channel getGrpcChannel()
public EventChannel getEventChannel()
protected void feedHandshake()
protected void feedError(java.lang.Throwable e)
protected void feedDone()