public virtual void Marshal(DataOutputStream dos) { if (dos != null) { try { dos.WriteUnsignedInt((uint)this._fixedDatumIDList.Count); dos.WriteUnsignedInt((uint)this._variableDatumIDList.Count); for (int idx = 0; idx < this._fixedDatumIDList.Count; idx++) { FixedDatum aFixedDatum = (FixedDatum)this._fixedDatumIDList[idx]; aFixedDatum.Marshal(dos); } for (int idx = 0; idx < this._variableDatumIDList.Count; idx++) { VariableDatum aVariableDatum = (VariableDatum)this._variableDatumIDList[idx]; aVariableDatum.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedInt((uint)this._requestID); dos.WriteUnsignedInt((uint)this._requestStatus); dos.WriteUnsignedInt((uint)this._fixedDatums.Count); dos.WriteUnsignedInt((uint)this._variableDatums.Count); for (int idx = 0; idx < this._fixedDatums.Count; idx++) { FixedDatum aFixedDatum = (FixedDatum)this._fixedDatums[idx]; aFixedDatum.Marshal(dos); } for (int idx = 0; idx < this._variableDatums.Count; idx++) { VariableDatum aVariableDatum = (VariableDatum)this._variableDatums[idx]; aVariableDatum.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public override void Marshal(DataOutputStream dos) { base.Marshal(dos); if (dos != null) { try { dos.WriteUnsignedByte((byte)this._requiredReliabilityService); dos.WriteUnsignedShort((ushort)this._pad1); dos.WriteUnsignedByte((byte)this._pad2); dos.WriteUnsignedInt((uint)this._requestID); dos.WriteUnsignedInt((uint)this._timeInterval); dos.WriteUnsignedInt((uint)this._fixedDatumRecords.Count); dos.WriteUnsignedInt((uint)this._variableDatumRecords.Count); for (int idx = 0; idx < this._fixedDatumRecords.Count; idx++) { FixedDatum aFixedDatum = (FixedDatum)this._fixedDatumRecords[idx]; aFixedDatum.Marshal(dos); } for (int idx = 0; idx < this._variableDatumRecords.Count; idx++) { VariableDatum aVariableDatum = (VariableDatum)this._variableDatumRecords[idx]; aVariableDatum.Marshal(dos); } } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }