blob: b7973bc419739adfcc76430eae465d5733d333b3 [file] [log] [blame]
Ben Chan99c8a4d2012-05-01 08:11:53 -07001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_WIMAX_SERVICE_H_
6#define SHILL_WIMAX_SERVICE_H_
7
8#include "shill/refptr_types.h"
9#include "shill/service.h"
10
11namespace shill {
12
13class WiMaxService : public Service {
14 public:
15 WiMaxService(ControlInterface *control,
16 EventDispatcher *dispatcher,
17 Metrics *metrics,
18 Manager *manager,
19 const WiMaxRefPtr &wimax);
20 virtual ~WiMaxService();
21
22 // Inherited from Service.
23 virtual bool TechnologyIs(const Technology::Identifier type) const;
24 virtual void Connect(Error *error);
25 virtual void Disconnect(Error *error);
Ben Chanc07362b2012-05-12 10:54:11 -070026 virtual std::string GetStorageIdentifier() const;
Ben Chan99c8a4d2012-05-01 08:11:53 -070027
28 private:
Ben Chanc07362b2012-05-12 10:54:11 -070029 virtual std::string GetDeviceRpcId(Error *error);
30
Ben Chan99c8a4d2012-05-01 08:11:53 -070031 WiMaxRefPtr wimax_;
32
33 DISALLOW_COPY_AND_ASSIGN(WiMaxService);
34};
35
36} // namespace shill
37
38#endif // SHILL_WIMAX_SERVICE_H_