Cleaned up comments

This commit is contained in:
Robinson 2023-02-15 23:27:11 +01:00
parent bdb1386504
commit ba3ea72369
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -360,6 +360,8 @@ internal constructor(val type: Class<*>,
* By default, if there are no filter rules, then all connections are allowed to connect
* If there are filter rules - then ONLY connections for the filter that returns true are allowed to connect (all else are denied)
*
* If ANY filter rule that is applied returns true, then the connection is permitted
*
* This function will be called for **only** network clients (IPC client are excluded)
*/
fun filter(ipFilterRule: IpFilterRule) {
@ -381,6 +383,9 @@ internal constructor(val type: Class<*>,
* If the function returns FALSE, then the other end of the connection will
* receive a connection error
*
*
* If ANY filter rule that is applied returns true, then the connection is permitted
*
* This function will be called for **only** network clients (IPC client are excluded)
*/
fun filter(function: CONNECTION.() -> Boolean) {