summaryrefslogtreecommitdiffstats
path: root/client/red_channel.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-10-20 11:18:56 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-03 17:18:37 +0200
commit219105794bd42dfd36e303ca73f1a546903e1846 (patch)
tree686b1959b0fd4576da324713290d7d913bf3b90f /client/red_channel.h
parent78f8d4b9e8fdb09055c04e82e30b6a0290795339 (diff)
downloadspice-219105794bd42dfd36e303ca73f1a546903e1846.tar.gz
spice-219105794bd42dfd36e303ca73f1a546903e1846.tar.xz
spice-219105794bd42dfd36e303ca73f1a546903e1846.zip
spice client: Transfer all channels run loop from EventsLoop class to ProcessLoop class
Diffstat (limited to 'client/red_channel.h')
-rw-r--r--client/red_channel.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/red_channel.h b/client/red_channel.h
index 0ffe051a..670d6521 100644
--- a/client/red_channel.h
+++ b/client/red_channel.h
@@ -23,7 +23,7 @@
#include "threads.h"
#include "red_peer.h"
#include "platform.h"
-#include "events_loop.h"
+#include "process_loop.h"
enum {
PASSIVE_STATE,
@@ -85,7 +85,7 @@ private:
ChannelCaps _remote_caps;
};
-class SendTrigger: public EventsLoop::Trigger {
+class SendTrigger: public EventSources::Trigger {
public:
SendTrigger(RedChannel& channel);
@@ -95,7 +95,7 @@ private:
RedChannel& _channel;
};
-class AbortTrigger: public EventsLoop::Trigger {
+class AbortTrigger: public EventSources::Trigger {
public:
virtual void on_event();
};
@@ -129,7 +129,7 @@ public:
protected:
RedClient& get_client() { return _client;}
- EventsLoop& get_events_loop() { return _loop;}
+ ProcessLoop& get_process_loop() { return _loop;}
MessageHandler* get_message_handler() { return _message_handler.get();}
virtual void on_connecting() {}
virtual void on_connect() {}
@@ -188,7 +188,7 @@ private:
uint32_t _message_ack_count;
uint32_t _message_ack_window;
- EventsLoop _loop;
+ ProcessLoop _loop;
SendTrigger _send_trigger;
AbortTrigger _abort_trigger;