Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2006, 12:39:03 AM (18 years ago)
Author:
patrick
Message:

some more smaller works:

  • fixed a bug preventing clients/proxies to connect to server
  • started an implementation of a soft-reconnection
  • fixed a bug preventing more than one proxy to connect to a ms
File:
1 edited

Legend:

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

    r9638 r9653  
    5050
    5151    void reconnectToServer(IP address);
    52     void softReconnectToServer(IP address);
     52    void softReconnectToServer(int serverUserId, IP address);
    5353
    5454
     
    7575    inline PeerInfo* getPeerInfo() { return this->pInfo; }
    7676    inline PeerList getPeerInfoList() { return this->peers; }
     77
     78    inline void setRedirectionTest() { this->bSoftRedirect = true; }
    7779
    7880    /* data processing*/
     
    104106    void handleReconnect( int userId );
    105107    void handleDisconnect( int userId );
     108    void handleSoftDisconnect( int userId);
    106109
    107110    void writeToNewDict( byte * data, int length, bool upstream );
     
    134137    bool                       bRedirect;                   //!< true if the master server sent a redirect command
    135138    int                        redirectionUID;              //!< uid of the redir host
     139    bool                       bSoftRedirect;               //!< tsting
    136140};
    137141#endif /* _NETWORK_STREAM */
Note: See TracChangeset for help on using the changeset viewer.