public bool GetMessage(OpalMessagePtr message, uint timeout) { bool ret = OPALPINVOKE.OpalContext_GetMessage__SWIG_0(swigCPtr, OpalMessagePtr.getCPtr(message), timeout); if (OPALPINVOKE.SWIGPendingException.Pending) { throw OPALPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }