org.rococoa.cocoa.cfnetwork
Interface CFNetworkLibrary.CFNetServiceBrowserClientCallBack

All Superinterfaces:
Callback
Enclosing interface:
CFNetworkLibrary

public static interface CFNetworkLibrary.CFNetServiceBrowserClientCallBack
extends Callback

CFNetServiceBrowserClientCallBack

Discussion:
Callback function which is called upon error or upon successful
discovery of services or domains.

Parameters:

browser:
CFNetServiceBrowser receiving the event.

flags:
Bitwise flags indicating the event or further information about
the event.

domainOrService:
If searching for domains, a CFStringRef indicating the domain
which was found or is going away. If searching for services,
the service which was found or is going away.

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

info:
Client's info reference which was passed into the client
context.


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.__CFNetServiceBrowser browser, NativeLong flags, Pointer domainOrService, CFStreamError error, Pointer info)
           
 

Method Detail

invoke

void invoke(CFNetworkLibrary.__CFNetServiceBrowser browser,
            NativeLong flags,
            Pointer domainOrService,
            CFStreamError error,
            Pointer info)