onConnect

abstract fun onConnect(handler: (ConnectData) -> Unit)