Package apple.cfnetwork.struct
Class CFNetServiceClientContext
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.cfnetwork.struct.CFNetServiceClientContext
-
public final class CFNetServiceClientContext extends org.moe.natj.c.StructObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCFNetServiceClientContext.Function_copyDescriptionstatic interfaceCFNetServiceClientContext.Function_releasestatic interfaceCFNetServiceClientContext.Function_retain
-
Constructor Summary
Constructors Modifier Constructor Description CFNetServiceClientContext()protectedCFNetServiceClientContext(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CFNetServiceClientContext.Function_copyDescriptioncopyDescription()The callback used to create a descriptive string representation of the info pointer (or the data pointed to by the info pointer) for debugging purposes.org.moe.natj.general.ptr.VoidPtrinfo()An arbitrary pointer to client-defined data, which can be associated with the service/browser and is passed to the callbacks.CFNetServiceClientContext.Function_releaserelease()The callback used to remove a retain previously added for the service/browser on the info pointer.CFNetServiceClientContext.Function_retainretain()The callback used to add a retain for the service/browser on the info pointer for the life of the service/browser, and may be used for temporary references the service/browser needs to take.voidsetCopyDescription(CFNetServiceClientContext.Function_copyDescription value)The callback used to create a descriptive string representation of the info pointer (or the data pointed to by the info pointer) for debugging purposes.voidsetInfo(org.moe.natj.general.ptr.VoidPtr value)An arbitrary pointer to client-defined data, which can be associated with the service/browser and is passed to the callbacks.voidsetRelease(CFNetServiceClientContext.Function_release value)The callback used to remove a retain previously added for the service/browser on the info pointer.voidsetRetain(CFNetServiceClientContext.Function_retain value)The callback used to add a retain for the service/browser on the info pointer for the life of the service/browser, and may be used for temporary references the service/browser needs to take.voidsetVersion(long value)The version number of the structure type being passed in as a parameter to the CFNetService, Browser, or Monitor client function.longversion()The version number of the structure type being passed in as a parameter to the CFNetService, Browser, or Monitor client function.
-
-
-
Method Detail
-
version
public long version()
The version number of the structure type being passed in as a parameter to the CFNetService, Browser, or Monitor client function. The current version number is 0.
-
setVersion
public void setVersion(long value)
The version number of the structure type being passed in as a parameter to the CFNetService, Browser, or Monitor client function. The current version number is 0.
-
info
public org.moe.natj.general.ptr.VoidPtr info()
An arbitrary pointer to client-defined data, which can be associated with the service/browser and is passed to the callbacks.
-
setInfo
public void setInfo(org.moe.natj.general.ptr.VoidPtr value)
An arbitrary pointer to client-defined data, which can be associated with the service/browser and is passed to the callbacks.
-
retain
public CFNetServiceClientContext.Function_retain retain()
The callback used to add a retain for the service/browser on the info pointer for the life of the service/browser, and may be used for temporary references the service/browser needs to take. This callback returns the actual info pointer to store in the service/browser, almost always just the pointer passed as the parameter.
-
setRetain
public void setRetain(CFNetServiceClientContext.Function_retain value)
The callback used to add a retain for the service/browser on the info pointer for the life of the service/browser, and may be used for temporary references the service/browser needs to take. This callback returns the actual info pointer to store in the service/browser, almost always just the pointer passed as the parameter.
-
release
public CFNetServiceClientContext.Function_release release()
The callback used to remove a retain previously added for the service/browser on the info pointer.
-
setRelease
public void setRelease(CFNetServiceClientContext.Function_release value)
The callback used to remove a retain previously added for the service/browser on the info pointer.
-
copyDescription
public CFNetServiceClientContext.Function_copyDescription copyDescription()
The callback used to create a descriptive string representation of the info pointer (or the data pointed to by the info pointer) for debugging purposes. This is used by the CFCopyDescription() function.
-
setCopyDescription
public void setCopyDescription(CFNetServiceClientContext.Function_copyDescription value)
The callback used to create a descriptive string representation of the info pointer (or the data pointed to by the info pointer) for debugging purposes. This is used by the CFCopyDescription() function.
-
-