internal MQMessageDescriptor(MQMessageDescriptor md) { this.mqmd = new MQBase.MQMD(); base.TrConstructor("%Z% %W% %I% %E% %U%", new object[] { md }); MQBase.MQMD mqmd = md.mqmd; this.mqmd.StrucId = (byte[])this.mqmd.StrucId.Clone(); this.mqmd.Version = mqmd.Version; this.mqmd.Report = mqmd.Report; this.mqmd.MsgType = mqmd.MsgType; this.mqmd.Expiry = mqmd.Expiry; this.mqmd.Feedback = mqmd.Feedback; this.mqmd.Encoding = mqmd.Encoding; this.mqmd.CodedCharacterSetId = mqmd.CodedCharacterSetId; this.mqmd.Format = (byte[])mqmd.Format.Clone(); this.mqmd.Priority = mqmd.Priority; this.mqmd.Persistence = mqmd.Persistence; this.mqmd.MsgId = (byte[])mqmd.MsgId.Clone(); this.mqmd.CorrelId = (byte[])mqmd.CorrelId.Clone(); this.mqmd.BackoutCount = mqmd.BackoutCount; this.mqmd.ReplyToQ = (byte[])mqmd.ReplyToQ.Clone(); this.mqmd.ReplyToQMgr = (byte[])mqmd.ReplyToQMgr.Clone(); this.mqmd.UserId = (byte[])mqmd.UserId.Clone(); this.mqmd.AccountingToken = (byte[])mqmd.AccountingToken.Clone(); this.mqmd.ApplIdentityData = (byte[])mqmd.ApplIdentityData.Clone(); this.mqmd.PutApplType = mqmd.PutApplType; this.mqmd.PutApplName = (byte[])mqmd.PutApplName.Clone(); this.mqmd.PutDate = (byte[])mqmd.PutDate.Clone(); this.mqmd.PutTime = (byte[])mqmd.PutTime.Clone(); this.mqmd.ApplOriginData = (byte[])mqmd.ApplOriginData.Clone(); this.mqmd.GroupId = (byte[])mqmd.GroupId.Clone(); this.mqmd.MsgSequenceNumber = mqmd.MsgSequenceNumber; this.mqmd.Offset = mqmd.Offset; this.mqmd.MsgFlags = mqmd.MsgFlags; this.mqmd.OriginalLength = mqmd.OriginalLength; }
internal MQASYNC_MESSAGE() { base.TrConstructor("%Z% %W% %I% %E% %U%"); this.asyncMsg = new structMQASYNC_MESSAGE(); this.asyncMsg.msgToken = new byte[0x10]; this.msgDescriptor = new MQMessageDescriptor(); }
public MQSPIPutInOut(int version) { base.TrConstructor("%Z% %W% %I% %E% %U%", new object[] { version }); this.spiPutInOutHdr = new SPIPUTINOUTHDR(); this.spiPutInOutHdr.ID = rfpVB_ID_PUT_INOUT; this.Version = version; this.md = null; this.pmo = null; }