Samond Classes Library 1.1.6-RELEASE build 132

SCSubnet Class Reference

IPv4 subnet representation class. More...

#import <SCSubnet.h>

Inheritance diagram for SCSubnet:
SCNetObject SCObject <SCDictionaryObjectProtocol> <SCCodingProtocol> <SCStreamProtocol> <SCCollectionProtocol>

List of all members.

Public Member Functions

Initializing Subnets
(id) - init
(id) - initWithAddress:
(id) - initWithAddress:mask:
(id) - initWithAddress:maskString:
(id) - initWithAddress:length:
(id) - initWithAddress:prefix:
(id) - initWithAddress:wildcard:
(id) - initWithAddress:count:
(id) - initWithString:
(id) - initWithString:mask:
(id) - initWithString:maskString:
(id) - initWithString:length:
(id) - initWithString:prefix:
(id) - initWithString:wildcard:
(id) - initWithString:count:
(id) - initWithSubnet:
(id) - initWithInternet
(id) - initWithStartAddress:endAddress:
(id) - initWithStartString:endString:
(id) - initWithSubnets:
Comparing Subnets
(BOOL) - isEqual:
(BOOL) - isEqualToSubnet:
(BOOL) - isEqualToAddress:
(BOOL) - isEqualToAddress:mask:
(BOOL) - isEqualToAddress:maskString:
(BOOL) - isEqualToAddress:length:
(BOOL) - isEqualToAddress:prefix:
(BOOL) - isEqualToAddress:wildcard:
(BOOL) - isEqualToAddress:count:
(BOOL) - isEqualToString:
(BOOL) - isEqualToString:mask:
(BOOL) - isEqualToString:maskString:
(BOOL) - isEqualToString:length:
(BOOL) - isEqualToString:prefix:
(BOOL) - isEqualToString:wildcard:
(BOOL) - isEqualToString:count:
(BOOL) - isEqualToMask:
(BOOL) - isEqualToMaskString:
(BOOL) - isEqualToLength:
(BOOL) - isEqualToPrefix:
(BOOL) - isEqualToWildcard:
(BOOL) - isEqualToCount:
(BOOL) - isEqualToNetAddress:
(BOOL) - isEqualToNetString:
(BOOL) - isEqualToStartAddress:endAddress:
(BOOL) - isEqualToStartString:endString:
(BOOL) - isEqualToSubnets:
Setting Subnets
(void) - setAddress:
(void) - setAddress:mask:
(void) - setAddress:maskString:
(void) - setAddress:length:
(void) - setAddress:prefix:
(void) - setAddress:wildcard:
(void) - setAddress:count:
(void) - setString:
(void) - setString:mask:
(void) - setString:maskString:
(void) - setString:length:
(void) - setString:prefix:
(void) - setString:wildcard:
(void) - setString:count:
(void) - copySubnet:
(void) - setStartAddress:endAddress:
(void) - setStartString:endString:
(void) - setSubnets:
Querying Subnet Related Addresses
(SCIPAddress *) - netAddress
(SCIPAddress *) - broadcastAddress
(SCIPAddress *) - firstAddress
(SCIPAddress *) - lastAddress
Querying Subnet
(SCIPAddress *) - address
(SCSubnetMask *) - mask
(NSString *) - prefix
(SCUByte- length
(NSString *) - wildcard
(NSString *) - stringWithMask
(NSString *) - stringWithPrefix
(NSString *) - description
Querying Subnet Hosts Count
(SCUInteger- count
Subnet Address Methods
(BOOL) - isIncludeAddress:
(BOOL) - isIncludeString:
(BOOL) - isHostAddress:
(BOOL) - isHostString:
(BOOL) - isNetAddress:
(BOOL) - isNetString:
(BOOL) - isBroadcast:
(BOOL) - isBroadcastString:
Subnetting
(BOOL) - isIncludeSubnet:
(BOOL) - isIncludeSubnetWithAddress:
(BOOL) - isIncludeSubnetWithAddress:mask:
(BOOL) - isIncludeSubnetWithAddress:maskString:
(BOOL) - isIncludeSubnetWithAddress:length:
(BOOL) - isIncludeSubnetWithAddress:prefix:
(BOOL) - isIncludeSubnetWithAddress:wildcard:
(BOOL) - isIncludeSubnetWithAddress:count:
(BOOL) - isIncludeSubnetWithString:
(BOOL) - isIncludeSubnetWithString:mask:
(BOOL) - isIncludeSubnetWithString:maskString:
(BOOL) - isIncludeSubnetWithString:length:
(BOOL) - isIncludeSubnetWithString:prefix:
(BOOL) - isIncludeSubnetWithString:wildcard:
(BOOL) - isIncludeSubnetWithString:count:
(BOOL) - isIncludeSubnetWithStartAddress:endAddress:
(BOOL) - isIncludeSubnetWithStartString:endString:
(BOOL) - isIncludeSubnets:
(BOOL) - isIncludedIntoSubnet:
(BOOL) - isIncludedIntoSubnetWithAddress:
(BOOL) - isIncludedIntoSubnetWithAddress:mask:
(BOOL) - isIncludedIntoSubnetWithAddress:maskString:
(BOOL) - isIncludedIntoSubnetWithAddress:length:
(BOOL) - isIncludedIntoSubnetWithAddress:prefix:
(BOOL) - isIncludedIntoSubnetWithAddress:wildcard:
(BOOL) - isIncludedIntoSubnetWithAddress:count:
(BOOL) - isIncludedIntoSubnetWithString:
(BOOL) - isIncludedIntoSubnetWithString:mask:
(BOOL) - isIncludedIntoSubnetWithString:maskString:
(BOOL) - isIncludedIntoSubnetWithString:length:
(BOOL) - isIncludedIntoSubnetWithString:prefix:
(BOOL) - isIncludedIntoSubnetWithString:wildcard:
(BOOL) - isIncludedIntoSubnetWithString:count:
(BOOL) - isIncludedIntoSubnetWithStartAddress:endAddress:
(BOOL) - isIncludedIntoSubnetWithStartString:endString:
(BOOL) - isIncludedIntoSubnets:
(BOOL) - isDivided
(BOOL) - isDividedWithMask:
(BOOL) - isDividedWithString:
(BOOL) - isDividedWithLength:
(BOOL) - isDividedWithPrefix:
(BOOL) - isDividedWithWildcard:
(BOOL) - isDividedWithCount:
(BOOL) - isDividedWithSubnetsCount:
(SCUInteger- subnetsCountWithMask:
(SCUInteger- subnetsCountWithString:
(SCUInteger- subnetsCountWithLength:
(SCUInteger- subnetsCountWithPrefix:
(SCUInteger- subnetsCountWithWildcard:
(SCUInteger- subnetsCountWithCount:
(SCUInteger- maximumSubnets
(NSArray *) - subnetsWithMask:
(NSArray *) - subnetsWithString:
(NSArray *) - subnetsWithLength:
(NSArray *) - subnetsWithPrefix:
(NSArray *) - subnetsWithWildcard:
(NSArray *) - subnetsWithCount:
(NSArray *) - subnetsWithSubnetsCount:
(SCSubnet *) - subnetWithMergedSubnet:
(SCSubnet *) - subnetWithMergedAddress:
(SCSubnet *) - subnetWithMergedAddress:mask:
(SCSubnet *) - subnetWithMergedAddress:maskString:
(SCSubnet *) - subnetWithMergedAddress:length:
(SCSubnet *) - subnetWithMergedAddress:prefix:
(SCSubnet *) - subnetWithMergedAddress:wildcard:
(SCSubnet *) - subnetWithMergedAddress:count:
(SCSubnet *) - subnetWithMergedString:
(SCSubnet *) - subnetWithMergedString:mask:
(SCSubnet *) - subnetWithMergedString:maskString:
(SCSubnet *) - subnetWithMergedString:length:
(SCSubnet *) - subnetWithMergedString:prefix:
(SCSubnet *) - subnetWithMergedString:wildcard:
(SCSubnet *) - subnetWithMergedString:count:
(SCSubnet *) - subnetWithMergedSubnets:
(SCSubnet *) - subnetWithMergedStartAddress:endAddress:
(SCSubnet *) - subnetWithMergedStartString:endString:
(BOOL) - isConnectedWithSubnet:
(BOOL) - isConnectedWithAddress:
(BOOL) - isConnectedWithAddress:mask:
(BOOL) - isConnectedWithAddress:maskString:
(BOOL) - isConnectedWithAddress:length:
(BOOL) - isConnectedWithAddress:prefix:
(BOOL) - isConnectedWithAddress:wildcard:
(BOOL) - isConnectedWithAddress:count:
(BOOL) - isConnectedWithString:
(BOOL) - isConnectedWithString:mask:
(BOOL) - isConnectedWithString:maskString:
(BOOL) - isConnectedWithString:length:
(BOOL) - isConnectedWithString:prefix:
(BOOL) - isConnectedWithString:wildcard:
(BOOL) - isConnectedWithString:count:
(BOOL) - isConnectedWithStartAddress:endAddress:
(BOOL) - isConnectedWithStartString:endString:
(BOOL) - isConnectedWithSubnets:
Classfull and Network Methods
(BOOL) - isClassfull
(BOOL) - isClassless
(NSString *) - subnetClass
(BOOL) - isClassA
(BOOL) - isClassB
(BOOL) - isClassC
(BOOL) - isInternet
(BOOL) - isSerialLink

Static Public Member Functions

Creating Subnets
(SCSubnet *) + subnet
(SCSubnet *) + subnetWithAddress:
(SCSubnet *) + subnetWithAddress:mask:
(SCSubnet *) + subnetWithAddress:maskString:
(SCSubnet *) + subnetWithAddress:length:
(SCSubnet *) + subnetWithAddress:prefix:
(SCSubnet *) + subnetWithAddress:wildcard:
(SCSubnet *) + subnetWithAddress:count:
(SCSubnet *) + subnetWithString:
(SCSubnet *) + subnetWithString:mask:
(SCSubnet *) + subnetWithString:maskString:
(SCSubnet *) + subnetWithString:length:
(SCSubnet *) + subnetWithString:prefix:
(SCSubnet *) + subnetWithString:wildcard:
(SCSubnet *) + subnetWithString:count:
(SCSubnet *) + subnetWithSubnet:
(SCSubnet *) + subnetWithInternet
(SCSubnet *) + subnetWithStartAddress:endAddress:
(SCSubnet *) + subnetWithStartString:endString:
(SCSubnet *) + subnetWithSubnets:
(SCSubnet *) + subnetWithDataDictionary:
(SCSubnet *) + subnetWithDataDictionaryFromFile:
(SCSubnet *) + subnetWithCoder:
(SCSubnet *) + subnetWithContentsOfSerializedFile:
(SCSubnet *) + subnetWithStream:
(SCSubnet *) + subnetWithFileStream:

Detailed Description

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:


Member Function Documentation

- (SCIPAddress *) address

Returns a subnet address.

Returns:
A subnet address
- (SCIPAddress *) broadcastAddress

Returns a subnet broadcast address.

Returns:
A subnet broadcast address
- (void) copySubnet: (SCSubnet *)  subnet

Sets subnet to the specified existing subnet instance.

Parameters:
subnet- existing subnet instance
Exceptions:
SCNetException- incorrect source subnet instance detected
- (SCUInteger) count

Returns a subnet regular hosts count.

Returns:
A regular hosts count
- (NSString *) description

Returns a subnet instance description.

Returns:
An instance description
- (SCIPAddress *) firstAddress

Returns a subnet first regular address.

Returns:
A first regular address
- (id) init

Initializes the empty subnet instance.

Returns:
A newly initialized subnet
- (id) initWithAddress: (SCIPAddress *)  address

Initializes the subnet using the specified classfull address.

Parameters:
address- classfull address
Returns:
A newly initialized subnet
Exceptions:
SCNetException- incorrect classfull address detected
- (id) initWithAddress: (SCIPAddress *)  address
count: (SCUInteger count 

Initializes the subnet using the specified subnet address and required hosts count.

Parameters:
address- subnet address
count- required subnet hosts count
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address
length- subnet prefix length
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address
mask- subnet mask
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address
mask- subnet mask string
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address
prefix- subnet prefix string
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address
wildcard- wildcard mask string
Returns:
A newly initialized subnet
Exceptions:
SCNetException- incorrect subnet address or wildcard mask string detected
- (id) initWithInternet

Initializes th global Internet subnet (0.0.0.0/0).

Returns:
A newly initialized subnet
- (id) initWithStartAddress: (SCIPAddress *)  start
endAddress: (SCIPAddress *)  end 

Initializes the subnet using the specified start and end subnet addresses.

Parameters:
start- subnet start address
end- subnet end address
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
start- subnet start address string
end- subnet end address string
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
count- required hosts count
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
length- subnet prefix length
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
mask- subnet mask
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
mask- subnet mask string
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
prefix- subnet prefix string
Returns:
A newly initialized subnet
Exceptions:
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.

Parameters:
address- subnet address string
wildcard- wildcard mask string
Returns:
A newly initialized subnet
Exceptions:
SCNetException- incorrect subnet address string or wildcard mask string detected
- (id) initWithSubnet: (SCSubnet *)  subnet

Initializes the subnet using the specified existing subnet instance.

Parameters:
subnet- existing subnet instance
Returns:
A newly initialized subnet
Exceptions:
SCNetException- incorrect source subnet instance detected
- (id) initWithSubnets: (NSArray *)  subnets

Initializes the combined subnet using the specified subnets list.

Parameters:
subnets- subnets list
Returns:
A newly initialized subnet
Exceptions:
SCNetException- empty subnets list
- (BOOL) isBroadcast: (SCIPAddress *)  address

Checks whether the specified address is the receiver's subnet broadcast address.

Parameters:
address- checked address
Returns:
YES if the address is the receiver's subnet broadcast address
- (BOOL) isBroadcastString: (NSString *)  address

Checks whether the specified address string represents the receiver's subnet broadcast address.

Parameters:
address- checked address string
Returns:
YES if the address is the receiver's broadcast address
Exceptions:
SCNetException- incorrect checked address string detected
- (BOOL) isClassA

Determines whether the receiver's subnet is a class A network.

Returns:
YES if the receiver's subnet is a class A network, otherwise NO
- (BOOL) isClassB

Determines whether the receiver's subnet is a class B network.

Returns:
YES if the receiver's subnet is a class B network, otherwise NO
- (BOOL) isClassC

Determines whether the receiver's subnet is a class C network.

Returns:
YES if the receiver's subnet is a class C network, otherwise NO
- (BOOL) isClassfull

Determines whether the receiver's subnet is a classfull network.

Returns:
YES if the receiver's subnet is a classfull network, otherwise NO
- (BOOL) isClassless

Determines whether the receiver's subnet is a classless subnet.

Returns:
YES if the receiver's subnet is a classless subnet, otherwise NO
- (BOOL) isConnectedWithAddress: (SCIPAddress *)  address

Checks whether a receiver's subnet borders in a classfull subnet with the specified address.

Parameters:
address- classfull subnet address
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
count- second subnet hosts count
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
length- second subnet prefix length
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
mask- second subnet mask
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
mask- second subnet mask string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
prefix- second subnet prefix string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
wildcard- second subnet wildcard mask string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
start- second subnet start address
end- second subnet end address
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
start- second subnet start address string
end- second subnet end address string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- classfull subnet address string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
count- second subnet hosts count
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
length- second subnet prefix length
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
mask- second subnet mask
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
mask- second subnet mask string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
prefix- second subnet prefix string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
wildcard- second subnet wildcard mask string
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
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.

Parameters:
subnet- second subnet
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
- (BOOL) isConnectedWithSubnets: (NSArray *)  subnets

Checks whether a receiver's subnet borders in a combined subnet with the specified subnets list.

Parameters:
subnets- subnets list
Returns:
YES if a receiver's subnet borders in a second subnet, otherwise NO
Exceptions:
SCNetException- empty subnets list detected
- (BOOL) isDivided

Determines the ability to devide the receiver's subnet into smaller subnets.

Returns:
YES if devide is possible, otherwise NO
- (BOOL) isDividedWithCount: (SCUInteger count

Determines the ability to devide the receiver's subnet into subnets with the specified hosts count.

Parameters:
count- subnet hosts count
Returns:
YES if device is possible, otherwise NO
Exceptions:
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.

Parameters:
length- subnet prefix length
Returns:
YES if device is possible, otherwise NO
Exceptions:
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.

Parameters:
mask- subnet mask
Returns:
YES if device is possible, otherwise NO
Exceptions:
SCNetException- incorrect subnet mask detected
- (BOOL) isDividedWithPrefix: (NSString *)  prefix

Determines the ability to devide the receiver's subnet into subnets with the specified prefix.

Parameters:
prefix- subnet prefix string
Returns:
YES if device is possible, otherwise NO
Exceptions:
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.

Parameters:
mask- subnet mask string
Returns:
YES if device is possible, otherwise NO
Exceptions:
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.

Parameters:
count- required subnets count
Returns:
YES if device is possible, otherwise NO
- (BOOL) isDividedWithWildcard: (NSString *)  wildcard

Determines the ability to devide the receiver's subnet into subnets with the specified wildcard mask.

Parameters:
wildcard- subnet wildcard mask string
Returns:
YES if device is possible, otherwise NO
Exceptions:
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.

Parameters:
subnet- second comparing argument
Returns:
YES if receiver's subnet and second argument are equal, otherwise NO
Exceptions:
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.

Parameters:
address- classfull subnet address
Returns:
YES if receiver's subnet is equal to classfull subnet address, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
count- second subnet hosts count
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
length- second subnet prefix length
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
mask- second subnet mask
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
mask- second subnet mask sting
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
prefix- second subnet prefix string
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address
wildcard- second subnet wildcard mask string
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
count- second subnet hosts count
Returns:
YES if subnets masks are equal, otherwise NO
Exceptions:
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.

Parameters:
length- second subnet prefix length
Returns:
YES if receiver's subnet mask is equal to specified subnet prefix length, otherwise NO
Exceptions:
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.

Parameters:
mask- second subnet mask
Returns:
YES if subnets masks are equal, otherwise NO
Exceptions:
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.

Parameters:
mask- second subnet mask string
Returns:
YES if subnets masks are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second address
Returns:
YES if addresses are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second address string
Returns:
YES if addresses are equal, otherwise NO
Exceptions:
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.

Parameters:
prefix- second subnet prefix string
Returns:
YES if receiver's subnet mask is equal to specified subnet prefix, otherwise NO
Exceptions:
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.

Parameters:
start- second subnet start address
end- second subnet end address
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
start- second subnet start address string
end- second subnet end address string
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- classfull address string
Returns:
YES if receiver's subnet is equal to classfull address string, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
count- seconf subnet hosts count
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
length- second subnet prefix length
Returns:
YES if subnets are eqaul, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
mask- second subnet mask
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
mask- second subnet mask string
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
prefix- second subnet prefix string
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
address- second subnet address string
wildcard- second subnet wildcard mask string
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
subnet- second comparing argument
Returns:
YES if subnets are equal, otherwise NO
- (BOOL) isEqualToSubnets: (NSArray *)  subnets

Returns a Boolean value as a result of comparing receiver's subnet and specified combined subnet.

Parameters:
subnets- subnets list
Returns:
YES if subnets are equal, otherwise NO
Exceptions:
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.

Parameters:
wildcard- second subnet wildcard mask string
Returns:
YES if receiver's subnet mask is equal to specified wildcard mask, otherwise NO
Exceptions:
SCNetException- incorrect second subnet wildcard mask string
- (BOOL) isHostAddress: (SCIPAddress *)  address

Checks whether the specified address is the receiver's subnet regular host address.

Parameters:
address- checked address
Returns:
YES if the address is the receiver's subnet regular host address, otherwise NO
- (BOOL) isHostString: (NSString *)  address

Checks whether the specified address string represents the receiver's subnet regular host address.

Parameters:
address- checked address string
Returns:
YES if the address is the receiver's subnet regular host address, otherwise NO
Exceptions:
SCNetException- incorrect checked address string detected
- (BOOL) isIncludeAddress: (SCIPAddress *)  address

Checks whether the specified address includes into the receiver's subnet.

Parameters:
address- checked address
Returns:
YES if the address is included into the receiver's subnet, otherwise NO
- (BOOL) isIncludedIntoSubnet: (SCSubnet *)  subnet

Checks the occurrence of the receiver's subnet into the specified subnet.

Parameters:
subnet- checked subnet
Returns:
YES if the subnet includes the receiver's subnet, otherwise NO
- (BOOL) isIncludedIntoSubnets: (NSArray *)  subnets

Checks the occurrence of the receiver's subnet into the compbined subnet with the specified subnets list.

Parameters:
subnets- checked subnets list
Returns:
YES if the combined specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked classfull subnet address
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
count- checked subnet hosts count
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
length- checked subnet prefix length
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
mask- checked subnet mask
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
mask- checked subnet mask string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
prefix- checked subnet prefix string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
wildcard- checked subnet wildcard mask string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
start- checked subnet start address
end- checked subnet end address
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
start- checked subnet start address string
end- checked subnet end address string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked classfull network address string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
count- checked subnet hosts count
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
length- checked subnet prefix length
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
mask- checked subnet mask
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
mask- checked subnet mask string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
prefix- checked subnet prefix string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
wildcard- checked subnet wildcard mask string
Returns:
YES if the specified subnet includes the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checkd address string
Returns:
YES if the address is included into the receiver's subnet, otherwise NO
Exceptions:
SCNetException- incorret checked address string detected
- (BOOL) isIncludeSubnet: (SCSubnet *)  subnet

Checks the occurrence of the specified subnet into the receiver's subnet.

Parameters:
subnet- checked subnet
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
- (BOOL) isIncludeSubnets: (NSArray *)  subnets

Checks the occurrence of the combined subnet with the specified subnets list into the receiver's subnet.

Parameters:
subnets- checked subnets list
Returns:
YES if the combined subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- classfull subnet address
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
count- checked subnet hosts count
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
length- checked subnet prefix length
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
mask- checked subnet mask
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
mask- checked subnet mask string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
prefix- checked subnet prefix string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address
wildcard- checked subnet wildcard mask string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
start- checked subnet start address
end- checked subnet end address
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
start- checked subnet start address string
end- checked subnet end address string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
count- checked subnet hosts count
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
length- checked subnet prefix length
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
mask- checked subnet mask
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
mask- checked subnet mask string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
prefix- checked subnet prefix string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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.

Parameters:
address- checked subnet address string
wildcard- checked subnet wildcard mask string
Returns:
YES if the subnet is included into the receiver's subnet, otherwise NO
Exceptions:
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).

Returns:
YES if the receiver's subnet is a global Internet subnet
- (BOOL) isNetAddress: (SCIPAddress *)  address

Checks whether the specified address is the receiver's subnet address.

Parameters:
address- checked address
Returns:
YES if the address is the receiver's subnet address
- (BOOL) isNetString: (NSString *)  address

Checks whether the specified address string represents the receiver's subnet address.

Parameters:
address- checked address string
Returns:
YES if the address is the receiver's subnet address
Exceptions:
SCNetException- incorrect checked address string detected
- (BOOL) isSerialLink

Determines whether the receiver's subnet is a serial link subnet.

Returns:
YES if the receiver's subnet is a serial link subnet
- (SCIPAddress *) lastAddress

Returns a subnet last regular address.

Returns:
A last regular address
- (SCUByte) length

Returns a subnet prefix length.

Returns:
A subnet prefix length
- (SCSubnetMask *) mask

Returns a subnet mask.

Returns:
A subnet mask
- (SCUInteger) maximumSubnets

Returns a maximum number of subnets, on which the receiver's subnet can be devided.

Returns:
A maximum number of subnets
- (SCIPAddress *) netAddress

Returns a subnet address. Method is similar to address.

Returns:
A subnet address
- (NSString *) prefix

Returns a subnet prefix.

Returns:
A subnet prefix string
- (void) setAddress: (SCIPAddress *)  address

Sets subnet classfull address with the default classfull subnet mask.

Parameters:
address- classfull address
Exceptions:
SCNetException- incorrect classfull address detected
- (void) setAddress: (SCIPAddress *)  address
count: (SCUInteger count 

Sets subnet to the specified address and required hosts count.

Parameters:
address- subnet address
count- required hosts count
Exceptions:
SCNetException- incorrect subnet address or hosts count detected
- (void) setAddress: (SCIPAddress *)  address
length: (SCUByte length 

Sets subnet to the specified address and prefix length.

Parameters:
address- subnet address
length- subnet prefix length
Exceptions:
SCNetException- incorrect subnet address or prefix length detected
- (void) setAddress: (SCIPAddress *)  address
mask: (SCSubnetMask *)  mask 

Sets subnet to the specified address and mask.

Parameters:
address- subnet address
mask- subnet mask
Exceptions:
SCNetException- incorrect subnet address or mask detected
- (void) setAddress: (SCIPAddress *)  address
maskString: (NSString *)  mask 

Sets subnet to the specified address and mask string.

Parameters:
address- subnet address
mask- subnet mask string
Exceptions:
SCNetException- incorrect subnet address or mask string detected
- (void) setAddress: (SCIPAddress *)  address
prefix: (NSString *)  prefix 

Sets subnet to the specified address and prefix.

Parameters:
address- subnet address
prefix- subnet prefix string
Exceptions:
SCNetException- incorrect subnet address or prefix string detected
- (void) setAddress: (SCIPAddress *)  address
wildcard: (NSString *)  wildcard 

Sets subnet to the specified address and wildcard mask.

Parameters:
address- subnet address
wildcard- subnet wildcard mask string
Exceptions:
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.

Parameters:
start- subnet start address
end- subnet end address
Exceptions:
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.

Parameters:
start- subnet start address string
end- subnet end address string
Exceptions:
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.

Parameters:
address- subnet address string
Exceptions:
SCNetException- incorrect subnet address string detected
- (void) setString: (NSString *)  address
count: (SCUInteger count 

Sets subnet to the specified address string and required hosts count.

Parameters:
address- subnet address string
count- subnet hosts count
Exceptions:
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.

Parameters:
address- subnet address string
length- subnet prefix length
Exceptions:
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.

Parameters:
address- subnet address string
mask- subnet mask
Exceptions:
SCNetException- incorrect subnet address string or mask detected
- (void) setString: (NSString *)  address
maskString: (NSString *)  mask 

Sets subnet to the specified address and mask strings.

Parameters:
address- subnet address string
mask- subnet mask string
Exceptions:
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.

Parameters:
address- subnet address string
prefix- subnet prefix string
Exceptions:
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.

Parameters:
address- subnet address string
wildcard- subnet wildcard mask string
Exceptions:
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.

Parameters:
subnets- subnets list
Exceptions:
SCNetException- empty subnets list detected
- (NSString *) stringWithMask

Returns a string with the subnet address and mask.

Returns:
A string with the subnet address and mask
- (NSString *) stringWithPrefix

Returns a string with the subnet address and prefix.

Returns:
A string with the subnet address and prefix
+ (SCSubnet *) subnet

Returns an empty subnet.

Returns:
Created subnet
- (NSString *) subnetClass

Returns a subnet default class.

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.

Parameters:
count- subnet hosts count
Returns:
A number of subnets
Exceptions:
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.

Parameters:
length- subnet prefix length
Returns:
A number of subnets
Exceptions:
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.

Parameters:
mask- subnet mask
Returns:
A number of subnets
Exceptions:
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.

Parameters:
prefix- subnet prefix string
Returns:
A number of subnets
Exceptions:
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.

Parameters:
mask- subnet mask string
Returns:
A number of subnets
Exceptions:
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.

Parameters:
wildcard- subnet wildcard mask string
Returns:
A number of subnets
Exceptions:
SCNetException- incorrect subnet wildcard mask string detected
- (NSArray *) subnetsWithCount: (SCUInteger count

Devides the receiver's subnet on subnets with the specified hosts count.

Parameters:
count- subnet hosts count
Returns:
A subnets list
Exceptions:
SCNetException- incorrect subnet hosts count detected
- (NSArray *) subnetsWithLength: (SCUByte length

Devides the receiver's subnet on subnets with the specified prefix length.

Parameters:
length- subnet prefix length
Returns:
A subnets list
Exceptions:
SCNetException- incorrect subnet prefix length detected
- (NSArray *) subnetsWithMask: (SCSubnetMask *)  mask

Devides the receiver's subnet on subnets with the specified mask.

Parameters:
mask- subnet mask
Returns:
A subnets list
Exceptions:
SCNetException- incorrect subnet mask detected
- (NSArray *) subnetsWithPrefix: (NSString *)  prefix

Devides the receiver's subnet on subnets with the specified prefix.

Parameters:
prefix- subnet prefix string
Returns:
A subnets list
Exceptions:
SCNetException- incorrect subnet prefix string detected
- (NSArray *) subnetsWithString: (NSString *)  mask

Devides the receiver's subnet on subnets with the specified mask string.

Parameters:
mask- subnet mask string
Returns:
A subnets list
Exceptions:
SCNetException- incorrect subnet mask string detected
- (NSArray *) subnetsWithSubnetsCount: (SCUInteger count

Devides the receiver's subnet on the specified subnets count.

Parameters:
count- required subnets count
Returns:
A subnets list
- (NSArray *) subnetsWithWildcard: (NSString *)  wildcard

Devides the receiver's subnet on subnets with the specified wildcard mask.

Parameters:
wildcard- subnet wildcard mask string
Returns:
A subnets list
Exceptions:
SCNetException- incorrect subnet wildcard mask string detected
+ (SCSubnet *) subnetWithAddress: (SCIPAddress *)  address

Returns a classfull subnet created by using the specified address.

Parameters:
address- classfull subnet address
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address
count- subnet hosts count
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address
length- subnet prefix length
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address
mask- subnet mask
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address
mask- subnet mask string
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address
prefix- subnet prefix string
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address
wildcard- subnet wildcard mask string
Returns:
Created subnet
Exceptions:
SCNetException- incorrect subnet address or wildcard mask string detected
+ (SCSubnet *) subnetWithCoder: (NSCoder *)  coder

Returns a subnet from the specified coder.

Parameters:
coder- source coder
Returns:
Created subnet
+ (SCSubnet *) subnetWithContentsOfSerializedFile: (NSString *)  path

Returns a subnet from the serialized file with the specified path.

Parameters:
path- serialized file path
Returns:
Created subnet
+ (SCSubnet *) subnetWithDataDictionary: (NSDictionary *)  dictionary

Returns a subnet from the specified dictionary.

Parameters:
dictionary- source dictionary
Returns:
Created subnet
+ (SCSubnet *) subnetWithDataDictionaryFromFile: (NSString *)  path

Returns a subnet from the dictionary file with the specified path.

Parameters:
path- source dictionary file path
Returns:
Created subnet
+ (SCSubnet *) subnetWithFileStream: (NSString *)  path

Returns an subnet from the file stream with the specified path.

Parameters:
path- file stream path
Returns:
Created subnet
Exceptions:
SCStreamException- stream operation error detected
+ (SCSubnet *) subnetWithInternet

Returns a global Internet subnet (0.0.0.0/0).

Returns:
Created subnet
- (SCSubnet *) subnetWithMergedAddress: (SCIPAddress *)  address

Returns a subnet, which combines the receiver's subnet and classfull subnet with the specified address.

Parameters:
address- classfull subnet address
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address
count- second subnet hosts count
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address
length- second subnet prefix length
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address
mask- second subnet mask
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address
mask- second subnet mask string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address
prefix- second subnet prefix string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address
wildcard- second subnet wildcard mask string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
start- second subnet start address
end- second subnet end address
Returns:
A combined subnet
Exceptions:
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.

Parameters:
start- second subnet start address string
end- second subnet end address string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- classfull subnet address string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address string
count- second subnet hosts count
Returns:
A combined subnet
Exceptions:
SCNetException- incorrect second subnet address string or hosts count detected
- (SCSubnet *) subnetWithMergedString: (NSString *)  address
length: (SCUByte length 

Returns a subnet, which combines the receiver's subnet and subnet with the specified address string and prefix length.

Parameters:
address- second subnet address string
length- second subnet prefix length
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address string
mask- second subnet mask
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address string
mask- second subnet mask string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address string
prefix- second subnet prefix string
Returns:
A combined subnet
Exceptions:
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.

Parameters:
address- second subnet address string
wildcard- second subnet wildcard mask string
Returns:
A combined subnet
Exceptions:
SCNetException- incorrect second subnet address string or wildcard mask detected
- (SCSubnet *) subnetWithMergedSubnet: (SCSubnet *)  subnet

Returns a subnet, which combines the receiver's subnet and the specified subnet.

Parameters:
subnet- second subnet
Returns:
A combined subnet
- (SCSubnet *) subnetWithMergedSubnets: (NSArray *)  subnets

Returns a subnet, which combines the receiver's subnet and combined subnet with the specified list.

Parameters:
subnets- subnets list
Returns:
A combined subnet
+ (SCSubnet *) subnetWithStartAddress: (SCIPAddress *)  start
endAddress: (SCIPAddress *)  end 

Returns a subnet created by using the specified start and end addresses.

Parameters:
start- subnet start address
end- subnet end address
Returns:
Created subnet
Exceptions:
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.

Parameters:
start- subnet start address string
end- subnet end address string
Returns:
Created subnet
Exceptions:
SCNetException- incorrect subnet start or end address string detected or subnet end address is less or equal to start address
+ (SCSubnet *) subnetWithStream: (SCStream *)  stream

Returns a subnet from the specified stream.

Parameters:
stream- input stream for reading
Returns:
Created subnet
Exceptions:
SCStreamException- stream operation error detected
SCSystemException- system error detected
+ (SCSubnet *) subnetWithString: (NSString *)  address

Returns a classfull network by using the specified address string.

Parameters:
address- classfull network address string
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address string
count- subnet hosts count
Returns:
Created subnet
Exceptions:
SCNetException- incorrect subnet address string or hosts count detected
+ (SCSubnet *) subnetWithString: (NSString *)  address
length: (SCUByte length 

Returns a subnet created by using the specified address string and prefix length.

Parameters:
address- subnet address string
length- subnet prefix length
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address string
mask- subnet mask
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address string
mask- subnet mask string
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address string
prefix- subnet prefix string
Returns:
Created subnet
Exceptions:
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.

Parameters:
address- subnet address string
wildcard- subnet wildcard mask string
Returns:
Created subnet
Exceptions:
SCNetException- incorrect subnet address string or wildcard mask string detected
+ (SCSubnet *) subnetWithSubnet: (SCSubnet *)  subnet

Returns a subnet created by using the specified existing subnet instance.

Parameters:
subnet- existing subnet instance
Returns:
Created subnet
+ (SCSubnet *) subnetWithSubnets: (NSArray *)  subnets

Returns a subnet created by using the specified combined subnet.

Parameters:
subnets- subnets list
Returns:
Created subnet
Exceptions:
SCNetException- empty subnets list detected
- (NSString *) wildcard

Returns a subnet wildcard mask.

Returns:
A subnet wildcard mask string

The documentation for this class was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines