eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DNSRecord':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: DNSRecord


Inheritance:

   Object
   |
   +--DNSRecord
      |
      +--AAAARecord
      |
      +--ARecord
      |
      +--CNAMERecord
      |
      +--HINFORecord
      |
      +--MXRecord
      |
      +--NSRecord
      |
      +--SRVRecord
      |
      +--UnrecognizedRecord

Package:
stx:goodies/communication
Category:
Net-Communication-DNS
Version:
rev: 1.10 date: 2024/01/22 15:11:05
user: cg
file: DNSRecord.st directory: goodies/communication
module: stx stc-classLibrary: communication

Description:


no warranty; provided AS-IS
code ported from squeak

copyright

COPYRIGHT (c) 2006 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

accessing
o  type

instance creation
o  name: aString type: anInteger class: bInteger

o  readFrom: aStream
(comment from inherited method)
read an object's printed representation from the argument, aStream
and return it.
The read object must be a kind of myself;
if it's not, an error is raised.
This is the reverse operation to 'storeOn:'.

WARNING: storeOn: does not handle circular references and multiple
references to the same object.
Use #storeBinary:/readBinaryFrom: for this.

SECURITY WARNING: if aStringOrStream is from an unsafe source,
BAD things may be evaluated, like
'Smalltalk exit' or even
'Filename rootDirectory recursiveXXXRemove'

o  readNameFrom: aStream
Modified (format): / 22-01-2024 / 15:33:24 / cg


Instance protocol:

accessing
o  dclass

o  dclass: anInteger

o  name

o  name: aString

o  ttl

o  type

o  type: anInteger

printing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.

reading/writing
o  readFrom: aStream

o  writeNameOn: aStream

o  writeOn: aStream

testing
o  isAAAARecord

o  isARecord

o  isCNAMERecord

o  timedOut



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 03:55:24 GMT