首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

【Mina】Mina服务器端构造

2012-09-03 
【Mina】Mina服务器端结构A Birds Eye ViewLets take a deeper dive into the details?Broadly, MINA based

【Mina】Mina服务器端结构

A Bird's Eye View

Lets take a deeper dive into the details

?

Broadly, MINA based applications are divided into 3 layers

I/O Service?- Performs actual I/OI/O Filter Chain?- Filters/Transforms bytes into desired Data Structures and vice-versaI/O Handler?- Here resides the actual business logic

So, how to create a MINA based Application

    Create I/O service?- Choose from already available Services (*Acceptor) or create your ownCreate Filter Chain?- Choose from already existing Filters or create a custom Filter for transforming request/responseCreate I/O Handler?- Write business logic, on handling different messages
    Creating a MINA application is this simple?
-----------以上摘自Mina说明文档

热点排行