refactor basic
WIP
This commit is contained in:
35 files changed
+544
-637
No files matched your search
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright © 2026 RTAkland
|
||||
* Author: RTAkland
|
||||
* Date: 2026/3/14
|
||||
*/
|
||||
|
||||
|
||||
package cn.rtast.nmdns
|
||||
|
||||
import cn.rtast.nmdns.util.MulticastSocket
|
||||
|
||||
public class MDNSAnnouncer(private val socket: MulticastSocket) {
|
||||
|
||||
public fun register(record: MDNSRecord) {
|
||||
|
||||
}
|
||||
|
||||
public fun unregister(record: MDNSRecord) {
|
||||
|
||||
}
|
||||
|
||||
public fun onQuery(callback: (queryType: String, queryName: String) -> Unit) {}
|
||||
|
||||
public fun start() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun stop() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user