|
Samond Classes Library 1.1.6-RELEASE build 132
|
IPv4 subnet representation class. More...
#import <SCSubnet.h>
IPv4 subnet representation class.
Class SCSubnet represents IPv4 subnet instances with correlated instances of classes SCIPAddress and SCSubnetMask.
This class was introduced in version 1.0.4.
Class declares the following properties:
| - (SCIPAddress *) address |
Returns a subnet address.
| - (SCIPAddress *) broadcastAddress |
Returns a subnet broadcast address.
| - (void) copySubnet: | (SCSubnet *) | subnet |
Sets subnet to the specified existing subnet instance.
| subnet | - existing subnet instance |
| SCNetException | - incorrect source subnet instance detected |
| - (SCUInteger) count |
Returns a subnet regular hosts count.
| - (NSString *) description |
Returns a subnet instance description.
| - (SCIPAddress *) firstAddress |
Returns a subnet first regular address.
| - (id) init |
Initializes the empty subnet instance.
| - (id) initWithAddress: | (SCIPAddress *) | address |
Initializes the subnet using the specified classfull address.
| address | - classfull address |
| SCNetException | - incorrect classfull address detected |
| - (id) initWithAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Initializes the subnet using the specified subnet address and required hosts count.
| address | - subnet address |
| count | - required subnet hosts count |
| SCNetException | - incorrect subnet address or hosts count detected |
| - (id) initWithAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Initializes the subnet using the specified subnet address and prefix length.
| address | - subnet address |
| length | - subnet prefix length |
| SCNetException | - incorrect subnet address or prefix length detected |
| - (id) initWithAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Initializes the subnet using the specified subnet address and mask.
| address | - subnet address |
| mask | - subnet mask |
| SCNetException | - incorrect subnet address or mask detected |
| - (id) initWithAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Initializes the subnet using the specified subnet address and mask string.
| address | - subnet address |
| mask | - subnet mask string |
| SCNetException | - incorrect subnet address or mask string detected |
| - (id) initWithAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Initializes the subnet using the specified subnet address and prefix.
| address | - subnet address |
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet address or prefix string detected |
| - (id) initWithAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Initializes the subnet using the specified subnet address and wildcard mask.
| address | - subnet address |
| wildcard | - wildcard mask string |
| SCNetException | - incorrect subnet address or wildcard mask string detected |
| - (id) initWithInternet |
Initializes th global Internet subnet (0.0.0.0/0).
| - (id) initWithStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Initializes the subnet using the specified start and end subnet addresses.
| start | - subnet start address |
| end | - subnet end address |
| SCNetException | - incorrect start or end subnet address detected or start address is equal or bigged then end address |
| - (id) initWithStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Initializes the subnet using the specified start and end subnet addresses strings.
| start | - subnet start address string |
| end | - subnet end address string |
| SCNetException | - incorrect start or end subnet address string detected or start address is equal or bigged then end address |
| - (id) initWithString: | (NSString *) | address |
Initializes the classfull subnet using the specified subnet address string.
| address | - subnet address string |
| SCNetException | - incorrect subnet address string detected |
| - (id) initWithString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Initializes the subnet using the specified subnet address string and required hosts count.
| address | - subnet address string |
| count | - required hosts count |
| SCNetException | - incorrect subnet address string or hosts count detected |
| - (id) initWithString: | (NSString *) | address | |
| length: | (SCUByte) | length | |
Initializes the subnet using the specified subnet address string and prefix length.
| address | - subnet address string |
| length | - subnet prefix length |
| SCNetException | - incorrect subnet address string or prefix length detected |
| - (id) initWithString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Initializes the subnet using the specified subnet address string and mask.
| address | - subnet address string |
| mask | - subnet mask |
| SCNetException | - incorrect subnet address string or mask detected |
| - (id) initWithString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Initializes the subnet using the specified subnet address and mask strings.
| address | - subnet address string |
| mask | - subnet mask string |
| SCNetException | - incorrect subnet address string or mask string detected |
| - (id) initWithString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Initializes the subnet using the specified subnet address string and prefix.
| address | - subnet address string |
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet address string or prefix string detected |
| - (id) initWithString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Initializes the subnet using the specified subnet address string and wildcard mask.
| address | - subnet address string |
| wildcard | - wildcard mask string |
| SCNetException | - incorrect subnet address string or wildcard mask string detected |
| - (id) initWithSubnet: | (SCSubnet *) | subnet |
Initializes the subnet using the specified existing subnet instance.
| subnet | - existing subnet instance |
| SCNetException | - incorrect source subnet instance detected |
| - (id) initWithSubnets: | (NSArray *) | subnets |
Initializes the combined subnet using the specified subnets list.
| subnets | - subnets list |
| SCNetException | - empty subnets list |
| - (BOOL) isBroadcast: | (SCIPAddress *) | address |
Checks whether the specified address is the receiver's subnet broadcast address.
| address | - checked address |
| - (BOOL) isBroadcastString: | (NSString *) | address |
Checks whether the specified address string represents the receiver's subnet broadcast address.
| address | - checked address string |
| SCNetException | - incorrect checked address string detected |
| - (BOOL) isClassA |
Determines whether the receiver's subnet is a class A network.
| - (BOOL) isClassB |
Determines whether the receiver's subnet is a class B network.
| - (BOOL) isClassC |
Determines whether the receiver's subnet is a class C network.
| - (BOOL) isClassfull |
Determines whether the receiver's subnet is a classfull network.
| - (BOOL) isClassless |
Determines whether the receiver's subnet is a classless subnet.
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address |
Checks whether a receiver's subnet borders in a classfull subnet with the specified address.
| address | - classfull subnet address |
| SCNetException | - incorrect classfull subnet address detected |
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Checks whether a receiver's subnet borders in a subnet with the specified address and hosts count.
| address | - second subnet address |
| count | - second subnet hosts count |
| SCNetException | - incorrect second subnet address or hosts count detected |
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Checks whether a receiver's subnet borders in a subnet with the specified address and prefix length.
| address | - second subnet address |
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet address or prefix length detected |
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Checks whether a receiver's subnet borders in a subnet with the specified address and mask.
| address | - second subnet address |
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet address or mask detected |
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Checks whether a receiver's subnet borders in a subnet with the specified address and mask string.
| address | - second subnet address |
| mask | - second subnet mask string |
| SCNetException | - incorrect second subnet address or mask string detected |
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Checks whether a receiver's subnet borders in a subnet with the specified address and prefix.
| address | - second subnet address |
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet address or prefix string detected |
| - (BOOL) isConnectedWithAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Checks whether a receiver's subnet borders in a subnet with the specified address and wildcard mask.
| address | - second subnet address |
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet address or wildcard mask string detected |
| - (BOOL) isConnectedWithStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Checks whether a receiver's subnet borders in a subnet with the specified start and end addresses.
| start | - second subnet start address |
| end | - second subnet end address |
| SCNetException | - incorrect second subnet start or end address detected or second subnet end address is less or equal to start address |
| - (BOOL) isConnectedWithStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Checks whether a receiver's subnet borders in a subnet with the specified start and end addresses strings.
| start | - second subnet start address string |
| end | - second subnet end address string |
| SCNetException | - incorrect second subnet start or end address string detected or second subnet end address is less or equal to start address |
| - (BOOL) isConnectedWithString: | (NSString *) | address |
Checks whether a receiver's subnet borders in a classfull subnet with the specified address string.
| address | - classfull subnet address string |
| SCNetException | - incorrect classfull subnet address string detected |
| - (BOOL) isConnectedWithString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Checks whether a receiver's subnet borders in a subnet with the specified address string and hosts count.
| address | - second subnet address string |
| count | - second subnet hosts count |
| SCNetException | - incorrect second subnet address string or hosts count detected |
| - (BOOL) isConnectedWithString: | (NSString *) | address | |
| length: | (SCUByte) | length | |
Checks whether a receiver's subnet borders in a subnet with the specified address string and prefix length.
| address | - second subnet address string |
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet address string or prefix length detected |
| - (BOOL) isConnectedWithString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Checks whether a receiver's subnet borders in a subnet with the specified address string and mask.
| address | - second subnet address string |
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet address string or mask detected |
| - (BOOL) isConnectedWithString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Checks whether a receiver's subnet borders in a subnet with the specified address and mask strings.
| address | - second subnet address string |
| mask | - second subnet mask string |
| SCNetException | - incorrect second subnet address string or mask string detected |
| - (BOOL) isConnectedWithString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Checks whether a receiver's subnet borders in a subnet with the specified address string and prefix.
| address | - second subnet address string |
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet address string or prefix string detected |
| - (BOOL) isConnectedWithString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Checks whether a receiver's subnet borders in a subnet with the specified address string and wildcard mask.
| address | - second subnet address string |
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet address string or wildcard mask detected |
| - (BOOL) isConnectedWithSubnet: | (SCSubnet *) | subnet |
Checks whether a receiver's subnet borders in a specified subnet.
| subnet | - second subnet |
| - (BOOL) isConnectedWithSubnets: | (NSArray *) | subnets |
Checks whether a receiver's subnet borders in a combined subnet with the specified subnets list.
| subnets | - subnets list |
| SCNetException | - empty subnets list detected |
| - (BOOL) isDivided |
Determines the ability to devide the receiver's subnet into smaller subnets.
| - (BOOL) isDividedWithCount: | (SCUInteger) | count |
Determines the ability to devide the receiver's subnet into subnets with the specified hosts count.
| count | - subnet hosts count |
| SCNetException | - incorrect subnet hosts count detected |
| - (BOOL) isDividedWithLength: | (SCUByte) | length |
Determines the ability to devide the receiver's subnet into subnets with the specified prefix length.
| length | - subnet prefix length |
| SCNetException | - incorrect subnet prefix length detected |
| - (BOOL) isDividedWithMask: | (SCSubnetMask *) | mask |
Determines the ability to devide the receiver's subnet into subnets with the specified mask.
| mask | - subnet mask |
| SCNetException | - incorrect subnet mask detected |
| - (BOOL) isDividedWithPrefix: | (NSString *) | prefix |
Determines the ability to devide the receiver's subnet into subnets with the specified prefix.
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet prefix string detected |
| - (BOOL) isDividedWithString: | (NSString *) | mask |
Determines the ability to devide the receiver's subnet into subnets with the specified mask string.
| mask | - subnet mask string |
| SCNetException | - incorrect subnet mask string detected |
| - (BOOL) isDividedWithSubnetsCount: | (SCUInteger) | count |
Determines the ability to devide the receiver's subnet into the specified count of subnets.
| count | - required subnets count |
| - (BOOL) isDividedWithWildcard: | (NSString *) | wildcard |
Determines the ability to devide the receiver's subnet into subnets with the specified wildcard mask.
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet wildcard mask string detected |
| - (BOOL) isEqual: | (id) | subnet |
Returns a Boolean value as a result of comparing receiver's subnet and another subnet instance or classfull address string.
| subnet | - second comparing argument |
| SCNetException | - incorrect subnet address string or subnet instance detected |
Reimplemented from SCObject.
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address |
Returns a Boolean value as a result of comparing receiver's subnet and classfull subnet address.
| address | - classfull subnet address |
| SCNetException | - incorrect classfull subnet address detected |
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by hosts count.
| address | - second subnet address |
| count | - second subnet hosts count |
| SCNetException | - incorrect second subnet address or hosts count detected |
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address and prefix length.
| address | - second subnet address |
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet address or prefix length detected |
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address and mask.
| address | - second subnet address |
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet address or mask detected |
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address and mask string.
| address | - second subnet address |
| mask | - second subnet mask sting |
| SCNetException | - incorrect second subnet address or mask string detected |
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address and prefix.
| address | - second subnet address |
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet address or prefix string detected |
| - (BOOL) isEqualToAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address and wildcard mask.
| address | - second subnet address |
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet address or wildcard mask string detected |
| - (BOOL) isEqualToCount: | (SCUInteger) | count |
Returns a Boolean value as a result of comparing receiver's subnet mask and subnet mask specified by hosts count.
| count | - second subnet hosts count |
| SCNetException | - incorrect second subnet hosts count detected |
| - (BOOL) isEqualToLength: | (SCUByte) | length |
Returns a Boolean value as a result of comparing receiver's subnet mask and specified subnet prefix length.
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet prefix length detected |
| - (BOOL) isEqualToMask: | (SCSubnetMask *) | mask |
Returns a Boolean value as a result of comparing receiver's subnet mask and specified subnet mask.
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet mask detected |
| - (BOOL) isEqualToMaskString: | (NSString *) | mask |
Returns a Boolean value as a result of comparing receiver's subnet mask and specified subnet mask string.
| mask | - second subnet mask string |
| SCNetException | - incorrect second subnet mask detected |
| - (BOOL) isEqualToNetAddress: | (SCIPAddress *) | address |
Returns a Boolean value as a result of comparing receiver's subnet address and specified address.
| address | - second address |
| SCNetException | - incorrect second address detected |
| - (BOOL) isEqualToNetString: | (NSString *) | address |
Returns a Boolean value as a result of comparing receiver's subnet address and specified address string.
| address | - second address string |
| SCNetException | - incorrect second address string detected |
| - (BOOL) isEqualToPrefix: | (NSString *) | prefix |
Returns a Boolean value as a result of comparing receiver's subnet mask and specified subnet prefix.
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet prefix string detected |
| - (BOOL) isEqualToStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by start and end addresses.
| start | - second subnet start address |
| end | - second subnet end address |
| SCNetException | - incorrect second subnet start or end address detected or second subnet end address less or equal to start address |
| - (BOOL) isEqualToStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by start and end addresses strings.
| start | - second subnet start address string |
| end | - second subnet end address string |
| SCNetException | - incorrect second subnet start or end address string detected or second subnet end address less or equal to start address |
| - (BOOL) isEqualToString: | (NSString *) | address |
Returns a Boolean value as a result of comparing receiver's subnet and classfull address string.
| address | - classfull address string |
| SCNetException | - incorrect classfull address string detected |
| - (BOOL) isEqualToString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address string and hosts count.
| address | - second subnet address string |
| count | - seconf subnet hosts count |
| SCNetException | - incorrect second subnet address string or hosts count detected |
| - (BOOL) isEqualToString: | (NSString *) | address | |
| length: | (SCUByte) | length | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address string and prefix length.
| address | - second subnet address string |
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet address string or prefix length detected |
| - (BOOL) isEqualToString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address string and mask.
| address | - second subnet address string |
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet address string or mask detected |
| - (BOOL) isEqualToString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address and mask strings.
| address | - second subnet address string |
| mask | - second subnet mask string |
| SCNetException | - incorrect second subnet address string or mask string detected |
| - (BOOL) isEqualToString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address string and prefix.
| address | - second subnet address string |
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet address string or prefix string detected |
| - (BOOL) isEqualToString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Returns a Boolean value as a result of comparing receiver's subnet and subnet specified by address string and wildcard mask.
| address | - second subnet address string |
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet address string or wildcard mask detected |
| - (BOOL) isEqualToSubnet: | (SCSubnet *) | subnet |
Returns a Boolean value as a result of comparing receiver's subnet and another subnet instance.
| subnet | - second comparing argument |
| - (BOOL) isEqualToSubnets: | (NSArray *) | subnets |
Returns a Boolean value as a result of comparing receiver's subnet and specified combined subnet.
| subnets | - subnets list |
| SCNetException | - empty subnets list detected |
| - (BOOL) isEqualToWildcard: | (NSString *) | wildcard |
Returns a Boolean value as a result of comparing receiver's subnet mask and specified wildcard mask.
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet wildcard mask string |
| - (BOOL) isHostAddress: | (SCIPAddress *) | address |
Checks whether the specified address is the receiver's subnet regular host address.
| address | - checked address |
| - (BOOL) isHostString: | (NSString *) | address |
Checks whether the specified address string represents the receiver's subnet regular host address.
| address | - checked address string |
| SCNetException | - incorrect checked address string detected |
| - (BOOL) isIncludeAddress: | (SCIPAddress *) | address |
Checks whether the specified address includes into the receiver's subnet.
| address | - checked address |
| - (BOOL) isIncludedIntoSubnet: | (SCSubnet *) | subnet |
Checks the occurrence of the receiver's subnet into the specified subnet.
| subnet | - checked subnet |
| - (BOOL) isIncludedIntoSubnets: | (NSArray *) | subnets |
Checks the occurrence of the receiver's subnet into the compbined subnet with the specified subnets list.
| subnets | - checked subnets list |
| SCNetException | - empty combined subnets list detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address |
Checks the occurrence of the receiver's subnet into the classfull subnet with the specified address.
| address | - checked classfull subnet address |
| SCNetException | - incorrect classfull address detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and hosts count.
| address | - checked subnet address |
| count | - checked subnet hosts count |
| SCNetException | - incorrect checked subnet address or hosts count detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and prefix length.
| address | - checked subnet address |
| length | - checked subnet prefix length |
| SCNetException | - incorrect checked subnet address or prefix length detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and mask.
| address | - checked subnet address |
| mask | - checked subnet mask |
| SCNetException | - incorrect checked subnet address or mask detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and mask string.
| address | - checked subnet address |
| mask | - checked subnet mask string |
| SCNetException | - incorrect checked subnet address or mask string detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and prefix.
| address | - checked subnet address |
| prefix | - checked subnet prefix string |
| SCNetException | - incorrect checked subnet address or prefix string detected |
| - (BOOL) isIncludedIntoSubnetWithAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and wildcard mask.
| address | - checked subnet address |
| wildcard | - checked subnet wildcard mask string |
| SCNetException | - incorrect checked subnet address or wildcard mask string detected |
| - (BOOL) isIncludedIntoSubnetWithStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Checks the occurrence of the receiver's subnet into the subnet with the specified start and end addresses.
| start | - checked subnet start address |
| end | - checked subnet end address |
| SCNetException | - incorrect checked subnet start or end address detected or checked subnet end address is less or equal to start address |
| - (BOOL) isIncludedIntoSubnetWithStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Checks the occurrence of the receiver's subnet into the subnet with the specified start and end addresses strings.
| start | - checked subnet start address string |
| end | - checked subnet end address string |
| SCNetException | - incorrect checked subnet start or end address string detected or checked subnet end address is less or equal to start address |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address |
Checks the occurrence of the receiver's subnet into the classfull network with the specified address string.
| address | - checked classfull network address string |
| SCNetException | - incorrect checked classfull network address string detected |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address string and hosts count.
| address | - checked subnet address string |
| count | - checked subnet hosts count |
| SCNetException | - incorrect checked subnet address string or hosts count detected |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address | |
| length: | (SCUByte) | length | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address string and prefix length.
| address | - checked subnet address string |
| length | - checked subnet prefix length |
| SCNetException | - incorrect checked subnet address string or prefix length detected |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address string and mask.
| address | - checked subnet address string |
| mask | - checked subnet mask |
| SCNetException | - incorrect checked subnet address string or mask detected |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address and mask string.
| address | - checked subnet address string |
| mask | - checked subnet mask string |
| SCNetException | - incorrect checked subnet address string or mask string detected |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address string and prefix.
| address | - checked subnet address string |
| prefix | - checked subnet prefix string |
| SCNetException | - incorrect checked subnet address string or prefix string detected |
| - (BOOL) isIncludedIntoSubnetWithString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Checks the occurrence of the receiver's subnet into the subnet with the specified address string and wildcard mask.
| address | - checked subnet address string |
| wildcard | - checked subnet wildcard mask string |
| SCNetException | - incorrect checked subnet address string or wildcard mask detected |
| - (BOOL) isIncludeString: | (NSString *) | address |
Checks whether the specified address string includes into the receiver's subnet.
| address | - checkd address string |
| SCNetException | - incorret checked address string detected |
| - (BOOL) isIncludeSubnet: | (SCSubnet *) | subnet |
Checks the occurrence of the specified subnet into the receiver's subnet.
| subnet | - checked subnet |
| - (BOOL) isIncludeSubnets: | (NSArray *) | subnets |
Checks the occurrence of the combined subnet with the specified subnets list into the receiver's subnet.
| subnets | - checked subnets list |
| SCNetException | - empty checked subnets list detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address |
Checks the occurrence of the classfull subnet with the specified address into the receiver's subnet.
| address | - classfull subnet address |
| SCNetException | - incorrect classfull subnet address detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Checks the occurrence of the subnet with the specified address and hosts count into the receiver's subnet.
| address | - checked subnet address |
| count | - checked subnet hosts count |
| SCNetException | - incorrect checked subnet address or hosts count detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Checks the occurrence of the subnet with the specified address and prefix length into the receiver's subnet.
| address | - checked subnet address |
| length | - checked subnet prefix length |
| SCNetException | - incorrect checked subnet address or prefix length detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Checks the occurrence of the subnet with the specified address and mask into the receiver's subnet.
| address | - checked subnet address |
| mask | - checked subnet mask |
| SCNetException | - incorrect checked subnet address or mask detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Checks the occurrence of the subnet with the specified address and mask string into the receiver's subnet.
| address | - checked subnet address |
| mask | - checked subnet mask string |
| SCNetException | - incorrect checked subnet address or mask string detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Checks the occurrence of the subnet with the specified address and prefix into the receiver's subnet.
| address | - checked subnet address |
| prefix | - checked subnet prefix string |
| SCNetException | - incorrect checked subnet address or prefix string detected |
| - (BOOL) isIncludeSubnetWithAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Checks the occurrence of the subnet with the specified address and wildcard mask into the receiver's subnet.
| address | - checked subnet address |
| wildcard | - checked subnet wildcard mask string |
| SCNetException | - incorrect checked subnet address or wildcard mask string detected |
| - (BOOL) isIncludeSubnetWithStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Checks the occurrence of the subnet with the specified start and end addresses into the receiver's subnet.
| start | - checked subnet start address |
| end | - checked subnet end address |
| SCNetException | - incorrect checked subnet start or end address detected or checked subnet end address is less or equal to start address |
| - (BOOL) isIncludeSubnetWithStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Checks the occurense of the subnet with the specified start and end addresses string into the receiver's subnet.
| start | - checked subnet start address string |
| end | - checked subnet end address string |
| SCNetException | - incorrect checked subnet start or end address string detected or checked subnet start address is less or equal to start address |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address |
Checks the occurrence of the classfull subnet with the specified address string into the receiver's subnet.
| address | - checked subnet address string |
| SCNetException | - incorrect checked subnet address string detected |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Checks the occurrence of the subnet with the specified address string and hosts count into the receiver's subnet.
| address | - checked subnet address string |
| count | - checked subnet hosts count |
| SCNetException | - incorrect checked subnet address string or hosts count detected |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address | |
| length: | (SCUByte) | length | |
Checks the occurrence of the subnet with the specified address string and prefix length into the receiver's subnet.
| address | - checked subnet address string |
| length | - checked subnet prefix length |
| SCNetException | - incorrect checked subnet address string or prefix length detected |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Checks the occurrence of the subnet with the specified address string and mask into the receiver's subnet.
| address | - checked subnet address string |
| mask | - checked subnet mask |
| SCNetException | - incorrect checked subnet address string or mask detected |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Checks the occurrence of the subnet with the specified address and mask strings into the receiver's subnet.
| address | - checked subnet address string |
| mask | - checked subnet mask string |
| SCNetException | - incorrect checked subnet address string or mask string detected |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Checks the occurrence of the subnet with the specified address string and prefix into the receiver's subnet.
| address | - checked subnet address string |
| prefix | - checked subnet prefix string |
| SCNetException | - incorrect checked subnet address string or prefix string detected |
| - (BOOL) isIncludeSubnetWithString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Checks the occurrence of the subnet with the specified address string and wildcard mask into the receiver's subnet.
| address | - checked subnet address string |
| wildcard | - checked subnet wildcard mask string |
| SCNetException | - incorrect checked subnet address string or wildcard mask detected |
| - (BOOL) isInternet |
Determines whether the receiver's subnet is a global Internet subnet (0.0.0.0/0).
| - (BOOL) isNetAddress: | (SCIPAddress *) | address |
Checks whether the specified address is the receiver's subnet address.
| address | - checked address |
| - (BOOL) isNetString: | (NSString *) | address |
Checks whether the specified address string represents the receiver's subnet address.
| address | - checked address string |
| SCNetException | - incorrect checked address string detected |
| - (BOOL) isSerialLink |
Determines whether the receiver's subnet is a serial link subnet.
| - (SCIPAddress *) lastAddress |
Returns a subnet last regular address.
| - (SCUByte) length |
Returns a subnet prefix length.
| - (SCSubnetMask *) mask |
Returns a subnet mask.
| - (SCUInteger) maximumSubnets |
Returns a maximum number of subnets, on which the receiver's subnet can be devided.
| - (SCIPAddress *) netAddress |
Returns a subnet address. Method is similar to address.
| - (NSString *) prefix |
Returns a subnet prefix.
| - (void) setAddress: | (SCIPAddress *) | address |
Sets subnet classfull address with the default classfull subnet mask.
| address | - classfull address |
| SCNetException | - incorrect classfull address detected |
| - (void) setAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Sets subnet to the specified address and required hosts count.
| address | - subnet address |
| count | - required hosts count |
| SCNetException | - incorrect subnet address or hosts count detected |
| - (void) setAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Sets subnet to the specified address and prefix length.
| address | - subnet address |
| length | - subnet prefix length |
| SCNetException | - incorrect subnet address or prefix length detected |
| - (void) setAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Sets subnet to the specified address and mask.
| address | - subnet address |
| mask | - subnet mask |
| SCNetException | - incorrect subnet address or mask detected |
| - (void) setAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Sets subnet to the specified address and mask string.
| address | - subnet address |
| mask | - subnet mask string |
| SCNetException | - incorrect subnet address or mask string detected |
| - (void) setAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Sets subnet to the specified address and prefix.
| address | - subnet address |
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet address or prefix string detected |
| - (void) setAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Sets subnet to the specified address and wildcard mask.
| address | - subnet address |
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet address or wildcard mask string detected |
| - (void) setStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Sets subnet to the specified start and end addresses.
| start | - subnet start address |
| end | - subnet end address |
| SCNetException | - incorrect subnet start or end address detected or end subnet address is less or equal to start subnet address |
| - (void) setStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Sets subnet to the specified start and end addresses string.
| start | - subnet start address string |
| end | - subnet end address string |
| SCNetException | - incorrect subnet start or end address string detected or end subnet address is less or equal to start subnet address |
| - (void) setString: | (NSString *) | address |
Sets subnet to the classfull address string with the default classfull mask.
| address | - subnet address string |
| SCNetException | - incorrect subnet address string detected |
| - (void) setString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Sets subnet to the specified address string and required hosts count.
| address | - subnet address string |
| count | - subnet hosts count |
| SCNetException | - incorrect subnet address string or hosts count detected |
| - (void) setString: | (NSString *) | address | |
| length: | (SCUByte) | length | |
Sets subnet to the specified address string and prefix length.
| address | - subnet address string |
| length | - subnet prefix length |
| SCNetException | - incorrect subnet address string or prefix length detected |
| - (void) setString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Sets subnet to the specified address string and mask.
| address | - subnet address string |
| mask | - subnet mask |
| SCNetException | - incorrect subnet address string or mask detected |
| - (void) setString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Sets subnet to the specified address and mask strings.
| address | - subnet address string |
| mask | - subnet mask string |
| SCNetException | - incorrect subnet address string or mask string detected |
| - (void) setString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Sets subnet to the specified address string and prefix.
| address | - subnet address string |
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet address string or prefix string detected |
| - (void) setString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Sets subnet to the specified address string and wildcard mask.
| address | - subnet address string |
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet address string or wildcard mask string detected |
| - (void) setSubnets: | (NSArray *) | subnets |
Sets subnet to the combined subnet from the specified subnets list.
| subnets | - subnets list |
| SCNetException | - empty subnets list detected |
| - (NSString *) stringWithMask |
Returns a string with the subnet address and mask.
| - (NSString *) stringWithPrefix |
Returns a string with the subnet address and prefix.
| + (SCSubnet *) subnet |
Returns an empty subnet.
| - (NSString *) subnetClass |
Returns a subnet default class.
| - (SCUInteger) subnetsCountWithCount: | (SCUInteger) | count |
Returns a number of subnets with the specified hosts count, on which the receiver's subnet can be devided.
| count | - subnet hosts count |
| SCNetException | - incorrect subnet hosts count detected |
| - (SCUInteger) subnetsCountWithLength: | (SCUByte) | length |
Returns a number of subnets with specified prefix length, on which the receiver's subnet can be devided.
| length | - subnet prefix length |
| SCNetException | - incorrect subnet prefix length detected |
| - (SCUInteger) subnetsCountWithMask: | (SCSubnetMask *) | mask |
Returns a number of subnets with specified mask, on which the receiver's subnet can be devided.
| mask | - subnet mask |
| SCNetException | - incorrect subnet mask detected |
| - (SCUInteger) subnetsCountWithPrefix: | (NSString *) | prefix |
Returns a number of subnets with the specified prefix, on which the receiver's subnet can be devided.
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet prefix string detected |
| - (SCUInteger) subnetsCountWithString: | (NSString *) | mask |
Returns a number of subnets with specified mask string, on which the receiver's subnet can be devided.
| mask | - subnet mask string |
| SCNetException | - incorrect subnet mask string detected |
| - (SCUInteger) subnetsCountWithWildcard: | (NSString *) | wildcard |
Returns a number of subnets with the specified wildcard mask, on which the receiver's subnet can be devided.
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet wildcard mask string detected |
| - (NSArray *) subnetsWithCount: | (SCUInteger) | count |
Devides the receiver's subnet on subnets with the specified hosts count.
| count | - subnet hosts count |
| SCNetException | - incorrect subnet hosts count detected |
| - (NSArray *) subnetsWithLength: | (SCUByte) | length |
Devides the receiver's subnet on subnets with the specified prefix length.
| length | - subnet prefix length |
| SCNetException | - incorrect subnet prefix length detected |
| - (NSArray *) subnetsWithMask: | (SCSubnetMask *) | mask |
Devides the receiver's subnet on subnets with the specified mask.
| mask | - subnet mask |
| SCNetException | - incorrect subnet mask detected |
| - (NSArray *) subnetsWithPrefix: | (NSString *) | prefix |
Devides the receiver's subnet on subnets with the specified prefix.
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet prefix string detected |
| - (NSArray *) subnetsWithString: | (NSString *) | mask |
Devides the receiver's subnet on subnets with the specified mask string.
| mask | - subnet mask string |
| SCNetException | - incorrect subnet mask string detected |
| - (NSArray *) subnetsWithSubnetsCount: | (SCUInteger) | count |
Devides the receiver's subnet on the specified subnets count.
| count | - required subnets count |
| - (NSArray *) subnetsWithWildcard: | (NSString *) | wildcard |
Devides the receiver's subnet on subnets with the specified wildcard mask.
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet wildcard mask string detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address |
Returns a classfull subnet created by using the specified address.
| address | - classfull subnet address |
| SCNetException | - incorrect classfull subnet address detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Returns a subnet created by using the specified address and hosts count.
| address | - subnet address |
| count | - subnet hosts count |
| SCNetException | - incorrect subnet address or hosts count detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Returns a subnet created by using the specified address and prefix length.
| address | - subnet address |
| length | - subnet prefix length |
| SCNetException | - incorrect subnet address or prefix length detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Returns a subnet created by using the specified address and mask.
| address | - subnet address |
| mask | - subnet mask |
| SCNetException | - incorrect subnet address or mask detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Returns a subnet created by using the specified address and mask string.
| address | - subnet address |
| mask | - subnet mask string |
| SCNetException | - incorrect subnet address or mask string detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Returns a subnet created by using the specified address and prefix.
| address | - subnet address |
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet address or prefix string detected |
| + (SCSubnet *) subnetWithAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Returns a subnet created by using the specified address and wildcard mask.
| address | - subnet address |
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet address or wildcard mask string detected |
| + (SCSubnet *) subnetWithCoder: | (NSCoder *) | coder |
Returns a subnet from the specified coder.
| coder | - source coder |
| + (SCSubnet *) subnetWithContentsOfSerializedFile: | (NSString *) | path |
Returns a subnet from the serialized file with the specified path.
| path | - serialized file path |
| + (SCSubnet *) subnetWithDataDictionary: | (NSDictionary *) | dictionary |
Returns a subnet from the specified dictionary.
| dictionary | - source dictionary |
| + (SCSubnet *) subnetWithDataDictionaryFromFile: | (NSString *) | path |
Returns a subnet from the dictionary file with the specified path.
| path | - source dictionary file path |
| + (SCSubnet *) subnetWithFileStream: | (NSString *) | path |
Returns an subnet from the file stream with the specified path.
| path | - file stream path |
| SCStreamException | - stream operation error detected |
| + (SCSubnet *) subnetWithInternet |
Returns a global Internet subnet (0.0.0.0/0).
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address |
Returns a subnet, which combines the receiver's subnet and classfull subnet with the specified address.
| address | - classfull subnet address |
| SCNetException | - incorrect classfull subnet address detected |
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address | |
| count: | (SCUInteger) | count | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address and hosts count.
| address | - second subnet address |
| count | - second subnet hosts count |
| SCNetException | - incorrect second subnet address or hosts count detected |
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address | |
| length: | (SCUByte) | length | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address and prefix length.
| address | - second subnet address |
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet address or prefix length detected |
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Returns a subnet, which combines the receivers's subnet and subnet with the specified address and mask.
| address | - second subnet address |
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet address or mask detected |
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address | |
| maskString: | (NSString *) | mask | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address and mask string.
| address | - second subnet address |
| mask | - second subnet mask string |
| SCNetException | - incorrect second subnet address or mask string detected |
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address | |
| prefix: | (NSString *) | prefix | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address and prefix.
| address | - second subnet address |
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet address or prefix string detected |
| - (SCSubnet *) subnetWithMergedAddress: | (SCIPAddress *) | address | |
| wildcard: | (NSString *) | wildcard | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address and wildcard mask.
| address | - second subnet address |
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet address or wildcard mask string detected |
| - (SCSubnet *) subnetWithMergedStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified start and end addresses.
| start | - second subnet start address |
| end | - second subnet end address |
| SCNetException | - incorrect second subnet start or end address detected or second subnet end address is less or equal to start address |
| - (SCSubnet *) subnetWithMergedStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified start and end addresses strings.
| start | - second subnet start address string |
| end | - second subnet end address string |
| SCNetException | - incorrect second subnet start or end address string detected or second subnet end address is less or equal to start address |
| - (SCSubnet *) subnetWithMergedString: | (NSString *) | address |
Returns a subnet, which combines the receiver's subnet and classfull subnet with the specified address string.
| address | - classfull subnet address string |
| SCNetException | - incorrect classfull subnet address string detected |
| - (SCSubnet *) subnetWithMergedString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address string and hosts count.
| address | - second subnet address string |
| count | - second subnet hosts count |
| SCNetException | - incorrect second subnet address string or hosts count detected |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address string and prefix length.
| address | - second subnet address string |
| length | - second subnet prefix length |
| SCNetException | - incorrect second subnet address string or prefix length detected |
| - (SCSubnet *) subnetWithMergedString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address string and mask.
| address | - second subnet address string |
| mask | - second subnet mask |
| SCNetException | - incorrect second subnet address string or mask detected |
| - (SCSubnet *) subnetWithMergedString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address and mask strings.
| address | - second subnet address string |
| mask | - second subnet mask string |
| SCNetException | - incorrect second subnet address string or mask string detected |
| - (SCSubnet *) subnetWithMergedString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address string and prefix.
| address | - second subnet address string |
| prefix | - second subnet prefix string |
| SCNetException | - incorrect second subnet address string or prefix string detected |
| - (SCSubnet *) subnetWithMergedString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Returns a subnet, which combines the receiver's subnet and subnet with the specified address string and wildcard mask.
| address | - second subnet address string |
| wildcard | - second subnet wildcard mask string |
| SCNetException | - incorrect second subnet address string or wildcard mask detected |
Returns a subnet, which combines the receiver's subnet and the specified subnet.
| subnet | - second subnet |
| - (SCSubnet *) subnetWithMergedSubnets: | (NSArray *) | subnets |
Returns a subnet, which combines the receiver's subnet and combined subnet with the specified list.
| subnets | - subnets list |
| + (SCSubnet *) subnetWithStartAddress: | (SCIPAddress *) | start | |
| endAddress: | (SCIPAddress *) | end | |
Returns a subnet created by using the specified start and end addresses.
| start | - subnet start address |
| end | - subnet end address |
| SCNetException | - incorrect subnet start or end address detected or subnet end address is less or equal to start address |
| + (SCSubnet *) subnetWithStartString: | (NSString *) | start | |
| endString: | (NSString *) | end | |
Returns a subnet created by using the specified start and end addresses strings.
| start | - subnet start address string |
| end | - subnet end address string |
| SCNetException | - incorrect subnet start or end address string detected or subnet end address is less or equal to start address |
Returns a subnet from the specified stream.
| stream | - input stream for reading |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| + (SCSubnet *) subnetWithString: | (NSString *) | address |
Returns a classfull network by using the specified address string.
| address | - classfull network address string |
| SCNetException | - incorrect classfull network address string detected |
| + (SCSubnet *) subnetWithString: | (NSString *) | address | |
| count: | (SCUInteger) | count | |
Returns a subnet created by using the specified address string and hosts count.
| address | - subnet address string |
| count | - subnet hosts count |
| SCNetException | - incorrect subnet address string or hosts count detected |
Returns a subnet created by using the specified address string and prefix length.
| address | - subnet address string |
| length | - subnet prefix length |
| SCNetException | - incorrect subnet address string or prefix length detected |
| + (SCSubnet *) subnetWithString: | (NSString *) | address | |
| mask: | (SCSubnetMask *) | mask | |
Returns a subnet created by using the specified address string and mask.
| address | - subnet address string |
| mask | - subnet mask |
| SCNetException | - incorrect subnet address string or mask detected |
| + (SCSubnet *) subnetWithString: | (NSString *) | address | |
| maskString: | (NSString *) | mask | |
Returns a subnet created by using the specified address and mask strings.
| address | - subnet address string |
| mask | - subnet mask string |
| SCNetException | - incorrect subnet address string or mask string detected |
| + (SCSubnet *) subnetWithString: | (NSString *) | address | |
| prefix: | (NSString *) | prefix | |
Returns a subnet created by using the specified address string and prefix.
| address | - subnet address string |
| prefix | - subnet prefix string |
| SCNetException | - incorrect subnet address string or prefix string detected |
| + (SCSubnet *) subnetWithString: | (NSString *) | address | |
| wildcard: | (NSString *) | wildcard | |
Returns a subnet created by using the specified address string and wildcard mask.
| address | - subnet address string |
| wildcard | - subnet wildcard mask string |
| SCNetException | - incorrect subnet address string or wildcard mask string detected |
Returns a subnet created by using the specified existing subnet instance.
| subnet | - existing subnet instance |
| + (SCSubnet *) subnetWithSubnets: | (NSArray *) | subnets |
Returns a subnet created by using the specified combined subnet.
| subnets | - subnets list |
| SCNetException | - empty subnets list detected |
| - (NSString *) wildcard |
Returns a subnet wildcard mask.
1.7.3