Esempio n. 1
0
 public void WrapForDecode(MassQuote parentMessage, DirectBuffer buffer, int actingVersion)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, actingVersion);
     _blockLength = _dimensions.BlockLength;
     _count = _dimensions.NumInGroup;
     _actingVersion = actingVersion;
     _index = -1;
     _parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
 }
Esempio n. 2
0
 public void WrapForEncode(MassQuote parentMessage, DirectBuffer buffer, int count)
 {
     _parentMessage = parentMessage;
     _buffer = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, _actingVersion);
     _dimensions.BlockLength = (ushort)90;
     _dimensions.NumInGroup = (byte)count;
     _index = -1;
     _count = count;
     _blockLength = 90;
     parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
 }
Esempio n. 3
0
 public MassQuote()
 {
     _parentMessage = this;
 }