|
wavelength 1.0.0
|
Network connection of the console. More...
#include <netinet.h>

Public Types | |
| enum | ConnectionType { kConnectionSlow = 1 , kConnectionFast = 2 , kConnectionOffline = 3 } |
| Values GetConnectionType() reports. More... | |
Public Member Functions | |
| virtual | ~NetInet () |
| Vtable slot 1. | |
| virtual void | LaunchConfigTool ()=0 |
| Vtable slot 2. | |
| virtual void | RequestConfigs (MsgSink *pSink)=0 |
| Vtable slot 3. | |
| virtual void | Connect (MsgSink *pSink, int nConfig)=0 |
| Vtable slot 4. | |
| virtual void | Disconnect (MsgSink *pSink)=0 |
| Vtable slot 5. | |
| virtual void | LookupHost (MsgSink *pSink, const char *pszHost)=0 |
| Vtable slot 6. | |
| virtual void | ClearPending ()=0 |
| Vtable slot 7. | |
| virtual void | CheckConnection (MsgSink *pSink)=0 |
| Vtable slot 8. | |
| virtual int | GetConnectionType ()=0 |
| Vtable slot 9. | |
| virtual void | RequestPowerOff () |
| Vtable slot 10, and slot 12 in the European release. | |
Network connection of the console.
The RTTI includes the class name, and InetImpl derives from it. The members report their results to a receiver as messages such as InetConfigsResultMsg and InetConnectResultMsg. The vtable of InetImpl at 0x003d43f0 gives the order of the members. The member names other than GetConnectionType() are inferred.
Values GetConnectionType() reports.
| Enumerator | |
|---|---|
| kConnectionSlow | A modem, which the game gives more time per packet. |
| kConnectionFast | An Ethernet adaptor. |
| kConnectionOffline | No interface is up. |
|
inlinevirtual |
Vtable slot 1.
Release the connection.
Inline.
|
pure virtual |
|
pure virtual |
Vtable slot 3.
Start searching the memory cards for the network configurations.
The sink later receives an InetConfigsResultMsg. A search already running is not restarted.
| pSink | The receiver of the result. |
Implemented in InetImpl.
|
pure virtual |
Vtable slot 4.
Start connecting with a network configuration.
| pSink | The receiver of the InetConnectStatusMsg and InetConnectResultMsg. |
| nConfig | The identifier of the configuration. |
Implemented in InetImpl.
|
pure virtual |
Vtable slot 5.
Take the interface down once no connection is starting.
| pSink | The receiver of the InetDisconnectResultMsg. |
Implemented in InetImpl.
|
pure virtual |
Vtable slot 6.
Start looking up the address of a host.
| pSink | The receiver of the InetDNSLookupResultMsg. |
| pszHost | The host name. |
Implemented in InetImpl.
|
pure virtual |
|
pure virtual |
Vtable slot 8.
Check whether the connection still works.
| pSink | The receiver of the InetCheckConnectionResultMsg. |
Implemented in InetImpl.
|
pure virtual |
Vtable slot 9.
Report the kind of connection.
Implemented in InetImpl.
|
inlinevirtual |
Vtable slot 10, and slot 12 in the European release.
Turn the console off at the next poll.
The default does nothing.
Reimplemented in InetImpl.