Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7748 in orxonox.OLD for branches/network


Ignore:
Timestamp:
May 20, 2006, 7:48:09 PM (19 years ago)
Author:
rennerc
Message:

implemented class to log network things to telnet

Location:
branches/network/src
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/Makefile.am

    r7631 r7748  
    2121                      converter.cc \
    2222                      message_manager.cc \
     23                      network_log.cc \
    2324                      \
    2425                      synchronizeable_var/synchronizeable_var.cc \
     
    5253                 netdefs.h \
    5354                 message_manager.h \
     55                 network_log.h \
    5456                 \
    5557                 synchronizeable_var/synchronizeable_var.h \
  • branches/network/src/lib/network/data_stream.cc

    r5822 r7748  
    1616/* include Data_stream Header */
    1717#include "data_stream.h"
    18 
    19 
    2018
    2119
  • branches/network/src/lib/network/network_stream.cc

    r7731 r7748  
    3030#include "shared_network_data.h"
    3131#include "message_manager.h"
     32
     33#include "network_log.h"
     34
    3235
    3336#include "lib/util/loading/factory.h"
     
    582585        peer->second.ping /= peer->second.ackDelay.size();
    583586     
    584       PRINTF(0)("PING: user: %d ping: %d\n", peer->second.userId, peer->second.ping );
     587      NETPRINTF(0)("PING: user: %d ping: %d\n", peer->second.userId, peer->second.ping );
    585588   
    586589      peer->second.lastAckedState = ackedState;
  • branches/network/src/subprojects/network/network_unit_test.cc

    r7731 r7748  
    1717#include "shared_network_data.h"
    1818#include "message_manager.h"
     19#include "network_log.h"
    1920
    2021#include "simple_sync.h"
     
    265266  SimpleSync* ss = new SimpleSync("Server");
    266267  ss->setSynchronized( true );
     268 
     269  NetworkLog::getInstance()->listen( 8888 );
    267270
    268271  //MessageManager::getInstance()->initUser( 1 );
Note: See TracChangeset for help on using the changeset viewer.