Listener

open class Listener

The Listener class is useful to manage dynamically the listeners when the allowMultipleListeners is set to "true", allowing the communication and, eventually, the interruption of the routine of the listener

Author

N7ghtm4r3 - Tecknobit

Since

2.0.4

Constructors

Link copied to clipboard
constructor(serverSocket: ServerSocket, continueRoutine: Boolean)
Constructor to init Listener

Properties

Link copied to clipboard
private open var continueRoutine: Boolean
continueRoutine whether continue the routine
Link copied to clipboard
serverSocket for the listener

Functions

Link copied to clipboard
Method to get continueRoutine instance No-any params required
Link copied to clipboard
open fun stopRoutine()
Method to stop the routine of the listener setting continueRoutine to "false" No-any params required