diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2009-10-20 11:18:56 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-11-09 17:30:49 +0200 |
commit | 49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962 (patch) | |
tree | eee0f14f61e2c7209576570de63e1927461b516c /client/client_net_socket.h | |
parent | 8d5b738ba169c44d223ab6d99ec12e763ce5bc8e (diff) | |
download | spice-49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962.tar.gz spice-49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962.tar.xz spice-49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962.zip |
spice client: Transfer all channels run loop from EventsLoop class to ProcessLoop class
Diffstat (limited to 'client/client_net_socket.h')
-rw-r--r-- | client/client_net_socket.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/client_net_socket.h b/client/client_net_socket.h index 8ca1cfcf..578cd400 100644 --- a/client/client_net_socket.h +++ b/client/client_net_socket.h @@ -23,7 +23,7 @@ #include "platform_utils.h" #include "common.h" -#include "events_loop.h" +#include "process_loop.h" /* intterface for connenctions inside client LAN */ @@ -34,7 +34,7 @@ typedef enum { SOCKET_STATUS_CLOSED, } SocketStatus; -class ClientNetSocket: public EventsLoop::Socket { +class ClientNetSocket: public EventSources::Socket { public: class ReceiveBuffer; class SendBuffer; @@ -46,7 +46,7 @@ public: class ShutdownExcpetion {}; ClientNetSocket(uint16_t id, const struct in_addr& dst_addr, uint16_t dst_port, - EventsLoop& events_loop, ClientNetSocket::EventHandler& event_handler); + ProcessLoop& process_loop, ClientNetSocket::EventHandler& event_handler); virtual ~ClientNetSocket(); bool connect(uint32_t recv_tokens); @@ -61,7 +61,7 @@ public: inline const struct in_addr& local_addr() {return _local_addr;} inline uint16_t local_port() {return _local_port;} - /* EventsLoop::Socket interface */ + /* EventSources::Socket interface */ void on_event(); int get_socket() {return _peer;} @@ -98,7 +98,7 @@ private: SOCKET _peer; - EventsLoop& _events_loop; + ProcessLoop& _process_loop; EventHandler& _event_handler; |