/**@class android.net.ip.IpClientCallbacks @extends java.lang.Object Callbacks for handling IpClient events. This is a convenience class to allow clients not to override all methods of IIpClientCallbacks, and avoid unparceling arguments. These methods are called asynchronously on a Binder thread, as IpClient lives in a different process. @hide */ var IpClientCallbacks = { /**Callback called upon IpClient creation. @param {Object {IIpClient}} ipClient The Binder token to communicate with IpClient. */ onIpClientCreated : function( ) {}, /**Callback called prior to DHCP discovery/renewal. <p>In order to receive onPreDhcpAction(), call #withPreDhcpAction() when constructing a ProvisioningConfiguration. <p>Implementations of onPreDhcpAction() must call IpClient#completedPreDhcpAction() to indicate that DHCP is clear to proceed. */ onPreDhcpAction : function( ) {}, /**Callback called after DHCP discovery/renewal. */ onPostDhcpAction : function( ) {}, /**Callback called when new DHCP results are available. <p>This is purely advisory and not an indication of provisioning success or failure. This is only here for callers that want to expose DHCPv4 results to other APIs (e.g., WifiInfo#setInetAddress). <p>DHCPv4 or static IPv4 configuration failure or success can be determined by whether or not the passed-in DhcpResults object is null. */ onNewDhcpResults : function( ) {}, /**Indicates that provisioning was successful. */ onProvisioningSuccess : function( ) {}, /**Indicates that provisioning failed. */ onProvisioningFailure : function( ) {}, /**Invoked on LinkProperties changes. */ onLinkPropertiesChange : function( ) {}, /**Called when the internal IpReachabilityMonitor (if enabled) has detected the loss of a critical number of required neighbors. */ onReachabilityLost : function( ) {}, /**Called when the IpClient state machine terminates. */ onQuit : function( ) {}, /**Called to indicate that a new APF program must be installed to filter incoming packets. */ installPacketFilter : function( ) {}, /**Called to indicate that the APF Program & data buffer must be read asynchronously from the wifi driver. <p>Due to Wifi HAL limitations, the current implementation only supports dumping the entire buffer. In response to this request, the driver returns the data buffer asynchronously by sending an IpClient#EVENT_READ_PACKET_FILTER_COMPLETE message. */ startReadPacketFilter : function( ) {}, /**If multicast filtering cannot be accomplished with APF, this function will be called to actuate multicast filtering using another means. */ setFallbackMulticastFilter : function( ) {}, /**Enabled/disable Neighbor Discover offload functionality. This is called, for example, whenever 464xlat is being started or stopped. */ setNeighborDiscoveryOffload : function( ) {}, };