---
title: "Android推送服务器"
author: "moonights"
date: "2014-11-02T18:03:05Z"
tags: []
categories: ["开源软件"]
slug: "android"
draft: false
lastmod: "2014-11-02T18:03:05Z"
id: 2151574
url: "https://moonights.iteye.com/blog/2151574"
---

NIO实现的 Socket底层数据传输框架 参考了mina的部分实现思想.  
服务端通过acceptor监听连接，将连接请求分配给具体的processor,processor中含有事件处理线程，对读写进行处理 客户端通过connector建立连接，连接后分配processor,进行读写处理.

[https://github.com/moonights/push\_server](https://github.com/moonights/push_server)