Exemplo n.º 1
0
    public static bool getConnectionQos(string src, string dest, QosStyle srcStyle, QosStyle destStyle)
    {
        bool ret = yarpPINVOKE.NetworkBase_getConnectionQos__SWIG_1(src, dest, QosStyle.getCPtr(srcStyle), QosStyle.getCPtr(destStyle));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 2
0
    public static bool setConnectionQos(string src, string dest, QosStyle style, bool quiet)
    {
        bool ret = yarpPINVOKE.NetworkBase_setConnectionQos__SWIG_2(src, dest, QosStyle.getCPtr(style), quiet);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 3
0
 internal static HandleRef getCPtr(QosStyle obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 4
0
 public void setPacketPriorityByLevel(QosStyle.PacketPriorityLevel level)
 {
     yarpPINVOKE.QosStyle_setPacketPriorityByLevel(swigCPtr, (int)level);
 }
Exemplo n.º 5
0
 public void setPacketPriorityByDscp(QosStyle.PacketPriorityDSCP dscp)
 {
     yarpPINVOKE.QosStyle_setPacketPriorityByDscp(swigCPtr, (int)dscp);
 }
Exemplo n.º 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(QosStyle obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public static bool setConnectionQos(string src, string dest, QosStyle style)
 {
     bool ret = yarpPINVOKE.NetworkBase_setConnectionQos__SWIG_3(src, dest, QosStyle.getCPtr(style));
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public static bool getConnectionQos(string src, string dest, QosStyle srcStyle, QosStyle destStyle, bool quiet)
 {
     bool ret = yarpPINVOKE.NetworkBase_getConnectionQos__SWIG_0(src, dest, QosStyle.getCPtr(srcStyle), QosStyle.getCPtr(destStyle), quiet);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }