Interface IProxyChangeEvent


public interface IProxyChangeEvent
Event which describes a change in the proxy information managed by the IProxyService.

This interface is not intended to be implemented by clients.

Since:
1.0
See Also:
  • Field Details

  • Method Details

    • getChangeType

      int getChangeType()
      Return the type of change this event represents. Clients should ignore types they do not recognize.
      Returns:
      the type of change this event represents
      See Also:
    • getOldNonProxiedHosts

      String[] getOldNonProxiedHosts()
      For a change type of NONPROXIED_HOSTS_CHANGED, this method will return the list of non-proxied hosts before the change occurred.
      Returns:
      the list of non-proxied hosts before the change occurred
    • getNonProxiedHosts

      String[] getNonProxiedHosts()
      For a change type of NONPROXIED_HOSTS_CHANGED, this method will return the list of non-proxied hosts after the change occurred.
      Returns:
      the list of non-proxied hosts after the change occurred
    • getOldProxyData

      IProxyData[] getOldProxyData()
      For a change type of PROXY_DATA_CHANGED, this method returns the state of all known proxies before the change occurred.
      Returns:
      the state of all known proxies before the change occurred
    • getChangedProxyData

      IProxyData[] getChangedProxyData()
      For a change type of PROXY_DATA_CHANGED, this method returns the state of the changed known proxies after the change occurred. Clients should check the IProxyService.isProxiesEnabled() method to see if the proxy data change was the result of proxies being disabled.
      Returns:
      the state of the changed known proxies after the change occurred