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

The network connection of the console on the network configuration library. More...

#include <inetimpl.h>

Inheritance diagram for InetImpl:
Collaboration diagram for InetImpl:

Public Types

enum  State { kStateIdle = 0 , kStateStarting = 1 , kStateConnecting = 2 , kStateConnected = 3 }
 Values of mState. More...
Public Types inherited from NetInet
enum  ConnectionType { kConnectionSlow = 1 , kConnectionFast = 2 , kConnectionOffline = 3 }
 Values GetConnectionType() reports. More...

Public Member Functions

 InetImpl ()
 Construct the connection and make it TheNetInet.
 ~InetImpl () override
 Vtable slot 1.
void LaunchConfigTool () override
 Vtable slot 2.
void RequestConfigs (MsgSink *pSink) override
 Vtable slot 3.
void Connect (MsgSink *pSink, int nConfig) override
 Vtable slot 4.
void Disconnect (MsgSink *pSink) override
 Vtable slot 5.
void LookupHost (MsgSink *pSink, const char *pszHost) override
 Vtable slot 6.
void ClearPending () override
 Vtable slot 7.
void CheckConnection (MsgSink *pSink) override
 Vtable slot 8.
int GetConnectionType () override
 Vtable slot 9.
void RequestPowerOff () override
 Vtable slot 10, and slot 12 in the European release.
void Poll ()
 Service the connection once per frame: report the disconnection, the progress of a connection, and turn the console off when requested.
Public Member Functions inherited from NetInet
virtual ~NetInet ()
 Vtable slot 1.

Detailed Description

The network connection of the console on the network configuration library.

The RTTI includes the name and records NetInet as the base. The vtable is at 0x003d43f0 and the object is 0x60 bytes. InitializeNetSubsystem() builds the one instance. The members start their work as asynchronous tasks and report the results to the receivers as messages. The routines other than the members of NetInet have inferred names.

Member Enumeration Documentation

◆ State

Values of mState.

Enumerator
kStateIdle 

No interface is up or starting.

kStateStarting 

The configuration is being loaded.

kStateConnecting 

The interface is coming up.

kStateConnected 

The interface is up.

Constructor & Destructor Documentation

◆ InetImpl()

InetImpl::InetImpl ( )

Construct the connection and make it TheNetInet.

Ghidra address:
NTSC-U/C: 0x00253438
Ghidra address:
PAL: 0x0025c3e8

◆ ~InetImpl()

InetImpl::~InetImpl ( )
override

Vtable slot 1.

Release the connection.

Ghidra address:
NTSC-U/C: 0x00253528
Ghidra address:
PAL: 0x0025c4e0

Member Function Documentation

◆ LaunchConfigTool()

void InetImpl::LaunchConfigTool ( )
overridevirtual

Vtable slot 2.

Start the network configuration program from the disc, ending the game.

Ghidra address:
NTSC-U/C: 0x002535e0
Ghidra address:
PAL: 0x0025c598

Implements NetInet.

◆ RequestConfigs()

void InetImpl::RequestConfigs ( MsgSink * pSink)
overridevirtual

Vtable slot 3.

Parameters
pSinkThe receiver of the result.
Ghidra address:
NTSC-U/C: 0x002536b0
Ghidra address:
PAL: 0x0025c628

Implements NetInet.

◆ Connect()

void InetImpl::Connect ( MsgSink * pSink,
int nConfig )
overridevirtual

Vtable slot 4.

Parameters
pSinkThe receiver of the result.
nConfigThe identifier of the configuration.
Ghidra address:
NTSC-U/C: 0x002539d0
Ghidra address:
PAL: 0x0025c948

Implements NetInet.

◆ Disconnect()

void InetImpl::Disconnect ( MsgSink * pSink)
overridevirtual

Vtable slot 5.

Parameters
pSinkThe receiver of the result.
Ghidra address:
NTSC-U/C: 0x00253c58
Ghidra address:
PAL: 0x0025cb98

Implements NetInet.

◆ LookupHost()

void InetImpl::LookupHost ( MsgSink * pSink,
const char * pszHost )
overridevirtual

Vtable slot 6.

Parameters
pSinkThe receiver of the result.
pszHostThe host name.
Ghidra address:
NTSC-U/C: 0x00253c68
Ghidra address:
PAL: 0x0025cba8

Implements NetInet.

◆ ClearPending()

void InetImpl::ClearPending ( )
overridevirtual

Vtable slot 7.

Forget the receiver of the pending lookup.

Ghidra address:
NTSC-U/C: 0x00253c60
Ghidra address:
PAL: 0x0025cba0

Implements NetInet.

◆ CheckConnection()

void InetImpl::CheckConnection ( MsgSink * pSink)
overridevirtual

Vtable slot 8.

Parameters
pSinkThe receiver of the result.
Ghidra address:
NTSC-U/C: 0x00253e58
Ghidra address:
PAL: 0x0025cda8

Implements NetInet.

◆ GetConnectionType()

int InetImpl::GetConnectionType ( )
inlineoverridevirtual

Vtable slot 9.

Returns
mConnectionType.
Ghidra address:
NTSC-U/C: 0x00397580
Ghidra address:
PAL: 0x00405e08

Implements NetInet.

◆ RequestPowerOff()

void InetImpl::RequestPowerOff ( )
overridevirtual

Vtable slot 10, and slot 12 in the European release.

Ghidra address:
NTSC-U/C: 0x00253f90
Ghidra address:
PAL: 0x0025cee0

Reimplemented from NetInet.

◆ Poll()

void InetImpl::Poll ( )

Service the connection once per frame: report the disconnection, the progress of a connection, and turn the console off when requested.

Ghidra address:
NTSC-U/C: 0x00253fa0
Ghidra address:
PAL: 0x0025cef0

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