de.mud.flash

Class FlashTerminal

Implemented Interfaces:
Runnable, VDUDisplay

public class FlashTerminal
extends java.lang.Object
implements VDUDisplay, Runnable

Method Summary

protected void
disconnect()
VDUBuffer
getVDUBuffer()
Get the current buffer.
void
redraw()
Redraw terminal (send new/changed terminal lines to flash frontend).
void
run()
void
setVDUBuffer(VDUBuffer buffer)
Set the VDUBuffer that contains the terminal screen and back-buffer
void
start(Socket flashSocket)
void
updateScrollBar()

Method Details

disconnect

protected void disconnect()

getVDUBuffer

public VDUBuffer getVDUBuffer()
Get the current buffer.
Specified by:
getVDUBuffer in interface VDUDisplay
Returns:
the VDUBuffer

redraw

public void redraw()
Redraw terminal (send new/changed terminal lines to flash frontend).
Specified by:
redraw in interface VDUDisplay

run

public void run()

setVDUBuffer

public void setVDUBuffer(VDUBuffer buffer)
Set the VDUBuffer that contains the terminal screen and back-buffer
Specified by:
setVDUBuffer in interface VDUDisplay
Parameters:
buffer - the terminal buffer

start

public void start(Socket flashSocket)

updateScrollBar

public void updateScrollBar()
Specified by:
updateScrollBar in interface VDUDisplay