view src/viewer_swing/java/com/glavsoft/viewer/ViewerInterface.java @ 257:11b59b223222

add function of fixing display size
author oc
date Mon, 01 Dec 2014 17:03:27 +0900
parents dfec8bc1eb8e
children 5f697251860b
line wrap: on
line source

package com.glavsoft.viewer;

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

import jp.ac.u_ryukyu.treevnc.TreeRFBProto;

public interface ViewerInterface extends Runnable {

    public boolean getCuiVersion();

	public TreeRFBProto getRfb();

	public void closeApp();

	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 connectToParenet(int port, String hostname) throws IOException;

    public void inhelitClients(ViewerInterface vncProxyService, String hostName);

    public void proxyStart(String[] args, int width, int height, boolean showTree, boolean checkDelay, boolean addSerialNum, boolean fixingSize);

    public void setNoConnection(boolean noConnection);

	public void setVisible(boolean b);

	public Socket getVNCSocket();

    public boolean getShowTree();

    public void setWidth(int width);

    public void setHeight(int height);

    public int getFixingWidth();

    public int getFixingHeight();

    public void setFixingSize(int width, int height);

    public int getFrameWidth();

    public int getFrameHeight();

    public void setFrameSize(int width, int height);

}