示例#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;
        }
示例#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);
        }
示例#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;
        }
示例#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;
        }
示例#5
0
 internal extern static bool populate_dbus_io(ref Udbus.Serialization.ManagedDbusIo pdbus_io, v4vConnectionHandle ptransportdata);
示例#6
0
 internal extern static UInt32 wait_for_v4v_read_handles_timeout(UInt32 dwMilliseconds, v4vConnectionHandle ptransportdata, String ErrorMessage);
示例#7
0
 internal extern static bool cancel_v4v_socket_io(v4vConnectionHandle ptransportdata);
示例#8
0
 private v4vConnection(v4vConnectionHandle _handle, Udbus.Serialization.UdbusDelegates.D_io_debug io_debug)
 {
     this._handle  = _handle;
     this.io_debug = io_debug;
 }
示例#9
0
 private v4vConnection(v4vConnectionHandle _handle, Udbus.Serialization.UdbusDelegates.D_io_debug io_debug)
 {
     this._handle = _handle;
     this.io_debug = io_debug;
 }
示例#10
0
 internal static extern UInt32 wait_for_v4v_read_handles_timeout(UInt32 dwMilliseconds, v4vConnectionHandle ptransportdata, String ErrorMessage);
示例#11
0
 internal static extern bool populate_dbus_io(ref Udbus.Serialization.ManagedDbusIo pdbus_io, v4vConnectionHandle ptransportdata);
示例#12
0
 internal static extern bool cancel_v4v_socket_io(v4vConnectionHandle ptransportdata);
示例#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;
        }
示例#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;
        }