de.mud.flash
Class FlashTerminal

java.lang.Object
  |
  +--de.mud.flash.FlashTerminal
All Implemented Interfaces:
java.lang.Runnable, VDUDisplay

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)
           
 
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)

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