
ip.IPListProvider
| Method Summary | |
| public any | init([any firewallInstance])Initialize the IPListManager | 
| public void | addIP([string listID], [struct data])Adds an IP to the list | 
| public void | addList([string listID=""], [struct data])Adds a list to the providers repository | 
| public boolean | assertValidIPData([any data])Throws exception if invalid or returns true if valid. | 
| public boolean | canAddList()Returns true if the provider supports adding a new list | 
| public array | getAllIPData([string listID])Returns an array of structs containing all the data | 
| public string | getCounter([any ipAddress], [string listID])Returns the value of the counter for the IP or empty string if IP does not have a counter value | 
| public struct | getDataByID([any ipID], [string listID])Returns a structure with info corresponding to the ID or an empty struct if list has no info about the ID | 
| public string | getIPAsInteger([any ip])Determines the protocol version and gets the IP as integer | 
| public struct | getIPData([any ipAddress], [string listID])Returns a structure with info about the IP or an empty struct if list has no info about the IP | 
| public array | getIPLists()Returns an array of structures with keys: name, type, id | 
| public string | getIPV4AsInteger([any ip])Returns an IPV4 address as an unsigned integer | 
| public struct | getIPV4CIDR([any ip]) | 
| public string | getIPV4FromInteger([any ip])Given an unsigned integer returns a IPv4 address in decimal format | 
| public string | getIPV6AsInteger([any ip])Returns an IPV6 address as an unsigned integer | 
| public string | getIPV6FromInteger([any ip])Given an unsigned integer returns a IPv6 address | 
| public numeric | getIPVersion([any ip])Returns 4 or 6 | 
| public numeric | getListCount([string listID])Returns the number of records in the list | 
| public string | getName()Returns the name of the list provider | 
| public boolean | hasIP([any ipAddress], [string listID]) | 
| public void | incrementCounter([any ipAddress], [string listID])Increments the counter value by one. If the IP does not exist on the list yet it will add it to the list and set the counter to 1 | 
| public boolean | isManagerEnabled()Returns true if provider can be managed by fuseguard manager | 
| public boolean | isValidIPVersion4([any ip])Returns true is valid ipv4 decimal format | 
| public boolean | isValidIPVersion4Integer([any ip])Returns true is valid ipv4 decimal format | 
| public boolean | isValidIPVersion6([any ip])Returns true if in valid IPv6 format | 
| public boolean | isValidIPVersion6Integer([any ip])Returns true if in valid IPv6 integer | 
| public void | removeIPLastUpdatedBefore([string listID=""], [date updatedBefore])Removes IPs that have not been updated since the date specified | 
| public void | updateIP([string ipID], [string listID], [struct data])Updates an IP in the list | 
| Method Detail | 
public void addIP([string listID], [struct data])
[string listID][struct data]public void addList([string listID=""], [struct data])
[string listID=""][struct data]public boolean assertValidIPData([any data])
[any data]public boolean canAddList()
public array getAllIPData([string listID])
[string listID]public string getCounter([any ipAddress], [string listID])
[any ipAddress][string listID]public struct getDataByID([any ipID], [string listID])
[any ipID][string listID]public string getIPAsInteger([any ip])
[any ip]public struct getIPData([any ipAddress], [string listID])
[any ipAddress][string listID]public array getIPLists()
public string getIPV4AsInteger([any ip])
[any ip]public struct getIPV4CIDR([any ip])
[any ip]public string getIPV4FromInteger([any ip])
[any ip]public string getIPV6AsInteger([any ip])
[any ip]public string getIPV6FromInteger([any ip])
[any ip]public numeric getIPVersion([any ip])
[any ip]public numeric getListCount([string listID])
[string listID]public string getName()
public boolean hasIP([any ipAddress], [string listID])
[any ipAddress][string listID]public void incrementCounter([any ipAddress], [string listID])
[any ipAddress][string listID]public any init([any firewallInstance])
[any firewallInstance]public boolean isManagerEnabled()
public boolean isValidIPVersion4([any ip])
[any ip]public boolean isValidIPVersion4Integer([any ip])
[any ip]public boolean isValidIPVersion6([any ip])
[any ip]public boolean isValidIPVersion6Integer([any ip])
[any ip]public void removeIPLastUpdatedBefore([string listID=""], [date updatedBefore])
[string listID=""][date updatedBefore]public void updateIP([string ipID], [string listID], [struct data])
[string ipID][string listID][struct data]