|
Class: DNSRecord
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
no warranty; provided AS-IS
code ported from squeak
copyrightCOPYRIGHT (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.
accessing
-
type
-
instance creation
-
name: aString type: anInteger class: bInteger
-
-
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'
-
readNameFrom: aStream
-
Modified (format): / 22-01-2024 / 15:33:24 / cg
accessing
-
dclass
-
-
dclass: anInteger
-
-
name
-
-
name: aString
-
-
ttl
-
-
type
-
-
type: anInteger
-
printing
-
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
-
readFrom: aStream
-
-
writeNameOn: aStream
-
-
writeOn: aStream
-
testing
-
isAAAARecord
-
-
isARecord
-
-
isCNAMERecord
-
-
timedOut
-
|