From c39d842ff16be4303c48b4faa19f22cd7312b3c7 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Tue, 20 Sep 2011 14:59:36 +0300 Subject: client: support semi-seamless migration between spice servers with different protocols. It can't actually happen right now, since switch-host migration scheme will take place if the src/target server has protocol 1. (cherry picked from commit 4b2bf4d88c253502003aa5e4b93a045742eec9b4 branch 0.8) --- client/red_channel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/red_channel.h') diff --git a/client/red_channel.h b/client/red_channel.h index ba78acce..ee5b1851 100644 --- a/client/red_channel.h +++ b/client/red_channel.h @@ -66,6 +66,8 @@ public: uint32_t get_peer_major() { return _remote_major;} uint32_t get_peer_minor() { return _remote_minor;} + virtual void swap(RedChannelBase* other); + protected: void set_common_capability(uint32_t cap); void set_capability(uint32_t cap); -- cgit