public void joinRoom(string roomId) { CSharpWrapperPINVOKE.messageBroker_joinRoom(swigCPtr, roomId); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }