public new bool write(PortWriter writer, PortReader reader, PortWriter callback)
    {
        bool ret = yarpPINVOKE.UnbufferedContactable_write__SWIG_2(swigCPtr, PortWriter.getCPtr(writer), PortReader.getCPtr(reader), PortWriter.getCPtr(callback));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #2
0
    public virtual bool process(PortWriter arg0, PortReader arg1, Contact source)
    {
        bool ret = yarpPINVOKE.NameStore_process(swigCPtr, PortWriter.getCPtr(arg0), PortReader.getCPtr(arg1), Contact.getCPtr(source));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #3
0
    public new bool read(PortWriter writer)
    {
        bool ret = yarpPINVOKE.Bottle_read__SWIG_2(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual bool replyAndDrop(PortWriter writer)
    {
        bool ret = yarpPINVOKE.UnbufferedContactable_replyAndDrop(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public new static bool write(string port_name, PortWriter cmd, PortReader reply)
    {
        bool ret = yarpPINVOKE.NetworkBase_write__SWIG_5(port_name, PortWriter.getCPtr(cmd), PortReader.getCPtr(reply));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #6
0
    public static int sendMessage(string port, PortWriter writable)
    {
        int ret = yarpPINVOKE.NetworkBase_sendMessage__SWIG_1(port, PortWriter.getCPtr(writable));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #7
0
    public new static bool write(Contact contact, PortWriter cmd, PortReader reply, bool admin)
    {
        bool ret = yarpPINVOKE.NetworkBase_write__SWIG_2(Contact.getCPtr(contact), PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), admin);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #8
0
    public static bool writeToNameServer(PortWriter cmd, PortReader reply, ContactStyle style)
    {
        bool ret = yarpPINVOKE.NetworkBase_writeToNameServer(PortWriter.getCPtr(cmd), PortReader.getCPtr(reply), ContactStyle.getCPtr(style));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #9
0
    public static bool writeToStream(PortWriter portable, SWIGTYPE_p_yarp__os__OutputStream os)
    {
        bool ret = yarpPINVOKE.ConnectionWriter_writeToStream(PortWriter.getCPtr(portable), SWIGTYPE_p_yarp__os__OutputStream.getCPtr(os));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #10
0
    public virtual bool setEnvelope(PortWriter envelope)
    {
        bool ret = yarpPINVOKE.Contactable_setEnvelope__SWIG_0(swigCPtr, PortWriter.getCPtr(envelope));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #11
0
    public override bool reply(PortWriter writer)
    {
        bool ret = yarpPINVOKE.AbstractContactable_reply(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #12
0
    public new bool write(PortWriter writer)
    {
        bool ret = yarpPINVOKE.RpcServer_write__SWIG_1(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #13
0
    public static int sendMessage(string port, PortWriter writable, SWIGTYPE_p_std__string output, bool quiet)
    {
        int ret = yarpPINVOKE.NetworkBase_sendMessage__SWIG_2(port, PortWriter.getCPtr(writable), SWIGTYPE_p_std__string.getCPtr(output), quiet);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #14
0
    public override bool setEnvelope(PortWriter envelope)
    {
        bool ret = yarpPINVOKE.Port_setEnvelope(swigCPtr, PortWriter.getCPtr(envelope));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #15
0
    public static bool copyPortable(PortWriter writer, PortReader reader)
    {
        bool ret = yarpPINVOKE.Portable_copyPortable(PortWriter.getCPtr(writer), PortReader.getCPtr(reader));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #16
0
    public new bool write(PortWriter writer, PortReader reader)
    {
        bool ret = yarpPINVOKE.Port_write__SWIG_3(swigCPtr, PortWriter.getCPtr(writer), PortReader.getCPtr(reader));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #17
0
    public override bool replyAndDrop(PortWriter writer)
    {
        bool ret = yarpPINVOKE.Port_replyAndDrop(swigCPtr, PortWriter.getCPtr(writer));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #18
0
 public void setPortWriter(PortWriter writer)
 {
     yarpPINVOKE.Things_setPortWriter(swigCPtr, PortWriter.getCPtr(writer));
 }