public boolean awaitState(ice.ConnectionState state, long timeout) {
   return stateMachine.wait(state, timeout);
 }
 public ice.ConnectionState getState() {
   return stateMachine.getState();
 };