com.opera.core.systems.model
Class ScreenShotReply

java.lang.Object
  extended by com.opera.core.systems.model.ScreenShotReply

public class ScreenShotReply
extends java.lang.Object

A wrapper object for screenshot reply, is used to overcome the problem of 2 different protocols (xml/pb)

Author:
Deniz Turkoglu

Field Summary
protected  boolean blank
           
protected  java.util.List<ColorResult> colorResult
           
protected  boolean crashed
           
protected  java.lang.String md5
           
protected  byte[] png
           
protected  int windowId
           
 
Constructor Summary
ScreenShotReply(java.lang.String md5)
           
ScreenShotReply(java.lang.String md5, byte[] png)
           
ScreenShotReply(java.lang.String md5, java.util.List<ColorResult> colorResult)
           
 
Method Summary
 java.util.List<ColorResult> getColorResult()
           
 java.lang.String getMd5()
           
 byte[] getPng()
           
 int getWindowId()
           
 boolean isBlank()
           
 boolean isCrashed()
           
 void setBlank(boolean blank)
           
 void setColorResult(java.util.List<ColorResult> colorResult)
           
 void setCrashed(boolean crashed)
           
 void setMd5(java.lang.String md5)
           
 void setPng(byte[] png)
           
 void setWindowId(int windowId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowId

protected int windowId

md5

protected java.lang.String md5

png

protected byte[] png

blank

protected boolean blank

crashed

protected boolean crashed

colorResult

protected java.util.List<ColorResult> colorResult
Constructor Detail

ScreenShotReply

public ScreenShotReply(java.lang.String md5)

ScreenShotReply

public ScreenShotReply(java.lang.String md5,
                       byte[] png)

ScreenShotReply

public ScreenShotReply(java.lang.String md5,
                       java.util.List<ColorResult> colorResult)
Method Detail

getColorResult

public java.util.List<ColorResult> getColorResult()

setColorResult

public void setColorResult(java.util.List<ColorResult> colorResult)

getWindowId

public int getWindowId()

setWindowId

public void setWindowId(int windowId)

getMd5

public java.lang.String getMd5()

setMd5

public void setMd5(java.lang.String md5)

getPng

public byte[] getPng()

setPng

public void setPng(byte[] png)

isBlank

public boolean isBlank()

setBlank

public void setBlank(boolean blank)

isCrashed

public boolean isCrashed()

setCrashed

public void setCrashed(boolean crashed)


Copyright © 2011. All Rights Reserved.