Jboss netty和netty之间的区别?(Difference between Jboss netty and netty?)

似乎netty有两个来源? 一个来自Jboss netty而另一个来自(普通)netty? 它们几乎相同,略有不同。

如:io.netty.handler.codec.http.HttpRequest和org.jboss.netty.handler.codec.http.HttpRequest。 它们看起来几乎相同,但有几个不同的签名。

我的问题是:一些示例代码基于jboss,一些代码代码基于普通的Netty,它们很混乱。 我应该使用哪一个? 为什么两个这么相似的包?

请执行我,我是netty的新手,感谢您的回答。 这让我今天疯了。 谢谢。


Seems netty has two sources? One is from Jboss netty and the other is (plain)netty? They are almost the same with slightly difference.

Such as: io.netty.handler.codec.http.HttpRequest and org.jboss.netty.handler.codec.http.HttpRequest. They looks almost the same but have several different signatures.

My question is: some sample code are based on jboss and some code code are based on plain Netty, they are so confused. Which one should i use? Why two so similar packages?

Please execute me i am a newbie for netty, and appreciate your answer. This makes me crazy today. Thank you.


原文:https://stackoverflow.com/questions/42781445
2022-02-28 09:02

满意答案

仅返回没有其他服务的行:

select * from tablename t1
where not exists (select 1 from tablename t2
                  where t1.MobileNO = t2.MobileNO
                    and t2.service <> 'abc')

Only return rows that has no other service:

select * from tablename t1
where not exists (select 1 from tablename t2
                  where t1.MobileNO = t2.MobileNO
                    and t2.service <> 'abc')

相关问答

更多

较新的SQL Server Reporting Services中的全文对齐(Full Text Justification in newer SQL Server Reporting Services)

文本框没有完全合理的选项,即使在SSRS的“较新”版本中(我假设您的意思是2012年起)。 您唯一的选择是使用第三方产品,如Aspose There is no full justify option for text boxes, even in 'newer' versions of SSRS (I assume you mean 2012 onwards). Your only option is to use a third party product such as Aspose

SQL Server分析服务 - 我有吗?(SQL Server Analysis Services - Do I have it?)

如果您使用以下版本,则包含SQL Server Analysis Services: 标准 开发人员 企业 有没有办法让我知道这个组件是否已安装? 它将作为服务列出 - 控制面板>管理工具>服务,或者从“开始”>“运行”键入“services.msc”。 资源: 管理Analysis Services 部署分析服务开发和生产系统 分析服务操作指南主题 SQL Server Analysis Services is included if you are using the following Ed...

如何从SQL Server 2016 Express安装Reporting Services(How to Install Reporting Services from SQL Server 2016 Express)

你可以从VS Dev Essentials获得它。 我没有在其他任何地方找到它。遵循以下步骤: - 第1步:转到此链接https://myprodscussu1.app.vssubscriptions.visualstudio.com/Downloads?pid=1682 第2步:登录或创建新帐户 第3步:转到下载部分并搜索“SQL Server 2016 Express” 步骤4:从列表中选择“带有Service Pack 1的SQL Server 2016 Express” ,您将看到两个版本...

SQL Server 2005上的SSRS 2008 Reporting Services(SSRS 2008 Reporting Services on SQL Server 2005)

是否可以在安装了SQL Server 2005的站点上安装SSRS 2008 [stand alone]。 没有。没有SSRS安装。 Is it possible to install SSRS 2008 [stand alone] on a site that has SQL server 2005 installed. No. There is no SSRS-only installation.

选择与sql server中其他服务无关的mobileNO(select mobileNO which not related in other Services in sql server)

仅返回没有其他服务的行: select * from tablename t1 where not exists (select 1 from tablename t2 where t1.MobileNO = t2.MobileNO and t2.service <> 'abc') Only return rows that has no other service: select * from tablename t1...

在没有运行SQL服务的情况下备份(恢复)SQL Server数据库(Backup (Recover) SQL Server Database without SQL Services Running)

用于附加数据库的MSDN(MDB文件) 在SQL Server Management Studio对象资源管理器中,连接到Microsoft SQL Server数据库引擎的实例,然后展开该实例。 右键单击“数据库”并单击“附加”。 在“附加数据库”对话框中,要指定要附加的数据库,请单击“添加”; 在“定位数据库文件”对话框中,选择数据库所在的磁盘驱动器,然后展开目录树以查找并选择数据库的.mdf文件; 例如: C:\Program Files\Microsoft SQL Server\MSSQL...

SQL Reporting Services 2008比较了Crystal Reports?(SQL Reporting Services 2008 compared Crystal Reports?)

SSRS有一个非常好的缓存选项,因此它不应该妨碍您的生产服务器。 CR也有缓存,但它使用ASP.NET缓存(报表数据缓存在您的Web服务器工作进程中,而不是我推荐的)。 在我看来,SSRS已经吹走了CR; 我发现SSRS IDE比CR更容易使用,它似乎更容易部署,而SSRS提供了很多CR没有的选项。 我已经使用了SSRS和CR的sprocs - 我也没有看到任何问题。 SSRS has a pretty good caching option, so it shouldn't hinder you...

SQL Server 2008 Express集成服务(SQL Server 2008 Express Integration Services)

不,不是的。 从SQL Server 2008 R2版本支持的功能 : 您至少需要运行标准版。 No, it does not. From Features Supported by the Editions of SQL Server 2008 R2: You need to be running at least Standard Edition.

SQL Server 2008中的Reporting Services安装[发布] 1(Reporting Services Installation in SQL Server 2008 [Release] 1)

如果您找不到原始的SQL Server 2008安装媒体,并且没有任何Microsoft版权允许您购买所购软件的数字下载,那么我认为您可以尝试从此处下载Enterprise Evaluation副本并使用现有的安装过程中Standard的许可证密钥。 之后,您应该能够添加Reporting Services功能。 当然,在尝试此操作之前,请务必备份您的服务器。 如果做不到这一点,您可以从头开始安装试用版并使用许可证将其升级到非限时版本( 升级路径允许这样做)。 If you can't find ...

SQL Server相关问题(SQL Server related question)

这适用于有调用的间隔 ... Declare @datetimestart datetime Declare @interval int Set @datetimestart = '2009-01-01 12:00:00' Set @interval = 5 --in minutes Select [start_interval], [end_interval] , count([start_interval]) as [calls] From ( Select Da...

相关文章

更多

[Netty 1] 初识Netty

1. 简介 最早接触netty是在阅读Zookeeper源码的时候,后来看到Storm的消息传输层也由 ...

Netty源码分析

Netty提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户 ...

在Twitter,Netty 4 GC开销降为五分之一

原文:http://www.infoq.com/cn/news/2013/11/netty4-twit ...

Netty环境配置

netty是一个java事件驱动的网络通信框架,也就是一个jar包,只要在项目里引用即可。

Netty开发环境配置

最新版本的Netty 4.x和JDK 1.6及更高版本

storm学习之Netty代替ZMQ

整理自 http://www.csdn.net/article/2014-08-04/2821018/ ...

Netty基于流的传输处理

​在TCP/IP的基于流的传输中,接收的数据被存储到套接字接收缓冲器中。不幸的是,基于流的传输的缓冲器 ...

Netty入门实例-时间服务器

Netty中服务器和客户端之间最大的和唯一的区别是使用了不同的Bootstrap和Channel实现

Netty入门实例-使用POJO代替ByteBuf

使用TIME协议的客户端和服务器示例,让它们使用POJO来代替原来的ByteBuf。

spring 3.0 和jpa 整合 用jboss

1、网上说了很多例子,这就不说了,只介绍下我遇见的问题 java.lang.ClassCastExce ...

最新问答

更多

获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)

我用Google搜索了一个解决方案。 “EnumDisplayModeProvider”是我自己设置网站的各种模式的枚举。 public EnumDisplayModeProvider GetDisplayModeId() { foreach (var mode in DisplayModeProvider.Instance.Modes) if (mode.CanHandleContext(HttpContext)) {

如何通过引用返回对象?(How is returning an object by reference possible?)

这相对简单:在类的构造函数中,您可以分配内存,例如使用new 。 如果你制作一个对象的副本,你不是每次都分配新的内存,而是只复制指向原始内存块的指针,同时递增一个也存储在内存中的引用计数器,使得每个副本都是对象可以访问它。 如果引用计数降至零,则销毁对象将减少引用计数并仅释放分配的内存。 您只需要一个自定义复制构造函数和赋值运算符。 这基本上是共享指针的工作方式。 This is relatively easy: In the class' constructor, you allocate m

矩阵如何存储在内存中?(How are matrices stored in memory?)

正如它在“熵编码”中所说的那样,使用Z字形图案,与RLE一起使用,在许多情况下,RLE已经减小了尺寸。 但是,据我所知,DCT本身并没有给出稀疏矩阵。 但它通常会增强矩阵的熵。 这是compressen变得有损的点:输入矩阵用DCT传输,然后量化量化然后使用霍夫曼编码。 As it says in "Entropy coding" a zig-zag pattern is used, together with RLE which will already reduce size for man

每个请求的Java新会话?(Java New Session For Each Request?)

你是如何进行重定向的? 您是否事先调用了HttpServletResponse.encodeRedirectURL()? 在这里阅读javadoc 您可以使用它像response.sendRedirect(response.encodeRedirectURL(path)); The issue was with the path in the JSESSIONID cookie. I still can't figure out why it was being set to the tomca

css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)

我认为word-break ,如果你想在一个单词中打破行,你可以指定它,这样做可以解决问题: .column { word-break:break-all; } jsFiddle演示。 您可以在此处阅读有关word-break属性的更多信息。 I think word-break, with which you can specify if you want to break line within a word, will do the trick: .column { word-break

无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)

我认为您忘记在分类时间内缩放输入图像,如train_test.prototxt文件的第11行所示。 您可能应该在C ++代码中的某个位置乘以该因子,或者使用Caffe图层来缩放输入(请查看ELTWISE或POWER图层)。 编辑: 在评论中进行了一次对话之后,结果发现在classification.cpp文件中错误地删除了图像均值,而在原始训练/测试管道中没有减去图像均值。 I think you have forgotten to scale the input image during cl

xcode语法颜色编码解释?(xcode syntax color coding explained?)

转到: Xcode => Preferences => Fonts & Colors 您将看到每个语法高亮颜色旁边都有一个简短的解释。 Go to: Xcode => Preferences => Fonts & Colors You'll see that each syntax highlighting colour has a brief explanation next to it.

在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)

你考虑过第三方拼写检查吗? 您可以将在C#中开发的自定义WinForms控件插入访问数据库吗? VB6控件怎么样? 如果你能找到一个使用第三方库进行拼写检查的控件,那可能会有效。 Have you considered a third party spell checker? Can you insert a custom WinForms controls developed in C# into an access database? What about a VB6 control? If

从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)

我有同样的问题,因为我在远程服务器上有两个图像,我需要在每天的预定义时间复制到我的本地服务器,这是我能够提出的代码... try { if(@copy('url/to/source/image.ext', 'local/absolute/path/on/server/' . date("d-m-Y") . ".gif")) { } else { $errors = error_get_last(); throw new Exception($err

从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))

我不确定我完全明白你在说什么。 你能编辑你的帖子并包含你正在做的Subversion命令/操作的特定顺序吗? 最好使用命令行svn客户端,以便容易为其他人重现问题。 如果您只是想获取文件的旧副本(即使该文件不再存在),您可以使用如下命令: svn copy ${repo}/trunk/moduleA/file1@${rev} ${repo}/trunk/moduleB/file1 其中${repo}是您的存储库的URL, ${rev}是您想要的文件的版本。 这将恢复该文件的旧版本,包括最高版本