找回密码
 立即注册
connection会话连接消息 | android开发 2022-11-07 49 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
一个ApacheMINA使用案例源代码,消息接收的比如,显示接收到的消息,通过这个比如你可以学习一下会话创建、打开会话,与sessionCreated最大的区别是它是从另一个线程处调用的、会话结束,当连接关闭时被调用、异常捕获,Mina会自动关闭此连接、接收到消息、发送消息、设置日志记录器、设置连接超时检测时刻、设置编码过滤器、创建客户端连接器、释放连接等。本资料共包括以下附件:

(The source code of an Apache MINA use case. Message reception, for example, displays the received message. With this example, you can learn how to create and open a session. The biggest difference from sessionCreated is that it is called from another thread and the session ends. When the connection is closed, it is called and exceptions are caught. Mina will automatically close the connection, receive messages, send messages, set loggers Set connection timeout detection time, set coding filter, create client connector, release connection, etc. This document includes the following annexes:)

[下载]13504676582.rar




上一篇:Android仿酷狗播放器,AndroidPlayer源代码
下一篇:Android中的拦截软件PrivacyAssistant源代码