Class: CFNetServiceClientContext
Overview
A structure provided when a CFNetService is associated with a callback function or when a CFNetServiceBrowser is created.
Instance Attribute Summary (collapse)
-
- copyDescription
Callback used to create a descriptive string representation of the data pointed to by info.
-
- release
Callback that removes a retain previously added for the service or browser on the info pointer.
-
- retain
The callback used to add a retain for the service or browser using info for the life of the service or browser.
-
- version
Version number for this structure.
Method Summary
Methods inherited from Boxed
Methods inherited from NSObject
#!, #!=, #!~, #<=>, #==, #===, #=~, #Rational, #__callee__, #__method__, #__send__, #__type__, `, alloc, allocWithZone:, #autoContentAccessingProxy, autoload, autoload?, autorelease_pool, #awakeAfterUsingCoder:, binding, block_given?, caller, cancelPreviousPerformRequestsWithTarget:, cancelPreviousPerformRequestsWithTarget:selector:object:, catch, class, classFallbacksForKeyedArchiver, #classForCoder, #classForKeyedArchiver, classForKeyedUnarchiver, #clone, conformsToProtocol:, #copy, copyWithZone:, #dealloc, #define_singleton_method, description, display, #doesNotRecognizeSelector:, #dup, #enum_for, #eql?, #equal?, #extend, fail, #finalize, format, #forwardInvocation:, #forwardingTargetForSelector:, framework, #freeze, #frozen?, getpass, gets, global_variables, #init, initialize, #initialize_clone, #initialize_copy, #initialize_dup, #inspect, instanceMethodForSelector:, instanceMethodSignatureForSelector:, #instance_eval, #instance_exec, #instance_of?, #instance_variable_defined?, #instance_variable_get, #instance_variable_set, #instance_variables, instancesRespondToSelector:, isSubclassOfClass:, #is_a?, iterator?, #kind_of?, lambda, load, load_bridge_support_file, load_plist, local_variables, loop, #method, #methodForSelector:, #methodSignatureForSelector:, #methods, #mutableCopy, mutableCopyWithZone:, new, #nil?, open, p, #performSelector:onThread:withObject:waitUntilDone:, #performSelector:onThread:withObject:waitUntilDone:modes:, #performSelector:withObject:afterDelay:, #performSelector:withObject:afterDelay:inModes:, #performSelectorInBackground:withObject:, #performSelectorOnMainThread:withObject:waitUntilDone:, #performSelectorOnMainThread:withObject:waitUntilDone:modes:, print, printf, #private_methods, proc, #protected_methods, #public_method, #public_methods, #public_send, putc, puts, raise, rand, readline, readlines, #replacementObjectForCoder:, #replacementObjectForKeyedArchiver:, require, resolveClassMethod:, resolveInstanceMethod:, #respond_to?, #respond_to_missing?, select, #send, setVersion:, #singleton_methods, sprintf, srand, superclass, #taint, #tainted?, #tap, test, throw, #to_plist, #to_s, trace_var, trap, #trust, #untaint, untrace_var, #untrust, #untrusted?, version
Constructor Details
This class inherits a constructor from NSObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class NSObject
Instance Attribute Details
- (CFAllocatorCopyDescriptionCallBack) copyDescription
Callback used to create a descriptive string representation of the data pointed to by info. In implementing this function, return a reference to a CFString object that describes your allocator and some characteristics of your user-defined data, which is used by CFCopyDescription(). You can set this field to NULL, in which case Core Foundation will provide a rudimentary description.
- (CFAllocatorReleaseCallBack) release
Callback that removes a retain previously added for the service or browser on the info pointer. This field can be NULL, but setting this field to NULL may result in memory leaks.
- (CFAllocatorRetainCallBack) retain
The callback used to add a retain for the service or browser using info for the life of the service or browser. This callback may be used for temporary references the service or browser needs to take. This callback returns the actual info pointer so it can be stored in the service or browser. This field can be NULL.
- (CFIndex) version
Version number for this structure. Currently the only valid value is zero.