resonance 1.0.1
Loading...
Searching...
No Matches
ToSingleNetManagerPacket Class Reference

Routing category for a packet, which selects who receives it. More...

#include <tosinglenetmanagerpacket.h>

Inheritance diagram for ToSingleNetManagerPacket:
Collaboration diagram for ToSingleNetManagerPacket:

Public Member Functions

 ToSingleNetManagerPacket ()
 Route the packet with the pair 1 and 0.
Public Member Functions inherited from Packet
virtual void saveGuts (OBStream &stream) const
 Write the four words to a stream.
virtual void restoreGuts (IBStream &stream)
 Read the four words back from a stream.
Public Member Functions inherited from Message
void * operator new (size_t nSize)
 Allocate a message from the tagged heap under the tag MSG.
void operator delete (void *pBlock)
 Release a message to the tagged heap under the tag MSG.
virtual ~Message ()
 Vtable slot 1.
virtual Message * Clone ()=0
 Produce a heap copy of this message.
virtual int Type ()=0
 Report this message's registered identity.
virtual const char * GetName () const =0
 Report this message's class name.
virtual void PrintExtra (std::ostream &stream) const
 Write this message's payload to a stream.
std::ostream & Print (std::ostream &stream) const
 Write this message to a diagnostic stream as {GetName() PrintExtra()}.

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.
Protected Member Functions inherited from Packet
 Packet (int nDestination, int nDestinationSystem)
 Set the two routing words and mark the remaining two as unset.
Protected Attributes inherited from Packet
int mDestination
int mDestinationSystem
int mClientId
 The client the packet concerns, or -1 until set.
int mTargetClientId
 A second client identifier, -1 until set.

Detailed Description

Routing category for a packet, which selects who receives it.

Its RTTI descriptor is at 0x008efca0. It has Packet as its one base. The class emits no vtable, and its RTTI accessor is shared with a concrete packet.

The class adds no payload. Its two derived classes, SPJoinAcceptPacket and SPJoinDenyPacket, both start their own payload at +0x14.

Constructor & Destructor Documentation

◆ ToSingleNetManagerPacket()

ToSingleNetManagerPacket::ToSingleNetManagerPacket ( )
inline

Route the packet with the pair 1 and 0.

Inline. The New() factories of both derived classes store that pair.


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