码迷,mamicode.com
首页 >  
搜索关键字:channel    ( 2568个结果
关于 Netty Channel 的 Autoread
Netty 4 的 Channel 多了一个 autoread 参数, 它的用处是在让 channel 在触发某些事件以后(例如 channelActive, channelReadComplete)以后还会自动调用一次 read(), 代码:DefaultChannelPipeline.java ...
分类:Web程序   时间:2014-11-04 06:43:42    阅读次数:322
netty websocket 简单消息推送demo
今天心情很不好!!! 原因保密。 这篇是基于"netty与websocket通信demo"。 错误想法:大量客户请求,共用一个worker,来实现推送。 正确作法:应该是对Channel对应的ChannelGroup进行操作,来实现推送。 一个Cha...
分类:Web程序   时间:2014-11-03 17:56:06    阅读次数:388
NBU7.0 RMAN 异机恢复 not found in NetBackup catalog
问题描述: RMAN>  run { 2>  allocate channel t1 type 'sbt_tape'; 3>  send 'NB_ORA_SERV=netbackup,NB_ORA_CLIENT=hz1'; 4>  restore controlfile to '/oracle11/oradata/control01.ctl' from '/c-3201563006-201...
分类:Web程序   时间:2014-11-02 18:22:20    阅读次数:183
Go语言小试牛刀---几个简单的例子
整理资料,发现之前手写的Go语言资料,现在贴过来。第一个:Channel的使用,创建一个随机数package main import "fmt"import "runtime"func rand_generator_2() chan int{ out := make(chan int) go fu....
分类:编程语言   时间:2014-10-31 18:44:27    阅读次数:380
muduo源码分析--我对muduo的理解
分为几个模块 EventLoop、TcpServer、Acceptor、TcpConnection、Channel等 对于EventLoop来说: 他只关注里面的主驱动力,EventLoop中只关注poll,这类系统调用使得其成为Reactor模式,EventLoop中有属于这个loop的所有Channel,这个loop属于哪一个Server.   几个类存在的意义: 从应用层使用的角度...
分类:其他好文   时间:2014-10-30 00:27:40    阅读次数:325
OPENCV(2) —— Basic Structures(二)
Mat OpenCV C++ n-dimensional dense array class The class Mat represents an n-dimensional dense numerical single-channel or multi-channel array. It can...
分类:其他好文   时间:2014-10-29 10:42:31    阅读次数:287
A Tour of Go Channels
Channels are a typed conduit through which you can send and receive values with the channel operator,<-.ch <- v // Send v to channel ch.v := <-ch ...
分类:其他好文   时间:2014-10-29 01:49:32    阅读次数:155
A Tour of Go Buffered Channels
Channels can bebuffered. Provide the buffer length as the second argument tomaketo initialize a buffered channel:ch := make(chan int, 100)Sends to a b...
分类:其他好文   时间:2014-10-29 01:43:40    阅读次数:142
织梦dedecms 扩展channel栏目标签 获取交叉栏目名称和链接
channel栏目标签默认有调用顶级栏目(top)、子栏目(son)、同级栏目(self),那想获取交叉栏目的名称和链接怎么获取呢?其实在原来的代码上改一下就可以了。下面是具体代码。打开文件channel.lib.php:在搜索:$topid = $refObj->TypeLink->TypeInf...
分类:其他好文   时间:2014-10-28 15:11:20    阅读次数:162
[Legacy Wi-Fi]如何设定WIFI Channel
如何屏蔽14信道[SOLUTION]alps\mediatek\custom\{ProjectName}\cgen\cfgdefault\CFG_WIFI_Default.hWIFI_CFG_PARAM_STRUCT stWifiCfgDefault ={0x0103, /* Own Version...
分类:其他好文   时间:2014-10-28 15:06:33    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!