Mercurial > hg > Members > you > BroadCastTreeVNC
diff src/treeVnc/InterfaceForViewer.java @ 0:756bfaf731f3
create new repository
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 21 Feb 2012 04:10:12 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/treeVnc/InterfaceForViewer.java Tue Feb 21 04:10:12 2012 +0900 @@ -0,0 +1,32 @@ +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); + +}