예제 #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;
        }