Message that reports the outcome of NetInet::LookupHost().
More...
#include <inetdnslookupresultmsg.h>
|
| | InetDNSLookupResultMsg (int nResult, const char *pszAddress) |
| | Construct a result.
|
| void * | operator new (size_t nSize) |
| | Allocate a message, billed to the class name.
|
| void | operator delete (void *pBlock) |
| | Release a message.
|
| Message * | Clone () override |
| | Produce a heap copy of this message, which points at the same address text.
|
| int | Type () override |
| | Report this message's registered identity.
|
| const char * | GetName () const override |
| | Report this message's class name.
|
| void | PrintExtra (PrnStream &stream) const override |
| | Write the result and the address.
|
| const char * | GetAddress () const |
| int | GetResult () const |
| virtual | ~Message () |
| | Vtable slot 1.
|
| virtual void | saveGuts (BinStream &stream) const |
| | Write this message's payload to a stream.
|
| virtual void | restoreGuts (BinStream &stream) |
| | Read this message's payload from a stream.
|
| virtual | ~Message () |
| virtual void | Unused1 () |
| | Not called by the control.
|
|
| static constexpr int | kResultFailed = -90 |
| | The value of mResult after a failed lookup.
|
|
| static Message * | NewMessage (int nType) |
| | Produce a message of the identified class through the factory list.
|
Message that reports the outcome of NetInet::LookupHost().
The RTTI records the class as deriving from Message. The vtable is at 0x003d63f0. The members Clone(), Type(), and GetName() are inline.
◆ InetDNSLookupResultMsg()
| InetDNSLookupResultMsg::InetDNSLookupResultMsg |
( |
int | nResult, |
|
|
const char * | pszAddress ) |
|
inline |
Construct a result.
Inline.
- Parameters
-
| nResult | The outcome, zero on success. |
| pszAddress | The address of the host as text, or empty. |
◆ operator new()
| void * InetDNSLookupResultMsg::operator new |
( |
size_t | nSize | ) |
|
|
inline |
Allocate a message, billed to the class name.
- Parameters
-
| nSize | The object size the compiler supplies. |
- Returns
- The block.
◆ operator delete()
| void InetDNSLookupResultMsg::operator delete |
( |
void * | pBlock | ) |
|
|
inline |
Release a message.
- Parameters
-
◆ Clone()
| Message * InetDNSLookupResultMsg::Clone |
( |
| ) |
|
|
inlineoverridevirtual |
Produce a heap copy of this message, which points at the same address text.
- Returns
- The copy.
Implements Message.
◆ Type()
| int InetDNSLookupResultMsg::Type |
( |
| ) |
|
|
inlineoverridevirtual |
Report this message's registered identity.
- Returns
- g_nInetDNSLookupResultMsgType.
Implements Message.
◆ GetName()
| const char * InetDNSLookupResultMsg::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ PrintExtra()
| void InetDNSLookupResultMsg::PrintExtra |
( |
PrnStream & | stream | ) |
const |
|
overridevirtual |
Write the result and the address.
- Parameters
-
| stream | The stream to write to. |
- Ghidra address:
- NTSC-U/C: 0x00268aa0
- Ghidra address:
- PAL: 0x002726a8
Reimplemented from Message.
◆ GetAddress()
| const char * InetDNSLookupResultMsg::GetAddress |
( |
| ) |
const |
|
inline |
- Returns
- The address of the host, as text.
◆ GetResult()
| int InetDNSLookupResultMsg::GetResult |
( |
| ) |
const |
|
inline |
- Returns
- The outcome, zero on success.
◆ kResultFailed
| int InetDNSLookupResultMsg::kResultFailed = -90 |
|
staticconstexpr |
The value of mResult after a failed lookup.
The documentation for this class was generated from the following file: