+
+ override getSupportedRpcs() {
+ broker.router.supportedRpcs;
+ }
+
+ override addRpcRegistrationListener(RpcRegistrationListener listener) {
+ broker.router.addRpcRegistrationListener(listener);
+ }
+}
+
+class RpcRegistrationWrapper implements RpcRegistration {
+
+
+ @Property
+ val RpcRegistration delegate
+
+ new(RpcRegistration delegate) {
+ _delegate = delegate
+ }
+
+ override getInstance() {
+ delegate.instance
+ }
+
+ override close() {
+ delegate.close
+ }
+
+ override getType() {
+ delegate.type
+ }