wavelength 1.0.0
Loading...
Searching...
No Matches
InetCheckConnectionResultMsg Class Reference

Message that reports the outcome of NetInet::CheckConnection(). More...

#include <inetcheckconnectionresultmsg.h>

Inheritance diagram for InetCheckConnectionResultMsg:
Collaboration diagram for InetCheckConnectionResultMsg:

Public Member Functions

 InetCheckConnectionResultMsg (int nResult)
 Construct a result.
 ~InetCheckConnectionResultMsg () override=default
 Destroy the object.
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.
int Type () override
 Report this message's registered identity.
const char * GetName () const override
 Report this message's class name.
int GetResult () const
Public Member Functions inherited from Message
virtual ~Message ()
 Vtable slot 1.
virtual void PrintExtra (PrnStream &stream) const
 Write this message's payload to a diagnostic stream.
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 Public Attributes

static constexpr int kResultDown = -91
 The value of mResult when the connection is down.

Additional Inherited Members

Static Public Member Functions inherited from Message
static Message * NewMessage (int nType)
 Produce a message of the identified class through the factory list.

Detailed Description

Message that reports the outcome of NetInet::CheckConnection().

The RTTI records the class as deriving from Message. The vtable is at 0x003d4360. The members Clone(), Type(), and GetName() are inline.

Constructor & Destructor Documentation

◆ InetCheckConnectionResultMsg()

InetCheckConnectionResultMsg::InetCheckConnectionResultMsg ( int nResult)
inlineexplicit

Construct a result.

Inline.

Parameters
nResultThe outcome, zero while the connection works.

◆ ~InetCheckConnectionResultMsg()

InetCheckConnectionResultMsg::~InetCheckConnectionResultMsg ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00397688
Ghidra address:
PAL: 0x00405f10

Member Function Documentation

◆ operator new()

void * InetCheckConnectionResultMsg::operator new ( size_t nSize)
inline

Allocate a message, billed to the class name.

Parameters
nSizeThe object size the compiler supplies.
Returns
The block.

◆ operator delete()

void InetCheckConnectionResultMsg::operator delete ( void * pBlock)
inline

Release a message.

Parameters
pBlockThe block.

◆ Clone()

Message * InetCheckConnectionResultMsg::Clone ( )
inlineoverridevirtual

Produce a heap copy of this message.

Returns
The copy.
Ghidra address:
NTSC-U/C: 0x00397730
Ghidra address:
PAL: 0x00405fb8

Implements Message.

◆ Type()

int InetCheckConnectionResultMsg::Type ( )
inlineoverridevirtual

Report this message's registered identity.

Returns
g_nInetCheckConnectionResultMsgType.
Ghidra address:
NTSC-U/C: 0x00397780
Ghidra address:
PAL: 0x00406008

Implements Message.

◆ GetName()

const char * InetCheckConnectionResultMsg::GetName ( ) const
inlineoverridevirtual

Report this message's class name.

Returns
The literal InetCheckConnectionResultMsg.
Ghidra address:
NTSC-U/C: 0x00397790
Ghidra address:
PAL: 0x00406018

Implements Message.

◆ GetResult()

int InetCheckConnectionResultMsg::GetResult ( ) const
inline
Returns
The outcome, zero while the connection works.

Member Data Documentation

◆ kResultDown

int InetCheckConnectionResultMsg::kResultDown = -91
staticconstexpr

The value of mResult when the connection is down.


The documentation for this class was generated from the following file: