diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2010-03-31 17:45:12 +0300 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-04-06 14:56:46 +0200 |
commit | 88aa56045a57e760beb35e659731741dc15f3aac (patch) | |
tree | 2444ebdcbd6aa35081b965ba699745c0c3b4bf42 /client/red_client.h | |
parent | 91bc0e8625d8878d93648dbb452c37fcf85305f5 (diff) | |
download | spice-88aa56045a57e760beb35e659731741dc15f3aac.tar.gz spice-88aa56045a57e760beb35e659731741dc15f3aac.tar.xz spice-88aa56045a57e760beb35e659731741dc15f3aac.zip |
client: handling SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST
disconnecting from the current host and connecting to the target host.
Diffstat (limited to 'client/red_client.h')
-rw-r--r-- | client/red_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h index 5e783a5f..806bb307 100644 --- a/client/red_client.h +++ b/client/red_client.h @@ -139,6 +139,8 @@ public: virtual void disconnect(); virtual bool abort(); + void connect(bool wait_main_disconnect); + void push_event(Event* event); void activate_interval_timer(Timer* timer, unsigned int millisec); void deactivate_interval_timer(Timer* timer); @@ -194,6 +196,7 @@ private: void handle_agent_disconnected(RedPeer::InMessage* message); void handle_agent_data(RedPeer::InMessage* message); void handle_agent_tokens(RedPeer::InMessage* message); + void handle_migrate_switch_host(RedPeer::InMessage* message); void on_agent_reply(VDAgentReply* reply); |