1 | /* |
---|---|
2 | * IXSelectInterrupt.cpp |
3 | * Author: Benjamin Sergeant |
4 | * Copyright (c) 2019 Machine Zone, Inc. All rights reserved. |
5 | */ |
6 | |
7 | #include "IXSelectInterrupt.h" |
8 | |
9 | namespace ix |
10 | { |
11 | const uint64_t SelectInterrupt::kSendRequest = 1; |
12 | const uint64_t SelectInterrupt::kCloseRequest = 2; |
13 | |
14 | SelectInterrupt::SelectInterrupt() |
15 | { |
16 | ; |
17 | } |
18 | |
19 | SelectInterrupt::~SelectInterrupt() |
20 | { |
21 | ; |
22 | } |
23 | |
24 | bool SelectInterrupt::init(std::string& /*errorMsg*/) |
25 | { |
26 | return true; |
27 | } |
28 | |
29 | bool SelectInterrupt::notify(uint64_t /*value*/) |
30 | { |
31 | return true; |
32 | } |
33 | |
34 | uint64_t SelectInterrupt::read() |
35 | { |
36 | return 0; |
37 | } |
38 | |
39 | bool SelectInterrupt::clear() |
40 | { |
41 | return true; |
42 | } |
43 | |
44 | int SelectInterrupt::getFd() const |
45 | { |
46 | return -1; |
47 | } |
48 | |
49 | void* SelectInterrupt::getEvent() const |
50 | { |
51 | return nullptr; |
52 | } |
53 | } // namespace ix |
54 |