public void broadcast2Room(string roomId, string message) { CSharpWrapperPINVOKE.messageBroker_broadcast2Room(swigCPtr, roomId, message); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }