com.monica.javacom.interfaces
Interface MJCTerminal

All Superinterfaces:
MJCConfigureable, MJCReader, MJCWriteable, MJCWriter
All Known Implementing Classes:
MJCVT220Terminal

public interface MJCTerminal
extends MJCWriteable, MJCReader, MJCConfigureable, MJCWriter

Middle level layer in the MJC layer hierarchy responsible for the terminal funcionality, such as cursor positioning etc.


Method Summary
 java.lang.String getTerminalName()
          Returns the MJC name of the MJCTerminal.
 java.lang.String getTerminalVersion()
          Returns the MJC version of the MJCTerminal.
 MJCVirtualDisplay getVirtualDisplay()
          Returns the MJCVirtualDisplay to which the interpreted contents of the input stream will be sent.
 void setVirtualDisplay(MJCVirtualDisplay display)
          Sets the MJCVirtualDisplay for this object to which the interpreted contents of the input stream have to be sent.
 
Methods inherited from interface com.monica.javacom.interfaces.MJCWriteable
flush, getLastWriteableError, getWriteableName, getWriteableVersion, isWriteableConnected, write, write, write
 
Methods inherited from interface com.monica.javacom.interfaces.MJCReader
connectionClosedEvent, errorEvent, getReadable, getReaderName, getReaderVersion, readEvent, setReadable
 
Methods inherited from interface com.monica.javacom.interfaces.MJCConfigureable
getConfiguration, setConfiguration
 
Methods inherited from interface com.monica.javacom.interfaces.MJCWriter
getWriteable, getWriterName, getWriterVersion, setWriteable
 

Method Detail

getTerminalName

public java.lang.String getTerminalName()
Returns the MJC name of the MJCTerminal.
Returns:
String: the MJC name of the MJCTerminal

getTerminalVersion

public java.lang.String getTerminalVersion()
Returns the MJC version of the MJCTerminal.
Returns:
String: the MJC version of the MJCTerminal

setVirtualDisplay

public void setVirtualDisplay(MJCVirtualDisplay display)
Sets the MJCVirtualDisplay for this object to which the interpreted contents of the input stream have to be sent.
Parameters:
MJCVirtualDisplay - display: the MJCVirtualDisplay to which the interpreted contents have to be sent

getVirtualDisplay

public MJCVirtualDisplay getVirtualDisplay()
Returns the MJCVirtualDisplay to which the interpreted contents of the input stream will be sent.
Returns:
MJCVirtualDisplay: the MJCVirtualDisplay to which the interpreted contents of the input stream will be sent