blob: 0ad90e75489a5e409fb6af157f524b961d01223b [file] [log] [blame]
Ningyuan Wangb6836022015-12-02 14:39:01 -08001//
2// Copyright (C) 2015 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17#include "dhcp_client/manager.h"
18#include "dhcp_client/service.h"
19
20namespace dhcp_client {
21
22Service::Service(Manager* manager,
23 int service_identifier,
24 EventDispatcherInterface* event_dispatcher,
25 const brillo::VariantDictionary& configs)
26 : manager_(manager),
27 identifier_(service_identifier),
28 event_dispatcher_(event_dispatcher),
29 arp_gateway_(false),
30 unicast_arp_(false),
31 request_na_(false),
32 request_pd_(false) {
33 ParseConfigs(configs);
34}
35
36Service::~Service() {
37}
38
39void Service::Start() {
40}
41
42void Service::Stop() {
43}
44
45void Service::ParseConfigs(const brillo::VariantDictionary& configs) {
46}
47
48} // namespace dhcp_client
49