示例#1
0
 public PayloadService(IPayloadLengthRule[] rules,IByteHelper byteHelper)
 {
     _rules = rules;
     _byteHelper = byteHelper;
 }
示例#2
0
 public Hybi10FrameFactory(IByteHelper byteHelper,IPayloadService payloadService)
 {
     _payloadService = payloadService;
     _byteHelper = byteHelper;
 }
示例#3
0
 protected PayloadLengthRuleBase(IByteHelper byteHelper,short payloadStartPositionWithouMaskingKey)
 {
     ByteHelper = byteHelper;
     _payloadStartPositionWithouMaskingKey = payloadStartPositionWithouMaskingKey;
     _payloadStartPosition = _payloadStartPosition = (short)(_payloadStartPositionWithouMaskingKey + MaskingKeyLength);
 }
示例#4
0
 public EqualTo126(IByteHelper byteHelper)
     : base(byteHelper,PayloadStartPositionWithoutMaskingKey)
 {
 }
示例#5
0
 public LessThan126(IByteHelper byteHelper)
     : base(byteHelper,PayloadStartPositionWithoutMaskingKey)
 {
 }