view src/main/java/jp/ac/u_ryukyu/treevnc/InterfaceForViewer.java @ 25:8c15ff5f0f8e

Merge with acf1a9eb47105afc47b1f55f441c03fb1a89ca97
author one
date Thu, 30 Aug 2012 15:14:31 +0900
parents 12c3a73be47f
children
line wrap: on
line source

package jp.ac.u_ryukyu.treevnc;

import java.awt.Image;
import java.net.Socket;

import jp.ac.u_ryukyu.treevnc.client.*;

public interface InterfaceForViewer extends java.lang.Runnable{

	public void setEchoValue(EchoClient value);
	public String readParameter(String name, boolean required);
	
	public void getParentName();
	// synchronized
	public void disconnect();
	public void fatalError(String str);
	public void fatalError(String str, Exception e);

	
	public void destroy();
	
	public void enableInput(boolean enable);
	

	public void setClientSocket(Socket sock);
	public void close();
	public Image getScreenImage();
	public void writeScreenData(byte[] b, String imageFormat);
	
}