view src/viewer_swing/java/com/glavsoft/viewer/ViewerInterface.java @ 175:e1aa06b0d2ff

on going ...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 22 Jun 2014 11:35:01 +0900
parents 2e1530139169
children fa6cfb85444e
line wrap: on
line source

package com.glavsoft.viewer;

import java.io.IOException;
import java.net.Socket;

import jp.ac.u_ryukyu.treevnc.MyRfbProto;

public interface ViewerInterface extends Runnable {

	public boolean getCuiVersion();

	public MyRfbProto getRfb();

	public void closeApp();

	public void setConnectionParam(String parentsAddress, int portNumber);

	public void setSocket(Socket soc);

	public void run();

	public void setOpenPort(int parseInt);

	public void setTeminationType(boolean b);

	public void setCuiVersion(boolean flag);

    public void startTreeViewer(String hostName, boolean b);

    public void startTreeViewer();

	public void createRootSelectionPanel();

    public void connectToParenet(int port, String hostname) throws IOException;

    public void changeVNCServer(String newHostName, int i, int j, short id);

    public void initRoot(String hostName, MyRfbProto myRfb);

    public void inhelitClients(ViewerInterface vncProxyService, String hostName);

    public void initRootViewer(String hostName);

    public void proxyStart(String[] args, int width, int height);

}