org.rococoa.cocoa.cfnetwork
Interface CFNetworkLibrary.CFNetServiceClientCallBack

All Superinterfaces:
Callback
Enclosing interface:
CFNetworkLibrary

public static interface CFNetworkLibrary.CFNetServiceClientCallBack
extends Callback

CFNetServiceClientCallBack

Discussion:
Callback function which is called upon error or completion of
resolve or register. If resolving with the deprecated API's, the
callback may be called multiple times, once for each resolved
address.

Parameters:

theService:
Service receiving the event.

error:
Reference to an error structure if the event is a failure.

info:
Client's info reference which was passed into the client
context.
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CFNetwork.framework/Headers/CFNetServices.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(CFNetworkLibrary.__CFNetService theService, CFStreamError error, Pointer info)
           
 

Method Detail

invoke

void invoke(CFNetworkLibrary.__CFNetService theService,
            CFStreamError error,
            Pointer info)


Copyright © 2009. All Rights Reserved.