org.rococoa.cocoa.cfnetwork
Interface CFNetworkLibrary.CFProxyAutoConfigurationResultCallback

All Superinterfaces:
Callback
Enclosing interface:
CFNetworkLibrary

public static interface CFNetworkLibrary.CFProxyAutoConfigurationResultCallback
extends Callback

CFProxyAutoConfigurationResultCallback

Discussion:
Callback function to be called when a PAC file computation
(initiated by either CFNetworkExecuteProxyAutoConfigurationScript
or CFNetworkExecuteProxyAutoConfigurationURL) has completed.

Parameters:

client:
The client reference passed in to
CFNetworkExecuteProxyAutoConfigurationScript or
CFNetworkExecuteProxyAutoConfigurationURL

proxyList:
Upon success, the list of proxies returned by the
autoconfiguration script. The list has the same format as
returned by CFProxyCopyProxiesForURL, above, except that no
entry may be of type kCFProxyTypeAutoConfigurationURL. Note
that if the client wishes to keep this list, they must retain
it when they receive this callback.

error:
Upon failure, an error object explaining the failure.
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Callback
Callback.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Callback
FORBIDDEN_NAMES, METHOD_NAME
 
Method Summary
 void invoke(Pointer client, HIServicesLibrary.__CFArray proxyList, ColorSyncLibrary.__CFError error)
           
 

Method Detail

invoke

void invoke(Pointer client,
            HIServicesLibrary.__CFArray proxyList,
            ColorSyncLibrary.__CFError error)


Copyright © 2009. All Rights Reserved.