public ConnectRepsonse(EndPoint data_endpoint) : base(EIBMessages.EIB_MC_CONNECT_RESPONSE) { this.data_endpoint = new HPAI(data_endpoint); this.cri = new CRI(); status = EIBMessages.E_NO_ERROR; total_length += (ushort)(2 + HPAI.length + cri.length); }
public ConnectRequest(Stream s) : base(s) { control_endpoint = new HPAI(s); data_endpoint = new HPAI(s); cri = new CRI(s); }