OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.blimp.session; | 5 package org.chromium.blimp.app.session; |
6 | 6 |
7 /** | 7 /** |
8 * Stores the information about the engine. | 8 * Stores the information about the engine. |
9 */ | 9 */ |
10 public class EngineInfo { | 10 public class EngineInfo { |
11 public final String ipAddress; | 11 public final String ipAddress; |
12 public final String engineVersion; | 12 public final String engineVersion; |
13 public final String assignerUrl; | 13 public final String assignerUrl; |
14 private boolean mConnected; | 14 private boolean mConnected; |
15 | 15 |
16 public EngineInfo(String ip, String version, String assigner) { | 16 public EngineInfo(String ip, String version, String assigner) { |
17 ipAddress = ip; | 17 ipAddress = ip; |
18 engineVersion = version; | 18 engineVersion = version; |
19 assignerUrl = assigner; | 19 assignerUrl = assigner; |
20 } | 20 } |
21 | 21 |
22 public boolean isConnected() { | 22 public boolean isConnected() { |
23 return mConnected; | 23 return mConnected; |
24 } | 24 } |
25 | 25 |
26 public void setConnected(boolean connected) { | 26 public void setConnected(boolean connected) { |
27 this.mConnected = connected; | 27 this.mConnected = connected; |
28 } | 28 } |
29 } | 29 } |
OLD | NEW |