Example #1
0
    public static OpalMessage OpalSendMessage(SWIGTYPE_p_OpalHandleStruct opal, OpalMessage message)
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalSendMessage(SWIGTYPE_p_OpalHandleStruct.getCPtr(opal), OpalMessage.getCPtr(message));
        OpalMessage           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalMessage(cPtr, false);

        return(ret);
    }
Example #2
0
    public static OpalMessage OpalGetMessage(SWIGTYPE_p_OpalHandleStruct opal, uint timeout)
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalGetMessage(SWIGTYPE_p_OpalHandleStruct.getCPtr(opal), timeout);
        OpalMessage           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalMessage(cPtr, false);

        return(ret);
    }
Example #3
0
 internal static HandleRef getCPtr(OpalMessage obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OpalMessage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OpalMessage obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Example #6
0
 internal static HandleRef getCPtr(OpalMessage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #7
0
 public static extern void OpalFreeMessage(ref OpalMessage message);    
Example #8
0
 public static extern IntPtr OpalSendMessage(IntPtr opal, ref OpalMessage message);
Example #9
0
 public static void OpalFreeMessage(OpalMessage message)
 {
     OPALPINVOKE.OpalFreeMessage(OpalMessage.getCPtr(message));
 }