protected override void putFixedParams(ByteBuffer ret) { ret.Put(_initiateTag); ret.Put(_adRecWinCredit); ret.Put((ushort)_numOutStreams); ret.Put((ushort)_numInStreams); ret.Put(_initialTSN); if (_cookie != null) { StateCookie sc = new StateCookie(); sc.setData(_cookie); _varList.Add(sc); } if (_supportedExtensions != null) { SupportedExtensions se = new SupportedExtensions(); se.setData(_supportedExtensions); _varList.Add(se); } }