add network accessor
This commit is contained in:
parent
85a3565dc3
commit
215f485883
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ public class TwoPartyClient {
|
||||||
return rpcSystem.bootstrap(vatId.asReader());
|
return rpcSystem.bootstrap(vatId.asReader());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TwoPartyVatNetwork getNetwork() {
|
||||||
|
return this.network;
|
||||||
|
}
|
||||||
|
|
||||||
public CompletableFuture<java.lang.Void> onDisconnect() {
|
public CompletableFuture<java.lang.Void> onDisconnect() {
|
||||||
return this.network.onDisconnect();
|
return this.network.onDisconnect();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue