blob: 7b43da6ad9027c7ef7dd0611eed63cdcbfd760e2 [file] [log] [blame]
Thomas Vachuska58de4162015-09-10 16:15:33 -07001/*
2 * Copyright 2015 Open Networking Laboratory
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 */
Madan Jampani565a66a2015-07-25 17:01:13 -070016package org.onosproject.net.device;
17
18import org.onosproject.net.DeviceId;
19import org.onosproject.store.Timestamp;
20
21/**
22 * Test adapter for device clock service.
23 */
24public class DeviceClockServiceAdapter implements DeviceClockService {
25
26 @Override
27 public boolean isTimestampAvailable(DeviceId deviceId) {
28 return false;
29 }
30
31 @Override
32 public Timestamp getTimestamp(DeviceId deviceId) {
33 return null;
34 }
35
36}