ezyfox-server-android-client 用于ezyfox服务器的android客户端 概要 用于ezyfox服务器的android客户端 文献资料 程式码范例 1.创建一个TCP客户端 val clients = EzyClients .getInstance() val client = clients.newClient(config) 2.设置客户端 val setup = client.setup() setup.addEventHandler( EzyEventType . CONNECTION_SUCCESS , ExConnectionSuccessHandler ()) setup.addEventHandler( EzyEventType . CONNECTION_FAILURE , EzyConnectionFailureHandler ()) s