mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
nativenet: change some error messages to debug messages
This commit is contained in:
parent
f295b28369
commit
446c01c796
@ -136,7 +136,10 @@ private:
|
|||||||
* used to do a full reset of buffers
|
* used to do a full reset of buffers
|
||||||
*/
|
*/
|
||||||
inline void Buffered_DatagramConnection::ClearAll(void) {
|
inline void Buffered_DatagramConnection::ClearAll(void) {
|
||||||
nativenet_cat.error() << "Buffered_DatagramConnection::ClearAll Starting Auto Reset\n";
|
if (nativenet_cat.is_debug()) {
|
||||||
|
nativenet_cat.debug()
|
||||||
|
<< "Buffered_DatagramConnection::ClearAll Starting Auto Reset\n";
|
||||||
|
}
|
||||||
Close();
|
Close();
|
||||||
_Writer.ReSet();
|
_Writer.ReSet();
|
||||||
_Reader.ReSet();
|
_Reader.ReSet();
|
||||||
@ -215,8 +218,11 @@ inline Buffered_DatagramConnection::~Buffered_DatagramConnection(void)
|
|||||||
inline Buffered_DatagramConnection::Buffered_DatagramConnection(int rbufsize, int wbufsize, int write_flush_point)
|
inline Buffered_DatagramConnection::Buffered_DatagramConnection(int rbufsize, int wbufsize, int write_flush_point)
|
||||||
: _Writer(wbufsize,write_flush_point) , _Reader(rbufsize)
|
: _Writer(wbufsize,write_flush_point) , _Reader(rbufsize)
|
||||||
{
|
{
|
||||||
nativenet_cat.error() << "Buffered_DatagramConnection Constructor rbufsize = " << rbufsize
|
if (nativenet_cat.is_debug()) {
|
||||||
<< " wbufsize = " << wbufsize << " write_flush_point = " << write_flush_point << "\n";
|
nativenet_cat.debug()
|
||||||
|
<< "Buffered_DatagramConnection Constructor rbufsize = " << rbufsize
|
||||||
|
<< " wbufsize = " << wbufsize << " write_flush_point = " << write_flush_point << "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool Buffered_DatagramConnection::SendMessageBufferOnly(Datagram &msg)
|
inline bool Buffered_DatagramConnection::SendMessageBufferOnly(Datagram &msg)
|
||||||
@ -289,7 +295,9 @@ bool Buffered_DatagramConnection::Flush(void)
|
|||||||
* Reset
|
* Reset
|
||||||
*/
|
*/
|
||||||
inline void Buffered_DatagramConnection::Reset() {
|
inline void Buffered_DatagramConnection::Reset() {
|
||||||
nativenet_cat.error() << "Buffered_DatagramConnection::Reset()\n";
|
if (nativenet_cat.is_debug()) {
|
||||||
|
nativenet_cat.debug() << "Buffered_DatagramConnection::Reset()\n";
|
||||||
|
}
|
||||||
ClearAll();
|
ClearAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user