summaryrefslogtreecommitdiffstats
path: root/client/client_net_socket.h
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2009-10-20 11:18:56 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-11-09 17:30:49 +0200
commit49f5e5973c5be6ba23f1dbe9c4ef5ab08017e962 (patch)
treeeee0f14f61e2c7209576570de63e1927461b516c /client/client_net_socket.h
parent8d5b738ba169c44d223ab6d99ec12e763ce5bc8e (diff)
downloadspice-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.h10
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;