view src/treeVnc/InterfaceForViewer.java @ 5:970d5ac80256

add MyDataInputStream.java and DataInputStream1.java
author one
date Mon, 23 Apr 2012 21:10:23 +0900
parents 756bfaf731f3
children
line wrap: on
line source

package treeVnc;

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

public interface InterfaceForViewer extends java.lang.Runnable{

	public void init();
	public void start_threads();
	public void start();
	
	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);
	
}