Import of server, all hooked together

This commit is contained in:
Keith Winstein
2011-08-13 17:10:19 -04:00
parent 71e22ee041
commit 577bfc0dae
20 changed files with 355 additions and 70 deletions
+2 -1
View File
@@ -105,7 +105,7 @@ namespace Network {
/* simple receiver */
list< TimestampedState<RemoteState> > received_states;
MyState last_receiver_state; /* the state we were in when user last queried state */
RemoteState last_receiver_state; /* the state we were in when user last queried state */
FragmentAssembly fragments;
@@ -125,6 +125,7 @@ namespace Network {
string get_key( void ) { return connection.get_key(); }
MyState &get_current_state( void ) { return current_state; }
void set_current_state( const MyState &x ) { current_state = x; }
string get_remote_diff( void );