public final class CFNetServiceClientContext
extends org.moe.natj.c.StructObject
| Modifier and Type | Class and Description |
|---|---|
static interface |
CFNetServiceClientContext.Function_copyDescription |
static interface |
CFNetServiceClientContext.Function_release |
static interface |
CFNetServiceClientContext.Function_retain |
| Modifier | Constructor and Description |
|---|---|
|
CFNetServiceClientContext() |
protected |
CFNetServiceClientContext(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
CFNetServiceClientContext.Function_release |
release()
The callback used to remove a retain previously added for the
service/browser on the info pointer.
|
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.
|
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.
|
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.
|
void |
setRelease(CFNetServiceClientContext.Function_release value)
The callback used to remove a retain previously added for the
service/browser on the info pointer.
|
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.
|
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.
|
long |
version()
The version number of the structure type being passed in as a
parameter to the CFNetService, Browser, or Monitor client
function.
|
public CFNetServiceClientContext()
protected CFNetServiceClientContext(org.moe.natj.general.Pointer peer)
public long version()
public void setVersion(long value)
public org.moe.natj.general.ptr.VoidPtr info()
public void setInfo(org.moe.natj.general.ptr.VoidPtr value)
public CFNetServiceClientContext.Function_retain retain()
public void setRetain(CFNetServiceClientContext.Function_retain value)
public CFNetServiceClientContext.Function_release release()
public void setRelease(CFNetServiceClientContext.Function_release value)
public CFNetServiceClientContext.Function_copyDescription copyDescription()
public void setCopyDescription(CFNetServiceClientContext.Function_copyDescription value)