Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #10
0
    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);
    }
Exemple #11
0
    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);
    }
Exemple #12
0
    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);
    }
Exemple #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);
    }
Exemple #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);
    }
Exemple #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);
         }
     }
 }
 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);
     }
 }
Exemple #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);
     }
 }
 public OpalPresenceStatus() : this(OPALPINVOKE.new_OpalPresenceStatus(), true)
 {
 }
Exemple #19
0
 public OpalStatusMediaStream() : this(OPALPINVOKE.new_OpalStatusMediaStream(), true)
 {
 }
 public OpalStatusCallCleared() : this(OPALPINVOKE.new_OpalStatusCallCleared(), true)
 {
 }
Exemple #21
0
 public OpalProductDescription() : this(OPALPINVOKE.new_OpalProductDescription(), true)
 {
 }
Exemple #22
0
 public OpalParamRecording() : this(OPALPINVOKE.new_OpalParamRecording(), true)
 {
 }
Exemple #23
0
 public OpalParamCallCleared() : this(OPALPINVOKE.new_OpalParamCallCleared(), true)
 {
 }
Exemple #24
0
 public OpalMessage() : this(OPALPINVOKE.new_OpalMessage(), true)
 {
 }
Exemple #25
0
 public OpalStatusIVR() : this(OPALPINVOKE.new_OpalStatusIVR(), true)
 {
 }
Exemple #26
0
 public OpalParamRegistration() : this(OPALPINVOKE.new_OpalParamRegistration(), true)
 {
 }
Exemple #27
0
 public OpalParamSetUserData() : this(OPALPINVOKE.new_OpalParamSetUserData(), true)
 {
 }
 public OpalStatusMessageWaiting() : this(OPALPINVOKE.new_OpalStatusMessageWaiting(), true)
 {
 }
Exemple #29
0
 public OpalStatusTransferCall() : this(OPALPINVOKE.new_OpalStatusTransferCall(), true)
 {
 }
Exemple #30
0
 public OpalParamProtocol() : this(OPALPINVOKE.new_OpalParamProtocol(), true)
 {
 }