Exemplo n.º 1
0
 public void setUserData(SWIGTYPE_p_Token user_data)
 {
     pjsua2PINVOKE.Call_setUserData(swigCPtr, SWIGTYPE_p_Token.getCPtr(user_data));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void natCancelCheckStunServers(SWIGTYPE_p_Token token)
 {
     pjsua2PINVOKE.Endpoint_natCancelCheckStunServers__SWIG_1(swigCPtr, SWIGTYPE_p_Token.getCPtr(token));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void utilTimerCancel(SWIGTYPE_p_Token prmToken)
 {
     pjsua2PINVOKE.Endpoint_utilTimerCancel(swigCPtr, SWIGTYPE_p_Token.getCPtr(prmToken));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
    public SWIGTYPE_p_Token utilTimerSchedule(uint prmMsecDelay, SWIGTYPE_p_Token prmUserData)
    {
        SWIGTYPE_p_Token ret = new SWIGTYPE_p_Token(pjsua2PINVOKE.Endpoint_utilTimerSchedule(swigCPtr, prmMsecDelay, SWIGTYPE_p_Token.getCPtr(prmUserData)), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Token obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 6
0
    public SWIGTYPE_p_Token getUserData()
    {
        SWIGTYPE_p_Token ret = new SWIGTYPE_p_Token(pjsua2PINVOKE.Call_getUserData(swigCPtr), true);

        return(ret);
    }
Exemplo n.º 7
0
 public void natCheckStunServers(SWIGTYPE_p_StringVector prmServers, bool prmWait, SWIGTYPE_p_Token prmUserData)
 {
     pjsua2PINVOKE.Endpoint_natCheckStunServers(swigCPtr, SWIGTYPE_p_StringVector.getCPtr(prmServers), prmWait, SWIGTYPE_p_Token.getCPtr(prmUserData));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }