Package | com.ericfeminella.net |
Interface | public interface IIPInspector |
Implementors | IPV4Inspector |
Method | Defined by | ||
---|---|---|---|
getHostOctet():String
Determines the host octet of the specified IP Address
| IIPInspector | ||
getNetworkClass():String
Determines the network class of the specified IP Address
| IIPInspector | ||
getNetworkOctet():uint
Determines the network octet of the specified IP Address
| IIPInspector | ||
isLoopback():Boolean
Determines if the IPAddress specified is a loopback address.
| IIPInspector | ||
isValid():Boolean
Determines if the IPAddress specified is a valid IPv4 address
| IIPInspector | ||
isValidNetworkHost():Boolean
Determines if the specified IP Address is valid for Network assignment
| IIPInspector | ||
isWithinClassRange(networkClass:String):Boolean
Determines if the IP Address is within range of the specified
network class
| IIPInspector |
getHostOctet | () | method |
public function getHostOctet():String
Determines the host octet of the specified IP Address
ReturnsString — the host octet of the specified IP Address
|
getNetworkClass | () | method |
public function getNetworkClass():String
Determines the network class of the specified IP Address
ReturnsString — the class of the specified IP Address, Class A,B or C
|
getNetworkOctet | () | method |
public function getNetworkOctet():uint
Determines the network octet of the specified IP Address
Returnsuint — the network octet of the specified IP Address
|
isLoopback | () | method |
public function isLoopback():Boolean
Determines if the IPAddress specified is a loopback address.
ReturnsBoolean — true if the address is a loopback address, otherwise false
|
isValid | () | method |
public function isValid():Boolean
Determines if the IPAddress specified is a valid IPv4 address
ReturnsBoolean — true if the IP address is a valid IPv4 address, false if not
|
isValidNetworkHost | () | method |
public function isValidNetworkHost():Boolean
Determines if the specified IP Address is valid for Network assignment
ReturnsBoolean — true if the address is valid for network assignment, otherwise false
|
isWithinClassRange | () | method |
public function isWithinClassRange(networkClass:String):Boolean
Determines if the IP Address is within range of the specified network class
ParametersnetworkClass:String — IP Address in which to validate the class range
|
Boolean — true if the IP Address is within range, false if not
|