QuickServer

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




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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值