Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 13, 2006, 11:32:48 AM (19 years ago)
Author:
patrick
Message:

extending handshake for node type exchange

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9256 r9268  
    2626#include "udp_server_socket.h"
    2727#include "connection_monitor.h"
     28#include "network_monitor.h"
    2829#include "synchronizeable.h"
    2930#include "network_game_manager.h"
     
    4546#include <algorithm>
    4647
    47 /* include your own header */
     48
    4849#include "network_stream.h"
    4950
    50 /* probably unnecessary */
     51
    5152using namespace std;
    5253
     
    792793/**
    793794 * is executed when a handshake has finished
    794  * @todo create playable for new user
    795795 */
    796796void NetworkStream::handleNewClient( int userId )
    797797{
     798  // init and assign the message manager
    798799  MessageManager::getInstance()->initUser( userId );
    799 
     800  // do all game relevant stuff here
    800801  networkGameManager->signalNewPlayer( userId );
    801 }
     802
     803  // register the new client at the network monitor
     804//   this->networkMonitor->addClient();
     805}
     806
    802807
    803808/**
Note: See TracChangeset for help on using the changeset viewer.