summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/rrset.h
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2011-04-28 11:00:31 +0200
committerJINMEI Tatuya <jinmei@isc.org>2011-04-28 11:00:31 +0200
commit28143beb0e57bbd4d62432b81edc8e179b95959f (patch)
treecd04b8d647913c377468fb1ad22c972a31a310c7 /src/lib/dns/rrset.h
parent[trac812next] added document for the TSIG version of toWire() (diff)
downloadkea-28143beb0e57bbd4d62432b81edc8e179b95959f.tar.xz
kea-28143beb0e57bbd4d62432b81edc8e179b95959f.zip
[trac812next] made straightforward changes to toWire() methods so that
they use AbstractMessageRenderer. not related to the subject of this branch, but we'll need this change anyway, and touching some toWire()s is a good opportunity to make this happen.
Diffstat (limited to 'src/lib/dns/rrset.h')
-rw-r--r--src/lib/dns/rrset.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dns/rrset.h b/src/lib/dns/rrset.h
index bf7adc0cf1..6c15b538fb 100644
--- a/src/lib/dns/rrset.h
+++ b/src/lib/dns/rrset.h
@@ -47,7 +47,7 @@ class Name;
class RRType;
class RRClass;
class RRTTL;
-class MessageRenderer;
+class AbstractMessageRenderer;
class AbstractRRset;
class BasicRRset;
class RdataIterator;
@@ -311,7 +311,7 @@ public:
/// \return The number of RRs rendered. If the truncation is necessary
/// this value may be different from the number of RDATA objects contained
/// in the RRset.
- virtual unsigned int toWire(MessageRenderer& renderer) const = 0;
+ virtual unsigned int toWire(AbstractMessageRenderer& renderer) const = 0;
/// \brief Render the RRset in the wire format without any compression.
///
@@ -617,7 +617,7 @@ public:
///
/// This method simply uses the default implementation.
/// See \c AbstractRRset::toWire(MessageRenderer&)const.
- virtual unsigned int toWire(MessageRenderer& renderer) const;
+ virtual unsigned int toWire(AbstractMessageRenderer& renderer) const;
/// \brief Render the RRset in the wire format without any compression.
///