Nebula
Loading...
Searching...
No Matches
Net::DebugMessage Class Reference

#include <debugmessage.h>

Detailed Description

Encapsulates a stream and a port number for debug communication.

Currently this class is only used on the Wii for communication over the HIO2 channel, but is public for the PC proxy tools communicating with the Wii devkit.

Public Member Functions

 DebugMessage ()
 default constructor
 
 DebugMessage (ushort port, const Ptr< IO::Stream > &data)
 constructor
 
ushort GetPort () const
 get the port number
 
const Ptr< IO::Stream > & GetStream () const
 get the data stream
 
bool IsValid () const
 return true if the message is valid
 

Private Attributes

ushort portNum
 
Ptr< IO::StreamdataStream
 

Constructor & Destructor Documentation

◆ DebugMessage() [1/2]

Net::DebugMessage::DebugMessage ( )
inline

default constructor

◆ DebugMessage() [2/2]

Net::DebugMessage::DebugMessage ( ushort port,
const Ptr< IO::Stream > & data )
inline

constructor

Member Function Documentation

◆ GetPort()

ushort Net::DebugMessage::GetPort ( ) const
inline

get the port number

◆ GetStream()

const Ptr< IO::Stream > & Net::DebugMessage::GetStream ( ) const
inline

get the data stream

◆ IsValid()

bool Net::DebugMessage::IsValid ( ) const
inline

return true if the message is valid

Member Data Documentation

◆ dataStream

Ptr<IO::Stream> Net::DebugMessage::dataStream
private

◆ portNum

ushort Net::DebugMessage::portNum
private

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