public void notifyOpened() {
   eventListener.connectionOpened(rpcClient);
 }
 public void notifyClosed() {
   eventListener.connectionClosed(rpcClient);
 }