Cleaned up comments
This commit is contained in:
parent
bdb1386504
commit
ba3ea72369
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user