From 49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Tue, 20 Oct 2009 11:18:56 +0200 Subject: spice client: Transfer all channels run loop from EventsLoop class to ProcessLoop class --- client/client_net_socket.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/client_net_socket.h') 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; -- cgit