OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.blimp.session; | |
6 | |
7 /** | |
8 * Stores the information about the engine. | |
9 */ | |
10 public class EngineInfo { | |
11 public final String ipAddress; | |
12 public final String engineVersion; | |
13 public final String assignerUrl; | |
14 private boolean mConnected; | |
15 | |
16 public EngineInfo(String ip, String version, String assigner) { | |
17 ipAddress = ip; | |
18 engineVersion = version; | |
19 assignerUrl = assigner; | |
20 } | |
21 | |
22 public boolean isConnected() { | |
23 return mConnected; | |
24 } | |
25 | |
26 public void setConnected(boolean connected) { | |
27 this.mConnected = connected; | |
28 } | |
29 } | |
OLD | NEW |