1 | // |
---|---|
2 | // SocketNotification.cpp |
3 | // |
4 | // Library: Net |
5 | // Package: Reactor |
6 | // Module: SocketNotification |
7 | // |
8 | // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. |
9 | // and Contributors. |
10 | // |
11 | // SPDX-License-Identifier: BSL-1.0 |
12 | // |
13 | |
14 | |
15 | #include "Poco/Net/SocketNotification.h" |
16 | |
17 | |
18 | namespace Poco { |
19 | namespace Net { |
20 | |
21 | |
22 | SocketNotification::SocketNotification(SocketReactor* pReactor): |
23 | _pReactor(pReactor) |
24 | { |
25 | } |
26 | |
27 | |
28 | SocketNotification::~SocketNotification() |
29 | { |
30 | } |
31 | |
32 | |
33 | void SocketNotification::setSocket(const Socket& socket) |
34 | { |
35 | _socket = socket; |
36 | } |
37 | |
38 | |
39 | ReadableNotification::ReadableNotification(SocketReactor* pReactor): |
40 | SocketNotification(pReactor) |
41 | { |
42 | } |
43 | |
44 | |
45 | ReadableNotification::~ReadableNotification() |
46 | { |
47 | } |
48 | |
49 | |
50 | WritableNotification::WritableNotification(SocketReactor* pReactor): |
51 | SocketNotification(pReactor) |
52 | { |
53 | } |
54 | |
55 | |
56 | WritableNotification::~WritableNotification() |
57 | { |
58 | } |
59 | |
60 | |
61 | ErrorNotification::ErrorNotification(SocketReactor* pReactor): |
62 | SocketNotification(pReactor) |
63 | { |
64 | } |
65 | |
66 | |
67 | ErrorNotification::~ErrorNotification() |
68 | { |
69 | } |
70 | |
71 | |
72 | TimeoutNotification::TimeoutNotification(SocketReactor* pReactor): |
73 | SocketNotification(pReactor) |
74 | { |
75 | } |
76 | |
77 | |
78 | TimeoutNotification::~TimeoutNotification() |
79 | { |
80 | } |
81 | |
82 | |
83 | IdleNotification::IdleNotification(SocketReactor* pReactor): |
84 | SocketNotification(pReactor) |
85 | { |
86 | } |
87 | |
88 | |
89 | IdleNotification::~IdleNotification() |
90 | { |
91 | } |
92 | |
93 | |
94 | ShutdownNotification::ShutdownNotification(SocketReactor* pReactor): |
95 | SocketNotification(pReactor) |
96 | { |
97 | } |
98 | |
99 | |
100 | ShutdownNotification::~ShutdownNotification() |
101 | { |
102 | } |
103 | |
104 | |
105 | } } // namespace Poco::Net |
106 |