Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 23, 2006, 2:43:50 PM (18 years ago)
Author:
patrick
Message:

network: debug function for NetworkStream and connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_stream.h

    r6634 r6658  
    5757    inline bool isUserIdActive( int userID ) { if (userID>=networkSockets.size()) return false; else return networkSockets[userID]!=NULL; }
    5858
     59    void debug();
     60
     61
    5962  private:
    60     NetworkProtocol*       networkProtocol;
    61     ConnectionMonitor*     connectionMonitor;
    62     SynchronizeableList    synchronizeables;
    63     NetworkSocketVector    networkSockets;
    64     HandshakeVector        handshakes;
    65     ServerSocket*          serverSocket;
    66     int                    type;
    67     Header                 packetHeader;
    68     bool                   bActive;
    69     std::list<int>         freeSocketSlots;
     63    void updateConnectionList();
    7064
    71     int                    myHostId;
    72     int                    maxConnections;
    7365
    74     NetworkGameManager*   networkGameManager;
     66  private:
     67    NetworkProtocol*           networkProtocol;
     68    ConnectionMonitor*         connectionMonitor;
     69    SynchronizeableList        synchronizeables;
     70    NetworkSocketVector        networkSockets;
     71    HandshakeVector            handshakes;
     72    ServerSocket*              serverSocket;
     73    int                        type;
     74    Header                     packetHeader;
     75    bool                       bActive;
     76    std::list<int>             freeSocketSlots;
    7577
    76     void updateConnectionList();
     78    int                        myHostId;
     79    int                        maxConnections;
     80
     81    NetworkGameManager*        networkGameManager;
    7782};
    7883#endif /* _NETWORK_STREAM */
Note: See TracChangeset for help on using the changeset viewer.