1 | // |
2 | // UDPServerParams.cpp |
3 | // |
4 | // Library: Net |
5 | // Package: UDP |
6 | // Module: UDPServerParams |
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/UDPServerParams.h" |
16 | |
17 | |
18 | namespace Poco { |
19 | namespace Net { |
20 | |
21 | |
22 | UDPServerParams::UDPServerParams(const Poco::Net::SocketAddress& sa, |
23 | int nSockets, |
24 | Poco::Timespan timeout, |
25 | std::size_t handlerBufListSize, |
26 | bool notifySender, |
27 | int backlogThreshold): _sa(sa), |
28 | _nSockets(nSockets), |
29 | _timeout(timeout), |
30 | _handlerBufListSize(handlerBufListSize), |
31 | _notifySender(notifySender), |
32 | _backlogThreshold(backlogThreshold) |
33 | { |
34 | } |
35 | |
36 | |
37 | UDPServerParams::~UDPServerParams() |
38 | { |
39 | } |
40 | |
41 | |
42 | } } // namespace Poco::Net |
43 | |