MySQL 连接本地数据库
2012-12-03 17:36
441 查看
Introduction
QuickServer is an open source Java library/framework for quick creation of robust multi-client TCP server applications. QuickServer provides an abstraction over the ServerSocket, Socket and other network and input output classes and it eases the creation of
powerful network servers.
Example programs demonstrating the use of the library can be found with the QuickServer distribution [examples folder].
Need for QuickServer
In any programming language, socket programming is not small fleet tomost programmer and creating a multi-threaded multi-client network serveris a nightmare for most programmers. We always waste time in writing the same code each time we build a new software
which acts has network server (handles multiple socket connections). I always createsuch application, so this time I have made a library - QuickServer, to handle a creation of a multi-threaded, multi-client server applications for Java. With this library one
can just concentrate on just the application logic/protocol on hand.
Brief Architecture
QuickServer divides the application logic of its developer over eight main classes,
ClientEventHandler [Optional Class]
Handles client events.
ClientCommandHandler [#]
Handles client interaction - Character/String commands.
ClientBinaryHandler [#]
Handles client interaction - Binary data.
ClientObjectHandler [#]
Handles client interaction - Java Object commands.
ClientWriteHandler [Optional Class]
Handles client write operation - Non-Blocking Mode.
ClientAuthenticationHandler [Optional Class]
Used to Authenticate a client.
ClientData [Optional Class]
Client data carrier (support class)
ClientExtendedEventHandler [Optional Class]
Handles extended client events.
[#] = Any one of these have to be set based on default DataMode for input. The default DataMode for input is String so if not changes you will have to set ClientCommandHandler.
For more information on architecture view QuickServer
Basic Architecture.
For information on features view
Feature List
Developers do checkout our
Developers Guide,
QuickStart Tutor
API Documentation
[ View API Docs of v 1.4.6 ][
View API Docs of v 1.4.7 ]
Request to Developers
If you would like to contribute to the development of QuickServer please do get in touch with us. We are always on the lookout forpeople who can contribute to make this library even better.
If you use QuickServer in your development and if you would like to share your experience with the QuickServer community, please feel free to post it in the QuickServer Forums. Thanks.
Want to support QuickServer?
Was this library useful for you? If so, please help support QuickServer development. There is a number of ways to support, see
more details here.
QuickServer is an open source Java library/framework for quick creation of robust multi-client TCP server applications. QuickServer provides an abstraction over the ServerSocket, Socket and other network and input output classes and it eases the creation of
powerful network servers.
Example programs demonstrating the use of the library can be found with the QuickServer distribution [examples folder].
Need for QuickServer
In any programming language, socket programming is not small fleet tomost programmer and creating a multi-threaded multi-client network serveris a nightmare for most programmers. We always waste time in writing the same code each time we build a new software
which acts has network server (handles multiple socket connections). I always createsuch application, so this time I have made a library - QuickServer, to handle a creation of a multi-threaded, multi-client server applications for Java. With this library one
can just concentrate on just the application logic/protocol on hand.
Brief Architecture
QuickServer divides the application logic of its developer over eight main classes,
ClientEventHandler [Optional Class]
Handles client events.
ClientCommandHandler [#]
Handles client interaction - Character/String commands.
ClientBinaryHandler [#]
Handles client interaction - Binary data.
ClientObjectHandler [#]
Handles client interaction - Java Object commands.
ClientWriteHandler [Optional Class]
Handles client write operation - Non-Blocking Mode.
ClientAuthenticationHandler [Optional Class]
Used to Authenticate a client.
ClientData [Optional Class]
Client data carrier (support class)
ClientExtendedEventHandler [Optional Class]
Handles extended client events.
[#] = Any one of these have to be set based on default DataMode for input. The default DataMode for input is String so if not changes you will have to set ClientCommandHandler.
For more information on architecture view QuickServer
Basic Architecture.
For information on features view
Feature List
Developers do checkout our
Developers Guide,
QuickStart Tutor
API Documentation
[ View API Docs of v 1.4.6 ][
View API Docs of v 1.4.7 ]
Request to Developers
If you would like to contribute to the development of QuickServer please do get in touch with us. We are always on the lookout forpeople who can contribute to make this library even better.
If you use QuickServer in your development and if you would like to share your experience with the QuickServer community, please feel free to post it in the QuickServer Forums. Thanks.
Want to support QuickServer?
Was this library useful for you? If so, please help support QuickServer development. There is a number of ways to support, see
more details here.
相关文章推荐
- 如何在本地 windows mysql 的 workbench 远程连接腾讯云 ubuntu 主机的 mysql 数据库
- 阿里云 centOS 安装mysql 本地远程连接数据库&&修改数据库编码
- 本地可以连接数据库,远程连接mysql不成功
- MySQL 连接本地数据库、远程数据库命令
- mysql启动失败无法连接本地数据库和/tmp/mysql.sock文件不存在解决
- Java语句轻松实现与数据库MYSQL【本地数据库】的连接,和对数据库的增删改查操作
- MySQL 连接本地数据库、远程数据库命令
- 代码连接本地数据库(mysql)
- mysql无法连接到本地数据库的小问题及解决
- DOS 连接本地MySQL 数据库
- 如何创建本地数据库MySQL并连接JDBC
- 本地navicat连接远程mysql是数据库
- C#连接数据库--VS中使用MYSQL connect Net 连接本地MYSQL
- mysql 一个被误导的错误: mysql jdbc连接,数据库ip变成了本地ip?
- mysql 数据库连接(远程和本地原理同样)
- 如何使用navicat for mysql连接本地数据库,并且导入数据文件
- mysql 数据库连接(远程和本地原理相同)
- 【MySQL】【外网连接本地数据库】
- 学习记录0321-数据库基础-利用JDBC连接本地MySQL
- mysql 一个被误导的错误: mysql jdbc连接,数据库ip变成了本地ip?