view src/main/java/com/glavsoft/rfb/protocol/NullRepaintController.java @ 248:e6abf4b0c92e

add numberOfRectangle in checkDelay
author Miwa Oshiro <e115747@ie.u-ryukyu.ac.jp>
date Fri, 24 Oct 2014 14:38:55 +0900
parents 8ab1f6905db4
children 3481a187687f
line wrap: on
line source

package com.glavsoft.rfb.protocol;

import com.glavsoft.core.SettingsChangedEvent;
import com.glavsoft.drawing.Renderer;
import com.glavsoft.rfb.IRepaintController;
import com.glavsoft.rfb.encoding.PixelFormat;
import com.glavsoft.rfb.encoding.decoder.FramebufferUpdateRectangle;
import com.glavsoft.transport.Reader;

public class NullRepaintController implements IRepaintController {

	@Override
	public void settingsChanged(SettingsChangedEvent event) {

	}

	@Override
	public void repaintBitmap(FramebufferUpdateRectangle rect) {

	}

	@Override
	public void repaintBitmap(int x, int y, int width, int height) {

	}

	@Override
	public void repaintCursor() {

	}

	@Override
	public void updateCursorPosition(short x, short y) {

	}

	@Override
	public Renderer createRenderer(Reader reader, int width, int height,
			PixelFormat pixelFormat) {
		return new NullRenderer();
	}

	@Override
	public void setPixelFormat(PixelFormat pixelFormat) {

	}

	@Override
	public void updateRemoteDesktopName(ProtocolContext context) {
		
	}

	@Override
	public void setVisible(boolean b) {
		
	}

}