Quark  0.1
MDNSInet6AddressRecord.h++
Go to the documentation of this file.
1 #ifndef __libquark_mdns_MDNSInet6AddressRecord_hxx
2 #define __libquark_mdns_MDNSInet6AddressRecord_hxx
3 
4 #include <QHostAddress>
5 
7 
8 namespace quark {
9 namespace mdns {
10 
12 {
13  public:
14 
15  MDNSInet6AddressRecord(QStringList name);
16  virtual ~MDNSInet6AddressRecord();
17 
18  QHostAddress address() const
19  { return(_address); }
20 
21  void setAddress(QHostAddress address)
22  { _address = address; }
23 
24  void readData(MDNSDataReader &reader) throw(IOException);
25  void writeData(MDNSDataWriter &writer) throw(IOException);
26 
27  QString toString() const;
28 
29  private:
30 
31  QHostAddress _address;
32 
34 };
35 
36 } // class mdns
37 } // class quark
38 
39 #endif // __libquark_mdns_MDNSInet6AddressRecord_hxx
QHostAddress address() const
Definition: MDNSInet6AddressRecord.h++:18
Definition: IOException.h++:9
Definition: MDNSDataRecord.h++:20
void readData(MDNSDataReader &reader)
QStringList name() const
Definition: MDNSRecord.h++:37
Definition: BarChartView.h++:6
Definition: MDNSInet6AddressRecord.h++:11
void setAddress(QHostAddress address)
Definition: MDNSInet6AddressRecord.h++:21
void writeData(MDNSDataWriter &writer)