Esempio n. 1
0
        public void Swap(v4vConnection other)
        {
            v4vConnectionHandle _handleTemp = this._handle;

            Udbus.Serialization.UdbusDelegates.D_io_debug io_debugTemp = this.io_debug;

            this._handle  = other._handle;
            this.io_debug = other.io_debug;

            other._handle  = _handleTemp;
            other.io_debug = io_debugTemp;
        }
Esempio n. 2
0
        public v4vConnection Release()
        {
            v4vConnectionHandle _handleTemp = this._handle;

            Udbus.Serialization.UdbusDelegates.D_io_debug io_debugTemp = this.io_debug;

            this._handle  = null;
            this.io_debug = null;

            v4vConnection connectionRelease = new v4vConnection(_handleTemp, io_debugTemp);

            return(connectionRelease);
        }
Esempio n. 3
0
        public v4vConnection(Udbus.Serialization.UdbusDelegates.D_io_debug io_debug)
        {
            this.io_debug = io_debug;

            // Form the v4v connection.
            v4vConnectionHandle handle = v4vConnectionFunctions.connect_v4v_socket(this.io_debug);

            if (handle == null || handle.IsInvalid)
            {
                throw Udbus.Serialization.Exceptions.TransportFailureException.Create(this, "Error calling connect_v4v_socket");
            }

            this._handle = handle;
        }
Esempio n. 4
0
        public v4vConnection(Udbus.Serialization.UdbusDelegates.D_io_debug io_debug)
        {
            this.io_debug = io_debug;

            // Form the v4v connection.
            v4vConnectionHandle handle = v4vConnectionFunctions.connect_v4v_socket(this.io_debug);

            if (handle == null || handle.IsInvalid)
            {
                throw Udbus.Serialization.Exceptions.TransportFailureException.Create(this, "Error calling connect_v4v_socket");
            }

            this._handle = handle;
        }
Esempio n. 5
0
 internal extern static bool populate_dbus_io(ref Udbus.Serialization.ManagedDbusIo pdbus_io, v4vConnectionHandle ptransportdata);
Esempio n. 6
0
 internal extern static UInt32 wait_for_v4v_read_handles_timeout(UInt32 dwMilliseconds, v4vConnectionHandle ptransportdata, String ErrorMessage);
Esempio n. 7
0
 internal extern static bool cancel_v4v_socket_io(v4vConnectionHandle ptransportdata);
Esempio n. 8
0
 private v4vConnection(v4vConnectionHandle _handle, Udbus.Serialization.UdbusDelegates.D_io_debug io_debug)
 {
     this._handle  = _handle;
     this.io_debug = io_debug;
 }
Esempio n. 9
0
 private v4vConnection(v4vConnectionHandle _handle, Udbus.Serialization.UdbusDelegates.D_io_debug io_debug)
 {
     this._handle = _handle;
     this.io_debug = io_debug;
 }
Esempio n. 10
0
 internal static extern UInt32 wait_for_v4v_read_handles_timeout(UInt32 dwMilliseconds, v4vConnectionHandle ptransportdata, String ErrorMessage);
Esempio n. 11
0
 internal static extern bool populate_dbus_io(ref Udbus.Serialization.ManagedDbusIo pdbus_io, v4vConnectionHandle ptransportdata);
Esempio n. 12
0
 internal static extern bool cancel_v4v_socket_io(v4vConnectionHandle ptransportdata);
Esempio n. 13
0
        public void Swap(v4vConnection other)
        {
            v4vConnectionHandle _handleTemp = this._handle;
            Udbus.Serialization.UdbusDelegates.D_io_debug io_debugTemp = this.io_debug;

            this._handle = other._handle;
            this.io_debug = other.io_debug;

            other._handle = _handleTemp;
            other.io_debug = io_debugTemp;
        }
Esempio n. 14
0
        public v4vConnection Release()
        {
            v4vConnectionHandle _handleTemp = this._handle;
            Udbus.Serialization.UdbusDelegates.D_io_debug io_debugTemp = this.io_debug;

            this._handle = null;
            this.io_debug = null;

            v4vConnection connectionRelease = new v4vConnection(_handleTemp, io_debugTemp);
            return connectionRelease;
        }