RakNet  4.0
Public Member Functions | List of all members
RakNet::PacketOutputWindowLogger Class Reference

Packetlogger that outputs to the output window in the debugger. Windows only. More...

#include <PacketOutputWindowLogger.h>

Inheritance diagram for RakNet::PacketOutputWindowLogger:
RakNet::PacketLogger RakNet::PluginInterface2

Public Member Functions

virtual void WriteLog (const char *str)
 Override this to log strings to wherever. Log should be threadsafe.
 
- Public Member Functions inherited from RakNet::PacketLogger
virtual void OnDirectSocketSend (const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress)
 Events on low level sends and receives. These functions may be called from different threads at the same time.
 
virtual void OnDirectSocketReceive (const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress)
 
virtual void OnReliabilityLayerNotification (const char *errorMessage, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress, bool isError)
 
virtual void OnInternalPacket (InternalPacket *internalPacket, unsigned frameNumber, SystemAddress remoteSystemAddress, RakNet::TimeMS time, int isSend)
 
virtual void OnAck (unsigned int messageNumber, SystemAddress remoteSystemAddress, RakNet::TimeMS time)
 
virtual void OnPushBackPacket (const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress)
 
virtual void LogHeader (void)
 Logs out a header for all the data.
 
virtual void SetPrefix (const char *_prefix)
 Prepend this string to output logs.
 
virtual void SetSuffix (const char *_suffix)
 Append this string to output logs. (newline is useful here)
 
void SetLogDirectMessages (bool send)
 Log the direct sends and receives or not. Default true.
 
- Public Member Functions inherited from RakNet::PluginInterface2
virtual void OnAttach (void)
 Called when the interface is attached.
 
virtual void OnDetach (void)
 Called when the interface is detached.
 
virtual void Update (void)
 Update is called every time a packet is checked for .
 
virtual PluginReceiveResult OnReceive (Packet *packet)
 
virtual void OnRakPeerStartup (void)
 Called when RakPeer is initialized.
 
virtual void OnRakPeerShutdown (void)
 Called when RakPeer is shutdown.
 
virtual void OnClosedConnection (const SystemAddress &systemAddress, RakNetGUID rakNetGUID, PI2_LostConnectionReason lostConnectionReason)
 
virtual void OnNewConnection (const SystemAddress &systemAddress, RakNetGUID rakNetGUID, bool isIncoming)
 
virtual void OnFailedConnectionAttempt (Packet *packet, PI2_FailedConnectionAttemptReason failedConnectionAttemptReason)
 

Additional Inherited Members

- Protected Member Functions inherited from RakNet::PacketLogger
virtual bool UsesReliabilityLayer (void) const
 

Detailed Description

Packetlogger that outputs to the output window in the debugger. Windows only.


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