#include <C4Network2IO.h>
Public Member Functions | |
C4PacketConnRe () | |
C4PacketConnRe (bool fOK, bool fWrongPassword, const char *szMsg=nullptr) | |
bool | isOK () const |
bool | isPasswordWrong () const |
const char * | getMsg () const |
void | CompileFunc (StdCompiler *pComp) override |
C4NetIOPacket | pack (const C4NetIO::addr_t &addr=C4NetIO::addr_t()) const |
C4NetIOPacket | pack (uint8_t cStatus, const C4NetIO::addr_t &addr=C4NetIO::addr_t()) const |
void | unpack (const C4NetIOPacket &Pkt, char *pStatus=nullptr) |
Protected Attributes | |
bool | fOK |
bool | fWrongPassword |
StdStrBuf | szMsg |
Definition at line 372 of file C4Network2IO.h.
|
default |
C4PacketConnRe::C4PacketConnRe | ( | bool | fOK, |
bool | fWrongPassword, | ||
const char * | szMsg = nullptr |
||
) |
Definition at line 422 of file C4Packet2.cpp.
|
overridevirtual |
Implements C4PacketBase.
Definition at line 429 of file C4Packet2.cpp.
References fOK, fWrongPassword, mkNamingAdapt(), szMsg, and StdCompiler::Value().
|
inline |
Definition at line 385 of file C4Network2IO.h.
References StdStrBuf::getData(), and szMsg.
Referenced by C4Network2::HandleConnRe().
|
inline |
Definition at line 383 of file C4Network2IO.h.
References fOK.
Referenced by C4Network2::HandleConnRe().
|
inline |
Definition at line 384 of file C4Network2IO.h.
References fWrongPassword.
Referenced by C4Network2::HandleConnRe().
|
inherited |
Definition at line 150 of file C4Packet2.cpp.
Referenced by MkC4NetIOPacket().
|
inherited |
Definition at line 155 of file C4Packet2.cpp.
References mkDecompileAdapt(), and mkInsertAdapt().
|
inherited |
Definition at line 160 of file C4Packet2.cpp.
References C4NetIOPacket::getPBuf(), C4NetIOPacket::getRef(), and C4NetIOPacket::getStatus().
Referenced by C4IDPacket::C4IDPacket(), and C4Network2IO::HandlePacket().
|
protected |
Definition at line 379 of file C4Network2IO.h.
Referenced by CompileFunc(), and isOK().
|
protected |
Definition at line 379 of file C4Network2IO.h.
Referenced by CompileFunc(), and isPasswordWrong().
|
protected |
Definition at line 380 of file C4Network2IO.h.
Referenced by CompileFunc(), and getMsg().