acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
socket_event.h
1#pragma once
2
3#if 0
4
6class CLASS_DECL_ACME socket_event :
7 public happening
8{
9public:
10
12 bool m_bRead;
13 bool m_bActive;
14
16 ::u32 m_iSocket;
17
20 bool m_bUsedBySocketWaiterThread;
21
25 socket_event(::particle * pparticle, ::u32 socket = -1, bool read = true);
26
28 virtual ~socket_event();
29
31 virtual operator bool ();
32 void set_active(bool active = true);
33
34
37 void SetSocketHandle(::u32 socket);
38 //void SetSocketHandle(const SocketBase& socket) { socket_ = socket.get_handle_(); } // MBO: alternative solution
39 //void ChangeSocketHandle(socket_id socket);
40
41
42 void init_wait();
43 void exit_wait();
44 void SetUsedBySocketWaiterThread();
45};
46
47
48#endif
Definition happening.h:37