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