|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DNSRecord
Reference to a record returned by DNSSDRegistration.addRecord(int, int, byte[], int)
.
Note: client is responsible for serializing access to these objects if they are shared between concurrent threads.
Method Summary | |
---|---|
void |
remove()
Remove a registered resource record. |
void |
update(int flags,
byte[] rData,
int ttl)
Update a registered resource record. |
Method Detail |
---|
void update(int flags, byte[] rData, int ttl) throws DNSSDException
The record must either be the primary txt record of a service registered via DNSSD.register(), or a record added to a registered service via addRecord().
flags
- Currently unused, reserved for future use.
rData
- The new rdata to be contained in the updated resource record.
ttl
- The time to live of the updated resource record, in seconds.
DNSSDException
void remove() throws DNSSDException
DNSSDException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |