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; }
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); }
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; }
internal extern static bool populate_dbus_io(ref Udbus.Serialization.ManagedDbusIo pdbus_io, v4vConnectionHandle ptransportdata);
internal extern static UInt32 wait_for_v4v_read_handles_timeout(UInt32 dwMilliseconds, v4vConnectionHandle ptransportdata, String ErrorMessage);
internal extern static bool cancel_v4v_socket_io(v4vConnectionHandle ptransportdata);
private v4vConnection(v4vConnectionHandle _handle, Udbus.Serialization.UdbusDelegates.D_io_debug io_debug) { this._handle = _handle; this.io_debug = io_debug; }
internal static extern UInt32 wait_for_v4v_read_handles_timeout(UInt32 dwMilliseconds, v4vConnectionHandle ptransportdata, String ErrorMessage);
internal static extern bool populate_dbus_io(ref Udbus.Serialization.ManagedDbusIo pdbus_io, v4vConnectionHandle ptransportdata);
internal static extern bool cancel_v4v_socket_io(v4vConnectionHandle ptransportdata);
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; }