Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9515 in orxonox.OLD for branches/proxy/src/lib


Ignore:
Timestamp:
Jul 27, 2006, 6:15:09 PM (18 years ago)
Author:
patrick
Message:

better debug

File:
1 edited

Legend:

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

    r9514 r9515  
    221221  for ( std::list<NetworkMessage>::iterator it = incomingMessageQueue.begin(); it != incomingMessageQueue.end();  )
    222222  {
    223     PRINTF(0)(" MessageManager: got msg with type: %i\n", it->messageType);
     223    PRINTF(0)("<<< MessageManager: got msg with type: %i\n", it->messageType);
    224224
    225225    if ( (*(messageHandlerMap[it->messageType].cb))( it->messageType, it->data, it->length, messageHandlerMap[it->messageType].someData, it->number ) )
     
    327327void MessageManager::sendMessage( MessageType messageType, byte * data, int dataLength, RecieverType recieverType, int reciever, MessagePriority messagePriority )
    328328{
     329  PRINTF(0)(" >>> MessageManager: sending msg with type: %i, recieverType: %i, reciever %i\n", messageType, recieverType, reciever);
     330
    329331  // go through all outgoing message queues and add the message if its appropriate
    330332  for ( MessageQueue::iterator it = this->outgoingMessageQueue.begin(); it != this->outgoingMessageQueue.end(); it++ )
Note: See TracChangeset for help on using the changeset viewer.