Ejemplo n.º 1
0
    public OpalParamSetUserData GetSetUserData()
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalMessagePtr_GetSetUserData(swigCPtr);
        OpalParamSetUserData  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalParamSetUserData(cPtr, false);

        return(ret);
    }
Ejemplo n.º 2
0
    public OpalParamCallCleared GetClearCall()
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalMessagePtr_GetClearCall(swigCPtr);
        OpalParamCallCleared  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalParamCallCleared(cPtr, false);

        return(ret);
    }
Ejemplo n.º 3
0
    public OpalStatusMediaStream GetMediaStream()
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalMessagePtr_GetMediaStream(swigCPtr);
        OpalStatusMediaStream ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalStatusMediaStream(cPtr, false);

        return(ret);
    }
Ejemplo n.º 4
0
    public OpalStatusMessageWaiting GetMessageWaiting()
    {
        global::System.IntPtr    cPtr = OPALPINVOKE.OpalMessagePtr_GetMessageWaiting(swigCPtr);
        OpalStatusMessageWaiting ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalStatusMessageWaiting(cPtr, false);

        return(ret);
    }
Ejemplo n.º 5
0
    public OpalStatusLineAppearance GetLineAppearance()
    {
        global::System.IntPtr    cPtr = OPALPINVOKE.OpalMessagePtr_GetLineAppearance(swigCPtr);
        OpalStatusLineAppearance ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalStatusLineAppearance(cPtr, false);

        return(ret);
    }
Ejemplo n.º 6
0
    public OpalParamAnswerCall GetAnswerCall()
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalMessagePtr_GetAnswerCall(swigCPtr);
        OpalParamAnswerCall   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalParamAnswerCall(cPtr, false);

        return(ret);
    }
Ejemplo n.º 7
0
    public OpalStatusUserInput GetUserInput()
    {
        global::System.IntPtr cPtr = OPALPINVOKE.OpalMessagePtr_GetUserInput(swigCPtr);
        OpalStatusUserInput   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalStatusUserInput(cPtr, false);

        return(ret);
    }
Ejemplo n.º 8
0
    public OpalStatusIncomingCall GetIncomingCall()
    {
        global::System.IntPtr  cPtr = OPALPINVOKE.OpalMessagePtr_GetIncomingCall(swigCPtr);
        OpalStatusIncomingCall ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalStatusIncomingCall(cPtr, false);

        return(ret);
    }
Ejemplo n.º 9
0
    public OpalStatusRegistration GetRegistrationStatus()
    {
        global::System.IntPtr  cPtr = OPALPINVOKE.OpalMessagePtr_GetRegistrationStatus(swigCPtr);
        OpalStatusRegistration ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OpalStatusRegistration(cPtr, false);

        return(ret);
    }
Ejemplo n.º 10
0
Archivo: OPAL.cs Proyecto: mq30/opal
    public static SWIGTYPE_p_OpalMessage OpalSendMessage(SWIGTYPE_p_OpalHandleStruct opal, SWIGTYPE_p_OpalMessage message)
    {
        global::System.IntPtr  cPtr = OPALPINVOKE.OpalSendMessage(SWIGTYPE_p_OpalHandleStruct.getCPtr(opal), SWIGTYPE_p_OpalMessage.getCPtr(message));
        SWIGTYPE_p_OpalMessage ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_OpalMessage(cPtr, false);

        return(ret);
    }
Ejemplo n.º 11
0
Archivo: OPAL.cs Proyecto: mq30/opal
    public static SWIGTYPE_p_OpalMessage OpalGetMessage(SWIGTYPE_p_OpalHandleStruct opal, uint timeout)
    {
        global::System.IntPtr  cPtr = OPALPINVOKE.OpalGetMessage(SWIGTYPE_p_OpalHandleStruct.getCPtr(opal), timeout);
        SWIGTYPE_p_OpalMessage ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_OpalMessage(cPtr, false);

        return(ret);
    }
Ejemplo n.º 12
0
Archivo: OPAL.cs Proyecto: mq30/opal
    public static SWIGTYPE_p_OpalHandleStruct OpalInitialise(SWIGTYPE_p_unsigned_int version, string options)
    {
        global::System.IntPtr       cPtr = OPALPINVOKE.OpalInitialise(SWIGTYPE_p_unsigned_int.getCPtr(version), options);
        SWIGTYPE_p_OpalHandleStruct ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_OpalHandleStruct(cPtr, false);

        return(ret);
    }
Ejemplo n.º 13
0
    public bool SetUpCall(OpalMessagePtr response, string partyB)
    {
        bool ret = OPALPINVOKE.OpalContext_SetUpCall__SWIG_2(swigCPtr, OpalMessagePtr.getCPtr(response), partyB);

        if (OPALPINVOKE.SWIGPendingException.Pending)
        {
            throw OPALPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 14
0
    public bool SendMessage(OpalMessagePtr message)
    {
        bool ret = OPALPINVOKE.OpalContext_SendMessage__SWIG_0(swigCPtr, OpalMessagePtr.getCPtr(message));

        if (OPALPINVOKE.SWIGPendingException.Pending)
        {
            throw OPALPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 15
0
 protected virtual void Dispose(bool disposing)
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 OPALPINVOKE.delete_OpalParamSetUserData(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
     }
 }
Ejemplo n.º 16
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 OPALPINVOKE.delete_OpalPresenceStatus(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
     }
 }
Ejemplo n.º 17
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 OPALPINVOKE.delete_OpalStatusTransferCall(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
Ejemplo n.º 18
0
 public OpalPresenceStatus() : this(OPALPINVOKE.new_OpalPresenceStatus(), true)
 {
 }
Ejemplo n.º 19
0
 public OpalStatusMediaStream() : this(OPALPINVOKE.new_OpalStatusMediaStream(), true)
 {
 }
 public OpalStatusCallCleared() : this(OPALPINVOKE.new_OpalStatusCallCleared(), true)
 {
 }
Ejemplo n.º 21
0
 public OpalProductDescription() : this(OPALPINVOKE.new_OpalProductDescription(), true)
 {
 }
Ejemplo n.º 22
0
 public OpalParamRecording() : this(OPALPINVOKE.new_OpalParamRecording(), true)
 {
 }
Ejemplo n.º 23
0
 public OpalParamCallCleared() : this(OPALPINVOKE.new_OpalParamCallCleared(), true)
 {
 }
Ejemplo n.º 24
0
 public OpalMessage() : this(OPALPINVOKE.new_OpalMessage(), true)
 {
 }
Ejemplo n.º 25
0
 public OpalStatusIVR() : this(OPALPINVOKE.new_OpalStatusIVR(), true)
 {
 }
Ejemplo n.º 26
0
 public OpalParamRegistration() : this(OPALPINVOKE.new_OpalParamRegistration(), true)
 {
 }
Ejemplo n.º 27
0
 public OpalParamSetUserData() : this(OPALPINVOKE.new_OpalParamSetUserData(), true)
 {
 }
Ejemplo n.º 28
0
 public OpalStatusMessageWaiting() : this(OPALPINVOKE.new_OpalStatusMessageWaiting(), true)
 {
 }
Ejemplo n.º 29
0
 public OpalStatusTransferCall() : this(OPALPINVOKE.new_OpalStatusTransferCall(), true)
 {
 }
Ejemplo n.º 30
0
 public OpalParamProtocol() : this(OPALPINVOKE.new_OpalParamProtocol(), true)
 {
 }