blob: 86a59ed6e8e7bc44cee287fbf8fbbcea69fc37d9 [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
Darin Petkove4b27022012-05-16 13:28:50 +02008#include <gtest/gtest_prod.h> // for FRIEND_TEST
9
Ben Chan99c8a4d2012-05-01 08:11:53 -070010#include "shill/refptr_types.h"
11#include "shill/service.h"
12
13namespace shill {
14
15class WiMaxService : public Service {
16 public:
17 WiMaxService(ControlInterface *control,
18 EventDispatcher *dispatcher,
19 Metrics *metrics,
20 Manager *manager,
21 const WiMaxRefPtr &wimax);
22 virtual ~WiMaxService();
23
24 // Inherited from Service.
25 virtual bool TechnologyIs(const Technology::Identifier type) const;
26 virtual void Connect(Error *error);
27 virtual void Disconnect(Error *error);
Ben Chanc07362b2012-05-12 10:54:11 -070028 virtual std::string GetStorageIdentifier() const;
Ben Chan99c8a4d2012-05-01 08:11:53 -070029
30 private:
Darin Petkove4b27022012-05-16 13:28:50 +020031 FRIEND_TEST(WiMaxServiceTest, GetDeviceRpcId);
32
Ben Chanc07362b2012-05-12 10:54:11 -070033 virtual std::string GetDeviceRpcId(Error *error);
34
Ben Chan99c8a4d2012-05-01 08:11:53 -070035 WiMaxRefPtr wimax_;
Darin Petkove4b27022012-05-16 13:28:50 +020036 std::string storage_id_;
Ben Chan99c8a4d2012-05-01 08:11:53 -070037
38 DISALLOW_COPY_AND_ASSIGN(WiMaxService);
39};
40
41} // namespace shill
42
43#endif // SHILL_WIMAX_SERVICE_H_