Ejemplo n.º 1
0
    public static PResult ChangeRootDir(PString path, string oldRoot, string newRoot)
    {
        PResult ret = new PResult(PapillonPINVOKE.PPath_ChangeRootDir__SWIG_1(PString.getCPtr(path), oldRoot, newRoot), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 2
0
    public bool GetQueryValue(string key, PString value)
    {
        bool ret = PapillonPINVOKE.PUri_GetQueryValue__SWIG_0(swigCPtr, key, PString.getCPtr(value));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 3
0
    public PResult Receive(PString message)
    {
        PResult ret = new PResult(PapillonPINVOKE.PSocket_Receive__SWIG_0(swigCPtr, PString.getCPtr(message)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 4
0
    public PResult GetBoundAddress(PString boundAddress)
    {
        PResult ret = new PResult(PapillonPINVOKE.PSocket_GetBoundAddress(swigCPtr, PString.getCPtr(boundAddress)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 5
0
    public virtual PResult GetModelName(PString modelName)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_GetModelName(swigCPtr, PString.getCPtr(modelName)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }