55 lines
1.0 KiB
Java
55 lines
1.0 KiB
Java
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
package br.edu.ufsj.sms.net;
|
|
|
|
/**
|
|
*
|
|
* @author flavio
|
|
*/
|
|
public class ScreenCastMessage extends Message {
|
|
|
|
private String name;
|
|
private int y;
|
|
private byte[] imageByte;
|
|
|
|
public ScreenCastMessage() {
|
|
}
|
|
|
|
public ScreenCastMessage(String name, byte[] imageByte) {
|
|
this.name = name;
|
|
this.imageByte = imageByte;
|
|
}
|
|
|
|
/**
|
|
* @return the name
|
|
*/
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
/**
|
|
* @param name the name to set
|
|
*/
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
/**
|
|
* @return the imageByte
|
|
*/
|
|
public byte[] getImageByte() {
|
|
return imageByte;
|
|
}
|
|
|
|
/**
|
|
* @param imageByte the image to set
|
|
*/
|
|
public void setImageByte(byte[] imageByte) {
|
|
this.imageByte = imageByte;
|
|
}
|
|
|
|
}
|