diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-20 14:59:36 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-09-26 12:18:00 +0300 |
commit | 4b2bf4d88c253502003aa5e4b93a045742eec9b4 (patch) | |
tree | b46ab85f15ea4ac45741b6c3fb522addc4d6a8e2 /client/red_channel.h | |
parent | 010b22cd771b7e81363b4b6521e4265b093fcd25 (diff) | |
download | spice-4b2bf4d88c253502003aa5e4b93a045742eec9b4.tar.gz spice-4b2bf4d88c253502003aa5e4b93a045742eec9b4.tar.xz spice-4b2bf4d88c253502003aa5e4b93a045742eec9b4.zip |
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.
Diffstat (limited to 'client/red_channel.h')
-rw-r--r-- | client/red_channel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/red_channel.h b/client/red_channel.h index c47d1433..0eedc4d2 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); |