Example #1
0
        private void DecodeIpRestriction(bool indexBitSet)
        {
            var type        = DecodeIpRestrictionType(indexBitSet);
            var ipAddress   = ReceiveString();
            var mask        = ReceiveUint();
            var restriction = new IpRestriction(type, ipAddress, mask);

            Dispatch(new IpRestrictionArgs(restriction));
        }
Example #2
0
 public IpRestrictionArgs(IpRestriction restriction)
 {
     Restriction = restriction;
 }