4 * Copyright (C) 2011 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
7 * GiWoong Kim <giwoong.kim@samsung.com>
8 * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30 package org.tizen.emulator.skin.comm.sock.data;
32 import java.io.IOException;
38 public class DisplayStateData extends AbstractSendData {
43 public DisplayStateData(int scale, short rotation) {
45 this.rotation = rotation;
49 protected void write() throws IOException {
55 public String toString() {
56 StringBuilder builder = new StringBuilder();
57 builder.append("DisplayStateData [scale=");
58 builder.append(scale);
59 builder.append(", rotation=");
60 builder.append(rotation);
62 return builder.toString();