Package dev.galasa.zos3270.spi
Class Zos3270TerminalImpl
java.lang.Object
dev.galasa.zos3270.spi.Terminal
dev.galasa.zos3270.spi.Zos3270TerminalImpl
- All Implemented Interfaces:
IScreenUpdateListener
,ITerminal
- Direct Known Subclasses:
CicsTerminalImpl
,ImsTerminalImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.galasa.zos3270.IScreenUpdateListener
IScreenUpdateListener.Direction
-
Field Summary
Fields inherited from class dev.galasa.zos3270.spi.Terminal
MAX_MILLISECS_TO_WAIT_FOR_NETWORK_THREAD_TO_FINISH, textScan
-
Constructor Summary
ConstructorsConstructorDescriptionZos3270TerminalImpl
(String id, String host, int port, boolean tls, boolean verifyServer, IFramework framework, boolean autoConnect, IZosImage image, TerminalSize primarySize, TerminalSize alternateSize, ITextScannerManagerSpi textScanner) Zos3270TerminalImpl
(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, int primaryColumns, int primaryRows, int alternateColumns, int alternateRows, ITextScannerManagerSpi textScanner) Deprecated, for removal: This API element is subject to removal in a future version.Zos3270TerminalImpl
(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, ITextScannerManagerSpi textScanner) Deprecated, for removal: This API element is subject to removal in a future version.use the#Zos3270TerminalImpl(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, TerminalSize primarySize, TerminalSize alternateSize, ITextScannerManagerSpi textScanner)
constructor instead. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
getId()
void
screenUpdated
(IScreenUpdateListener.Direction direction, AttentionIdentification aid) static void
stripFalseBooleans
(com.google.gson.JsonObject json) void
Methods inherited from class dev.galasa.zos3270.spi.Terminal
backSpace, backTab, clear, connect, cursorDown, cursorLeft, cursorRight, cursorUp, disconnect, enter, eraseEof, eraseInput, getHostPort, getRequestedDeviceName, getScreen, home, isClearScreen, isConnected, isSwitchedSSL, isTextInField, isTextInField, networkClosed, newLine, pa1, pa2, pa3, pf1, pf10, pf11, pf12, pf13, pf14, pf15, pf16, pf17, pf18, pf19, pf2, pf20, pf21, pf22, pf23, pf24, pf3, pf4, pf5, pf6, pf7, pf8, pf9, positionCursorToFieldContaining, registerDatastreamListener, reportExtendedScreen, reportScreen, reportScreenWithCursor, retrieveColourAtCursor, retrieveColourAtPosition, retrieveFieldAtCursor, retrieveFieldTextAfterFieldWithString, retrieveHighlightAtCursor, retrieveHighlightAtPosition, retrieveScreen, retrieveText, retrieveTextAtCursor, searchText, searchText, searchText, searchText, setAutoReconnect, setCursorPosition, setDeviceTypes, setDoStartTls, setRequestedDeviceName, tab, type, unregisterDatastreamListener, verifyTextInField, waitForKeyboard, waitForTextInField, waitForTextInField, waitForTextInField, wfk
-
Constructor Details
-
Zos3270TerminalImpl
@Deprecated(since="0.28.0", forRemoval=true) public Zos3270TerminalImpl(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, ITextScannerManagerSpi textScanner) throws Zos3270ManagerException, TerminalInterruptedException Deprecated, for removal: This API element is subject to removal in a future version.use the#Zos3270TerminalImpl(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, TerminalSize primarySize, TerminalSize alternateSize, ITextScannerManagerSpi textScanner)
constructor instead. -
Zos3270TerminalImpl
@Deprecated(since="0.28.0", forRemoval=true) public Zos3270TerminalImpl(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, int primaryColumns, int primaryRows, int alternateColumns, int alternateRows, ITextScannerManagerSpi textScanner) throws Zos3270ManagerException, TerminalInterruptedException Deprecated, for removal: This API element is subject to removal in a future version.use the#Zos3270TerminalImpl(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, TerminalSize primarySize, TerminalSize alternateSize, ITextScannerManagerSpi textScanner)
constructor instead. -
Zos3270TerminalImpl
public Zos3270TerminalImpl(String id, String host, int port, boolean tls, boolean verifyServer, IFramework framework, boolean autoConnect, IZosImage image, TerminalSize primarySize, TerminalSize alternateSize, ITextScannerManagerSpi textScanner) throws Zos3270ManagerException, TerminalInterruptedException, ZosManagerException
-
-
Method Details
-
doAutoConnect
public boolean doAutoConnect() -
screenUpdated
- Specified by:
screenUpdated
in interfaceIScreenUpdateListener
-
writeRasOutput
public void writeRasOutput() -
flushTerminalCache
public void flushTerminalCache() -
getId
-
stripFalseBooleans
public static void stripFalseBooleans(com.google.gson.JsonObject json)
-
#Zos3270TerminalImpl(String id, String host, int port, boolean tls, IFramework framework, boolean autoConnect, IZosImage image, TerminalSize primarySize, TerminalSize alternateSize, ITextScannerManagerSpi textScanner)
constructor instead.