netty5/codec-dns/src/main/java/io/netty/handler/codec/dns
Tim Boudreau 9734170b7d Use value types for class and type in DNS entries to make them immune to parameter order bugs
Motivation:

DNS class and type were represented as integers rather than an enum or a
similar dedicated value type.  This can be a potential source of a
parameter order bug which might be difficult to track down.

Modifications:

Add DnsClass and DnsType to replace integer parameters

Result:

Type safety and less error-proneness
2014-07-23 14:40:52 -07:00
..
DnsClass.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
DnsEntry.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
DnsHeader.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsMessage.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQuery.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQueryEncoder.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
DnsQueryHeader.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsQuestion.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
DnsResource.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
DnsResponse.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsResponseCode.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsResponseDecoder.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
DnsResponseException.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
DnsResponseHeader.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00
DnsType.java Use value types for class and type in DNS entries to make them immune to parameter order bugs 2014-07-23 14:40:52 -07:00
package-info.java DNS codec for Netty which is based on the work of [#1622]. 2014-06-10 09:57:06 +02:00