Fixed api name

master
Robinson 2023-11-27 14:40:09 +01:00
parent cf2e7ffc77
commit 41b3acf147
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ open class Server<CONNECTION : Connection>(config: ServerConfiguration = ServerC
* @param function clientAddress: not-null when UDP connection, null when IPC connection
* tagName: the connection tag name
*/
fun enablePendingMessages(function: (clientAddress: InetAddress?, tagName: String) -> Boolean) {
fun enableBufferedMessages(function: (clientAddress: InetAddress?, tagName: String) -> Boolean) {
listenerManager.enableBufferedMessages(function)
}

View File

@ -597,7 +597,7 @@ class ConnectionFilterTest : BaseTest() {
val server: Server<Connection> = Server(configuration)
addEndPoint(server)
server.enablePendingMessages { clientAddress, tagName ->
server.enableBufferedMessages { clientAddress, tagName ->
false
}