de.mud.flash
Class FlashTerminal

java.lang.Object
  extended by de.mud.flash.FlashTerminal
All Implemented Interfaces:
VDUDisplay, java.lang.Runnable

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


Constructor Summary
FlashTerminal()
           
 
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(java.net.Socket flashSocket)
           
 void updateScrollBar()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashTerminal

public FlashTerminal()
Method Detail

start

public void start(java.net.Socket flashSocket)

updateScrollBar

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

disconnect

protected void disconnect()

run

public void run()
Specified by:
run in interface java.lang.Runnable

redraw

public void redraw()
Redraw terminal (send new/changed terminal lines to flash frontend).

Specified by:
redraw in interface VDUDisplay

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

getVDUBuffer

public VDUBuffer getVDUBuffer()
Get the current buffer.

Specified by:
getVDUBuffer in interface VDUDisplay
Returns:
the VDUBuffer