https://github.com/v5tech/mina-examples
一个简单的spring整合mina实例
https://github.com/v5tech/mina-examples
Last synced: 8 months ago
JSON representation
一个简单的spring整合mina实例
- Host: GitHub
- URL: https://github.com/v5tech/mina-examples
- Owner: v5tech
- License: mit
- Created: 2014-11-24T10:05:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T04:11:02.000Z (about 11 years ago)
- Last Synced: 2024-10-04T16:38:41.214Z (over 1 year ago)
- Language: Java
- Size: 14.8 MB
- Stars: 11
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mina-examples
一个简单的spring整合mina实例。分别介绍了TCP和UDP的用法。同时与Spring4.1.X进行了整合。
# useage
Tcp:首先运行HelloTcpServer,接着在运行HelloTcpClient。在HelloTcpClient的控制台输入消息内容,观察服务端返回的应答。
Udp:首先运行HelloUdpServer,接着在运行HelloUdpClient。在HelloUdpClient的控制台输入消息内容,观察服务端返回的应答。
Spring: 首先运行MinaSpringMain,接着运行HelloTcpClient或HelloUdpClient。在HelloTcpClient或HelloUdpClient的控制台输入消息内容,观察服务端返回的应答。
# Screenshots
