예제 #1
0
 public void WrapForDecode(SecurityDefinitionRequest parentMessage, DirectBuffer buffer, int actingVersion)
 {
     _parentMessage = parentMessage;
     _buffer        = buffer;
     _dimensions.Wrap(buffer, parentMessage.Limit, actingVersion);
     _blockLength         = _dimensions.BlockLength;
     _count               = (int)_dimensions.NumInGroup;
     _actingVersion       = actingVersion;
     _index               = 0;
     _parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
 }
예제 #2
0
            public void WrapForEncode(SecurityDefinitionRequest parentMessage, DirectBuffer buffer, int count)
            {
                if ((uint)count > 254)
                {
                    ThrowHelper.ThrowCountOutOfRangeException(count);
                }

                _parentMessage = parentMessage;
                _buffer        = buffer;
                _dimensions.Wrap(buffer, parentMessage.Limit, _actingVersion);
                _dimensions.BlockLength = SbeBlockLength;
                _dimensions.NumInGroup  = (byte)count;
                _index              = 0;
                _count              = count;
                _blockLength        = SbeBlockLength;
                _actingVersion      = SchemaVersion;
                parentMessage.Limit = parentMessage.Limit + SbeHeaderSize;
            }
예제 #3
0
 public SecurityDefinitionRequest()
 {
     _parentMessage = this;
 }