예제 #1
0
 internal void _setCertificateValidationCallback(_SwigCallback pcb)
 {
     RCFProtoPINVOKE.RcfProtoChannel__setCertificateValidationCallback(swigCPtr, _SwigCallback.getCPtr(pcb));
     if (RCFProtoPINVOKE.SWIGPendingException.Pending)
     {
         throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 internal void _setCallbackTable(_SwigCallback pCallback)
 {
     RCFProtoPINVOKE.RcfProtoServer__setCallbackTable(swigCPtr, _SwigCallback.getCPtr(pCallback));
     if (RCFProtoPINVOKE.SWIGPendingException.Pending)
     {
         throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 internal void _CallMethodSwig(string serviceName, int methodId, byte[] szBuffer, int szBufferLen, _SwigCallback closure)
 {
     RCFProtoPINVOKE.RcfProtoChannel__CallMethodSwig(swigCPtr, serviceName, methodId, szBuffer, szBufferLen, _SwigCallback.getCPtr(closure));
     if (RCFProtoPINVOKE.SWIGPendingException.Pending)
     {
         throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 internal static HandleRef getCPtr(_SwigCallback obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }