您的位置:首页 > 数据库 > MySQL

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: