资源简介
Netty权威指南源码-maven版

代码片段和文件信息
/*
* Copyright 2013-2018 Lilinfeng.
*
* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.phei.netty.aio;
import java.nio.ByteBuffer;
import java.nio.channels.AsynchronousSocketChannel;
import java.nio.channels.CompletionHandler;
/**
* @author lilinfeng
* @date 2014年2月16日
* @version 1.0
*/
public class AcceptCompletionHandler implements
CompletionHandler {
@Override
public void completed(AsynchronousSocketChannel result
AsyncTimeServerHandler attachment) {
attachment.asynchronousServerSocketChannel.accept(attachment this);
ByteBuffer buffer = ByteBuffer.allocate(1024);
result.read(buffer buffer new ReadCompletionHandler(result));
}
@Override
public void failed(Throwable exc AsyncTimeServerHandler attachment) {
exc.printStackTrace();
attachment.latch.countDown();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-02-06 20:37 nettybook2\
文件 803 2017-02-06 20:37 nettybook2\.classpath
目录 0 2017-02-06 20:37 nettybook2\.git\
文件 9 2017-02-06 20:37 nettybook2\.gitignore
文件 309 2017-02-06 20:37 nettybook2\.git\config
文件 73 2017-02-06 20:26 nettybook2\.git\desc
文件 23 2017-02-06 20:37 nettybook2\.git\HEAD
目录 0 2017-02-06 20:26 nettybook2\.git\hooks\
文件 478 2017-02-06 20:26 nettybook2\.git\hooks\applypatch-msg.sample
文件 896 2017-02-06 20:26 nettybook2\.git\hooks\commit-msg.sample
文件 189 2017-02-06 20:26 nettybook2\.git\hooks\post-update.sample
文件 424 2017-02-06 20:26 nettybook2\.git\hooks\pre-applypatch.sample
文件 1642 2017-02-06 20:26 nettybook2\.git\hooks\pre-commit.sample
文件 1348 2017-02-06 20:26 nettybook2\.git\hooks\pre-push.sample
文件 4951 2017-02-06 20:26 nettybook2\.git\hooks\pre-reba
文件 1239 2017-02-06 20:26 nettybook2\.git\hooks\prepare-commit-msg.sample
文件 3610 2017-02-06 20:26 nettybook2\.git\hooks\update.sample
文件 38359 2017-02-06 20:37 nettybook2\.git\index
目录 0 2017-02-06 20:26 nettybook2\.git\info\
文件 240 2017-02-06 20:26 nettybook2\.git\info\exclude
目录 0 2017-02-06 20:37 nettybook2\.git\logs\
文件 203 2017-02-06 20:37 nettybook2\.git\logs\HEAD
目录 0 2017-02-06 20:37 nettybook2\.git\logs\refs\
目录 0 2017-02-06 20:37 nettybook2\.git\logs\refs\heads\
文件 203 2017-02-06 20:37 nettybook2\.git\logs\refs\heads\master
目录 0 2017-02-06 20:37 nettybook2\.git\logs\refs\remotes\
目录 0 2017-02-06 20:37 nettybook2\.git\logs\refs\remotes\origin\
文件 203 2017-02-06 20:37 nettybook2\.git\logs\refs\remotes\origin\HEAD
目录 0 2017-02-06 20:26 nettybook2\.git\ob
目录 0 2017-02-06 20:26 nettybook2\.git\ob
目录 0 2017-02-06 20:37 nettybook2\.git\ob
............此处省略390个文件信息
相关资源
- 精通并发与Netty 涉及到的代码
- netty-高并发编程-视频教程张龙-90讲完
- netty的视频90集
- 安卓基于netty4.x心跳,断线重连,状态
- Netty网络框架实战中文版
- springmvc+netty实现聊天功能
- spring mvc中启动netty
- Netty实战 Netty In Action
- netty权威指南官方源码netty5
- netty+protobuf 整合源代码
- 《Netty in Action》最新中文版和英文版
- Netty 实战(精髓) 中文 高清完整.p
- 《netty权威指南》私有协议栈开发完整
- Netty 4.x 用户指南 中文
- netty-api-4.1 中文版
- Netty权威指南第二版的源码
- netty搭建tcp服务,粘拆包解决
- Netty性能测试
- Netty实战.zip
- Netty In Action 高清中文完整版 Netty实践
- netty实战高清pdf
- netty-4.1.13.Final.tar.bz2
- Netty权威指南(第2版)-书籍及源码
- Netty入门与实战:仿写微信IM即时通讯
- netty实战中文版
- Netty实战 中文超清版
- Netty权威指南《第一版&第二版》&Net
- DotNetty系列五:使用委托和事件调整代
- DotNetty系列三:编码解码器IdleStateHa
- nettydemo.zip
评论
共有 条评论