Changeset d05086b in network-game for common/MessageProcessor.h


Ignore:
Timestamp:
Aug 1, 2013, 1:56:17 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
8271c78
Parents:
b35b2b2
Message:

Support for logging to a textfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/MessageProcessor.h

    rb35b2b2 rd05086b  
    2424   ~MessageProcessor();
    2525
    26    int sendMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest);
    27    int receiveMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest);
    28    void resendUnackedMessages(int sock);
    29    void cleanAckedMessages();
     26   int sendMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest, ofstream* outputLog = NULL);
     27   int receiveMessage(NETWORK_MSG *msg, int sock, struct sockaddr_in *dest, ofstream* outputLog = NULL);
     28   void resendUnackedMessages(int sock, ofstream* outputLog = NULL);
     29   void cleanAckedMessages(ofstream* outputLog = NULL);
    3030
    3131   map<unsigned int, map<unsigned long, MessageContainer> >& getSentMessages();
Note: See TracChangeset for help on using the changeset viewer.