|
Attachmate Verastream SDK for UMC Reference Guide v4.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static java.lang.String |
copyright
|
Fields inherited from interface com.attachmate.UPG.common.IScreenUPGInternal |
BgBlack, BgBlue, BgCyan, BgDarkBlue, BgDarkCyan, BgDarkGray, BgDarkGreen, BgDarkMagenta, BgDarkRed, BgDarkYellow, BgGray, BgGreen, BgMagenta, BgRed, BgWhite, BgYellow, Blink, Bold, Bright, Dim, DoubleHeight, DoubleWidth, evSDKversion, FgBlack, FgBlue, FgCyan, FgDarkBlue, FgDarkCyan, FgDarkGray, FgDarkGreen, FgDarkMagenta, FgDarkRed, FgDarkYellow, FgGray, FgGreen, FgMagenta, FgRed, FgWhite, FgYellow, LeftColSep, MAXWAITIME, Normal, Reverse, SCREEN_3270, SCREEN_5250, SCREEN_ALC, SCREEN_T27, SCREEN_UTS, SCREEN_VT, Secure, Special, StrikeThrough, Top_Bottom, Underscore, Upper |
Fields inherited from interface com.attachmate.UPG.common.IScreen |
ALC_CONFIGDATA, ALC_CONFIGREAD, ALC_ERROR_TRAFFIC_CLASS, ALC_HOSTACTIVE, ALC_HOSTINACTIVE, ALC_HOSTLOST, ALC_MODEM_SIGNALS, ALC_PRINTER_DATA, ALC_STRUCTURED_DATA, ALC_TERMINAL_DATA, AREA_BLOCK, AREA_POINT, AREA_STREAM, ATM_3270_MODEL_2, ATM_3270_MODEL_3, ATM_3270_MODEL_4, ATM_3270_MODEL_5, ATM_3270_MODEL_AUTOSENSE, DIRECTION_BACKWARD, DIRECTION_FORWARD, FIELDTYPE_ANY, FIELDTYPE_PROTECTED, FIELDTYPE_UNPROTECTED, FINDFIELD_CURRENT, FINDFIELD_NEXT, FINDFIELD_PREVIOUS, GETDATA_CONTAINS_DBCS, GETDATA_FMT_HIDDEN, GETDATA_FMT_HLLAPI_ATTR_CGA, GETDATA_FMT_HLLAPI_ATTR_EAB, GETDATA_FMT_HLLAPI_ATTR_EAD, GETDATA_FMT_HLLAPI_ATTR_HOSTEAB, GETDATA_FMT_HLLAPI_FA_SPACE, GETDATA_FMT_INTERLACED, GETDATA_FMT_PASS_NULLS, GETDATA_FMT_TEXT, GETDATA_FMT_VTPRIV_CHARATTR, GETDATA_FMT_VTPRIV_STATUS, GETDATA_FMT_WRAP, GETDATA_FOUND, GETDATA_NOTFOUND, GETDATA_TYPE_HLLAPI, GETDATA_TYPE_VTPRIV, GETSTRING_COMMA, GETSTRING_CR, GETSTRING_CRLF, GETSTRING_NO_FINAL_APPEND, GETSTRING_TAB, GETSTRING_UNWANTED_COMMA, GETSTRING_UNWANTED_SKIP, GETSTRING_VIRTUAL_SKIP, HOST_STATUS, HOST_STATUS_HOSTACTIVE, HOST_STATUS_HOSTINACTIVE, HOST_STATUS_HOSTLOST, KEYTYPE_BRACES, KEYTYPE_HLLAPI, KEYTYPE_IGNORE_INTERCEPT, PUTSTRING_SKIP, PUTSTRING_SPAN, PUTSTRING_STOP, SCREEN_UNKNOWN, SCREENATTR_ANY, SCREENATTR_HIDDEN, SCREENATTR_PROTECTED, SCREENATTR_UNPROTECTED, SCREENATTR_VISIBLE, UPDATE_CLIENT, UPDATE_HOST, UPDATE_REFRESH, UTS_DESELECT, UTS_DEVICESTATUS, UTS_DEVICESTATUS_BUSY, UTS_DEVICESTATUS_ERROR, UTS_DEVICESTATUS_NOTREADY, UTS_DEVICESTATUS_OFFLINE, UTS_DEVICESTATUS_POC, UTS_DEVICESTATUS_READY, UTS_DEVICESTATUS_THRU, UTS_MSGWAIT, UTS_SELECT, WAITFORKEYS_AID, WAITFORKEYS_ALL, WAITFORKEYS_INTERCEPT, WAITFORKEYS_NON_AID, WAITFORKEYS_NOTIFY, WRAP_OFF, WRAP_ON |
Method Summary | |
void |
addIScreenListener(java.util.EventListener inListener)
Adds the ScreenListener, which allows your application to receive various screen and/or status event notifications, to the Screen object. |
void |
clearCapturedData()
Clears information from the captured data buffer by setting it to null. |
void |
Close()
Closes the current host session. |
int |
fieldCount(int Type)
Returns the number of fields of the specified type. |
boolean |
findField(int inRow,
int inCol,
int inMode,
int inType,
int inWrap,
MutableInt outRow,
MutableInt outColumn,
MutableInt outLength,
MutableInt outAttribute)
Searches the presentation space for the specified field, beginning from the row and column position specified. |
boolean |
findFieldEx(int inbeginIndex,
int inMode,
int inType,
int inWrap,
MutableInt outRow,
MutableInt outCol,
MutableInt outLength,
MutableInt outAttribute)
Searches the presentation space for the specified field, beginning from the index (field number) specified. |
boolean |
findString(java.lang.String inText,
int inStartRow,
int inStartColumn,
MutableInt outRow,
MutableInt outColumn)
Searches the presentation space for the specified text string, starting at the specified position. |
boolean |
findStringEx(java.lang.String inText,
int inStartRow,
int inStartColumn,
int inEndRow,
int inEndColumn,
int inArea,
int inWrap,
int inDir,
MutableInt outRow,
MutableInt outColumn)
Searches the presentation space for the specified text string, from the specified start position to the specified end position. |
byte[] |
getCapturedBytes()
Returns the currently captured data as a byte array. |
java.lang.String |
getCapturedData()
Returns the currently captured data as a String. |
int |
getColumns()
Returns the number of columns in the current presentation space. |
void |
getCursor(MutableInt outRow,
MutableInt outColumn)
Returns the current cursor position. |
int |
getCursorColumn()
Returns the column of the current cursor position. |
int |
getCursorRow()
Returns the row of the current cursor position. |
boolean |
getDataCapture()
Returns the current state of the data capture facility: true if on; false if off. |
java.lang.String |
getDescription()
Returns a custom description for the Screen object, if a description was created previously using setDescription. |
java.lang.String |
getExtPS(int Row,
int Col,
int PSLength)
Returns the specified portion of the presentation space in a string format. |
byte[] |
getExtPSBytes(int Row,
int Col,
int PSLength)
Returns the specified portion of the presentation space in a byte array format. |
boolean |
getgetText_Display()
Returns the current setting of the getText_Display property. |
boolean |
getKeyboardLocked()
Returns the current state of the keyboard: true if locked; false if unlocked. |
java.lang.String |
getLastError()
Returns a description of the most recent error that occurred. |
int |
getMaxDataCaptureLength()
Returns the current maximum buffer size for data captured using the data capture facility. |
int |
getObjectVersion()
Returns the version number of the specified Screen object (4xxxyyy); for example, 3001000 is equivalent to version 3.1.00. |
byte[] |
getOIAByteContents()
Returns the data displayed in the OIA portion (status line) of the presentation space. |
java.lang.String |
getOIAContents()
Returns the data displayed in the OIA portion (status line) of the presentation space. |
java.lang.String |
getOIAText()
Returns the text of the OIA portion (status line) of the presentation space in a string format. |
boolean |
getOperatorDisable()
Gets the current Operator Disabled status for MATIP sessions. |
boolean |
getPeripheralControl()
Gets the current Peripheral Control State for UTS INT-1 sessions. |
int |
getRows()
Returns the number of rows in the presentation space. |
int |
getScreenType()
Returns the current host type. |
java.lang.String |
getString(int inStartRow,
int inStartColumn,
int inLength)
Returns the visible text from the specified location. |
java.lang.String |
getStringEx(int inStartRow,
int inStartColumn,
int inEndRow,
int inEndColumn,
int inArea,
int inWrap,
int inAttr,
int inFlags)
Returns text from the specified location, for attributes matching those specified by inAttr. |
java.lang.String |
getText()
Returns the text contents of the presentation space as a string. |
boolean |
isConnected()
Returns the state of the Mainframe/Gateway connection: true if connected; false if unconnected. |
boolean |
isKeyboardLocked()
Returns the state of the keyboard: true if locked; false if unlocked. |
boolean |
Open()
Opens a host session. |
boolean |
OpenEx(int timeout)
Opens a host session, waiting a specified time for the connection to be established before returning. |
int |
putString(java.lang.String inText,
int inRow,
int inColumn)
Copies a string of text to the specified position in the presentation space, returning the number of characters written. |
int |
putStringEx(java.lang.String inText,
int inStartRow,
int inStartColumn,
int inEndRow,
int inEndColumn,
int inArea,
int inWrap,
int inModes,
boolean inFill)
Copies a string of text to the specified position in the presentation space, returning the number of characters written. |
int |
RawDataTransmit(java.lang.String writeBuffer)
Writes a string of characters directly to the host communications layer, without going through the presentation space. |
int |
RawDataTransmitBytes(byte[] writeBuffer)
Writes an array of bytes directly to the host communications layer, without going through the presentation space. |
void |
removeIScreenListener(java.util.EventListener inListener)
Removes the ScreenListener from the Screen object. |
void |
sendKeys(java.lang.String inText,
int inType)
Sends characters and special keys to the session. |
int |
SendStatus(int type,
byte[] detail)
Sends a status message with option detail to screen. |
void |
setCursor(int inRow,
int inColumn)
Sets the cursor position on the presentation space. |
void |
setCursorColumn(int CursorColumn)
Sets the column of the cursor position. |
void |
setCursorRow(int CursorRow)
Sets the row of the cursor position. |
void |
setDataCapture(boolean sDCVal)
Turns the data capture facility on or off. |
void |
setDataCaptureEx(boolean sDCVal,
boolean sSPSUVal)
Turns the data capture facility on or off. |
void |
setDescription(java.lang.String description)
Creates a custom description for the Screen object. |
void |
setgetText_Display(boolean gtdvalue)
Turns the getText_Display property on or off. |
void |
setMaxDataCaptureLength(int dcl)
Sets the maximum buffer size for data captured using the data capture facility. |
void |
setOperatorDisable(boolean b)
Attempts to set Operator Disabled status for MATIP sessions. |
void |
setPeripheralControl(boolean sPerCntrl)
Sets the Peripheral Control State for UTS INT-1 sessions. This advanced feature is for applications that want control over print activity. The "setPeripheralControl" method is called for an application to either establish or relinquish control over peripheral status response generation (i.e. |
void |
waitForCursor(int inRow,
int inColumn,
int wtTime)
Waits for the cursor to appear at the specified position, for a specified period of time. |
void |
waitForString(java.lang.String inText,
int inRow,
int inColumn,
int wtTime)
Waits for the specified text to appear at the specified position, for a specified period of time. |
void |
waitHostQuiet(int inSettleTime,
int wtTime)
Waits for the host session to be idle for a specified period of time (in milliseconds). |
Methods inherited from interface com.attachmate.UPG.common.IScreenUPGInternal |
OpenRemoteViewer, setInternalDBG, setView |
Methods inherited from interface com.attachmate.UPG.common.IScreen |
refreshEvents |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public boolean isConnected()
boolean isConnectionOpen = m_screenObj.isConnected();
public void clearCapturedData()
m_screenObj.clearCapturedData();
getCapturedData()
,
getCapturedBytes()
,
getDataCapture()
,
getMaxDataCaptureLength()
,
setDataCapture(boolean)
,
setDataCaptureEx(boolean, boolean)
,
setMaxDataCaptureLength(int)
public int fieldCount(int Type)
fieldCount
in interface com.attachmate.UPG.common.IScreen
int fieldCount = m_screenObj.fieldCount(m_screenObj.FIELDTYPE_PROTECTED);
public boolean findField(int inRow, int inCol, int inMode, int inType, int inWrap, MutableInt outRow, MutableInt outColumn, MutableInt outLength, MutableInt outAttribute)
findField
in interface com.attachmate.UPG.common.IScreen
inRow
- The row in which to begin searching.inCol
- The column in which to begin searching.inMode
- The field to look for: current, next, or
previous (from the specified row and column position). Possible values
include: FINDFIELD_CURRENT, FINDFIELD_NEXT, and FINDFIELD_PREVIOUS.inType
- The type of field to search for. Possible values
include: FIELDTYPE_ANY, FIELDTYPE_PROTECTED, and FIELDTYPE_UNPROTECTED.inWrap
- Whether or not to wrap to the top after
reaching the end of the presentation space. Possible values include: WRAP_ON and
WRAP_OFF.outRow
- The row where the field was found. If the field is not
found, the value is set to zero.outColumn
- The column where the field was found. If the field is not
found, the value is set to zero.outLength
- The length of the field that was found. If the field is
not found, the value is set to zero.outAttribute
- A value representing the field attribute
bits of the specified field. See Field
Attributes for a list of field attributes returned for each host
type.
int inRow = 1;
int inCol = 1;
int inMode = m_screenObj.FINDFIELD_NEXT;
int inType = m_screenObj.FIELDTYPE_PROTECTED;
int inWrap = m_screenObj.WRAP_ON;
MutableInt outRow = new MutableInt(0);
MutableInt outColumn = new MutableInt(0);
MutableInt outLength = new MutableInt(0);
MutableInt outAttribute = new MutableInt(0);
boolean fieldFound = m_screenObj.findField(inRow, inCol,
inMode, inType, inWrap, outRow, outColumn,
outLength, outAttribute );
set oRow = CreateObject("Mutable.MutableInt")
set oCol = CreateObject("Mutable.MutableInt")
set oLen = CreateObject("Mutable.MutableInt")
set oAttr = CreateObject("Mutable.MutableInt")
dim inMode
dim inType
dim inWrap
oRow = 0
oCol = 0
oLen = 0
inMode = Session("screenObj").FINDFIELD_NEXT
inType = Session("screenObj").FIELDTYPE_PROTECTED
inWrap = Session("screenObj").WRAP_ON
dim findField
findField = Session("screenObj").findField (1, 1, inMode,
inType, inWrap, oRow, oCol,oLen, oAttr)
int inRow = 1;
int inCol = 1;
int inMode = FINDFIELD_NEXT;
int inType = FIELDTYPE_PROTECTED;
int inWrap = WRAP_ON;
MutableInt_Dispatch outRow;
MutableInt_Dispatch outColumn;
MutableInt_Dispatch outLength;
MutableInt_Dispatch outAttribute;
::CLSIDFromProgID(L"Mutable.MutableInt", &clsid);
outRow.CreateDispatch(clsid);
outColumn.CreateDispatch(clsid);
outLength.CreateDispatch(clsid);
outAttribute.CreateDispatch(clsid);
boolean fieldFound = m_screenObj.findField(inRow, inCol,
inMode, inType, inWrap, outRow, outColumn,
outLength, outAttribute );
int x = outRow.getInt();
int y = outColumn.getInt();
findFieldEx(int, int, int, int, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
public boolean findFieldEx(int inbeginIndex, int inMode, int inType, int inWrap, MutableInt outRow, MutableInt outCol, MutableInt outLength, MutableInt outAttribute)
inMode
- The field to look for: current, next, or previous (from
the specified index). Possible values include: FINDFIELD_CURRENT,
FINDFIELD_NEXT, and FINDFIELD_PREVIOUS.inType
- The type of field to search for. Possible values
include: FIELDTYPE_ANY, FIELDTYPE_PROTECTED, and FIELDTYPE_UNPROTECTED.inWrap
- Whether or not to wrap to the top after
reaching the end of the presentation space. Possible values include: WRAP_ON and
WRAP_OFF.outRow
- The row where the field was found. If the field is not
found, the value is set to zero.outLength
- The length of the field that was found. If the field is
not found, the value is set to zero.outAttribute
- A value representing the field attribute
bits of the specified field. See Field
Attributes for a list of field attributes returned for each host type.
int beginIndex = 1;
int inMode = m_screenObj.FINDFIELD_NEXT;
int inType = m_screenObj.FIELDTYPE_PROTECTED;
int inWrap = m_screenObj.WRAP_ON;
MutableInt outRow = new MutableInt(0);
MutableInt outColumn = new MutableInt(0);
MutableInt outLength = new MutableInt(0);
MutableInt outAttribute = new MutableInt(0);
boolean fieldFound = m_screenObj.findField(beginIndex,
inMode, inType, inWrap, outRow, outColumn,
outLength, outAttribute );
set oRow = CreateObject("Mutable.MutableInt")
set oCol = CreateObject("Mutable.MutableInt")
set oLen = CreateObject("Mutable.MutableInt")
set oAttr = CreateObject("Mutable.MutableInt")
dim inMode
dim inType
dim inWrap
oRow = 0
oCol = 0
oLen = 0
inMode = Session("screenObj").FINDFIELD_NEXT
inType = Session("screenObj").FIELDTYPE_PROTECTED
inWrap = Session("screenObj").WRAP_ON
dim findField
findField = Session("screenObj").findField (1, inMode,
inType, inWrap, oRow, oCol,oLen, oAttr)
int beginIndex = 1;
int inMode = FINDFIELD_NEXT;
int inType = FIELDTYPE_PROTECTED;
int inWrap = WRAP_ON;
MutableInt_Dispatch outRow;
MutableInt_Dispatch outColumn;
MutableInt_Dispatch outLength;
MutableInt_Dispatch outAttribute;
::CLSIDFromProgID(L"Mutable.MutableInt", &clsid);
outRow.CreateDispatch(clsid);
outColumn.CreateDispatch(clsid);
outLength.CreateDispatch(clsid);
outAttribute.CreateDispatch(clsid);
boolean fieldFound = m_screenObj.findField(beginIndex,
inMode, inType, inWrap, outRow, outColumn,
outLength, outAttribute );
int x = outRow.getInt();
int y = outColumn.getInt();
findField(int, int, int, int, int, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
public boolean findString(java.lang.String inText, int inStartRow, int inStartColumn, MutableInt outRow, MutableInt outColumn)
findString
in interface com.attachmate.UPG.common.IScreen
inText
- The text to search for.inStartRow
- The row in which to begin searching.inStartColumn
- The column in which to begin searching.outRow
- The row where the string was found. If the string is not
found, the value is set to zero.outColumn
- The column where the string was found. If the string
is not found, the value is set to zero.
String inText = "PASSWORD";
inStartRow = 1;
inStartColumn = 1;
MutableInt outRow = new MutableInt(0);
MutableInt outColumn = new MutableInt(0);
boolean stringFound = m_screenObj.findString(inText, inStartRow,
inStartColumn, outRow, outColumn );
dim inText
inText= "LOGON"
inStartRow = 1
inStartColumn = 1
set outRow = CreateObject("Mutable.MutableInt")
set outColumn = CreateObject("Mutable.MutableInt")
dim stringFound
stringFound = Session("screenObj").findString(inText, inStartRow,
inStartColumn, outRow, outColumn )
MutableInt_Dispatch outRow;
MutableInt_Dispatch outColumn;
::CLSIDFromProgID(L"Mutable.MutableInt", &clsid);
outRow.CreateDispatch(clsid);
outColumn.CreateDispatch(clsid);
CString inText = "LOGON";
int inStartRow = 1;
int inStartColumn = 1;
bool stringFound = m_screenObj.findString((LPCSTR)inText, inStartRow,
inStartColumn, outRow, outColumn );
int x = outRow.getInt();
int y = outColumn.getInt();
findStringEx(java.lang.String, int, int, int, int, int, int, int, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
public boolean findStringEx(java.lang.String inText, int inStartRow, int inStartColumn, int inEndRow, int inEndColumn, int inArea, int inWrap, int inDir, MutableInt outRow, MutableInt outColumn)
findStringEx
in interface com.attachmate.UPG.common.IScreen
inText
- The text to search for.inStartRow
- The row in which to begin searching.inStartColumn
- The column in which to begin searching.inEndRow
- The row in which to stop searching.inEndColumn
- The column in which to stop searching.inArea
- Not used; set to 0.inWrap
- Whether or not to wrap to the top after
reaching the end of the presentation space. Possible values include: WRAP_ON and
WRAP_OFF.inDir
- The direction to search when looking for the string.
When searching backwards, searching begins at the end of the
selected area. Possible values include: DIRECTION_BACKWARD and
DIRECTION_FORWARD.outRow
- The row where the string was found. If the string is not
found, the value is set to zero.outColumn
- The column where the string was found. If the string
is not found, the value is set to zero.
String inText = "PASSWORD";
inStartRow = 1;
inStartColumn = 1;
inEndRow = 12;
inEndColumn = 80;
inArea = 0;
inWrap = m_screenObj.WRAP_ON;
inDir = m_screenObj.DIRECTION_FORWARD;
MutableInt outRow = new MutableInt(0);
MutableInt outColumn = new MutableInt(0);
boolean stringFound = m_screenObj.findStringEx(inText, inStartRow,
inStartColumn,inEndRow, inEndColumn, inArea,
inWrap, inDir, outRow, outColumn );
dim inText
inText= "LOGON"
inStartRow = 1
inStartColumn = 1
set outRow = CreateObject("Mutable.MutableInt")
set outColumn = CreateObject("Mutable.MutableInt")
dim stringFound
inEndRow = 12
inEndColumn = 80
inArea = 0
inWrap = Session("screenObj").WRAP_ON
inDir = Session("screenObj").DIRECTION_FORWARD
stringFound = Session("screenObj").findStringEx(inText, inStartRow,
inStartColumn, inEndRow, inEndColumn, inArea, inWrap, inDir, outRow,
outColumn
MutableInt_Dispatch outRow;
MutableInt_Dispatch outColumn;
::CLSIDFromProgID(L"Mutable.MutableInt", &clsid);
outRow.CreateDispatch(clsid);
outColumn.CreateDispatch(clsid);
CString inText = "LOGON";
int inStartRow = 1;
int inStartColumn = 1;
int inEndRow = 12;
int inEndColumn = 80;
int inArea = 0;
int inWrap = WRAP_ON;
int inDir = DIRECTION_FORWARD;
boolean stringFound = m_screenObj.findStringEx((LPCSTR)inText, inStartRow,
inStartColumn,inEndRow, inEndColumn, inArea,
inWrap, inDir, outRow, outColumn );
int x = outRow.getInt();
int y = outColumn.getInt();
findString(java.lang.String, int, int, com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
public java.lang.String getCapturedData()
String gcd = m_screenObj.getCapturedData();
clearCapturedData()
,
getCapturedBytes()
,
getDataCapture()
,
getMaxDataCaptureLength()
,
setDataCapture(boolean)
,
setDataCaptureEx(boolean, boolean)
,
setMaxDataCaptureLength(int)
public byte[] getCapturedBytes()
String gcd = m_screenObj.getCapturedBytes();
clearCapturedData()
,
getCapturedData()
,
getDataCapture()
,
getMaxDataCaptureLength()
,
setDataCapture(boolean)
,
setDataCaptureEx(boolean, boolean)
,
setMaxDataCaptureLength(int)
public int getColumns()
getColumns
in interface com.attachmate.UPG.common.IScreen
int numColumns = m_screenObj.getColumns();
getRows()
public int getRows()
getRows
in interface com.attachmate.UPG.common.IScreen
int numRows = m_screenObj.getRows();
getColumns()
public int getScreenType()
getScreenType
in interface com.attachmate.UPG.common.IScreen
int screenType = m_screenObj.getScreenType();
public void setOperatorDisable(boolean b)
b
- True if session is to be disabled, false to enable it.
m_screenObj.setOperatorDisable(true);
getOperatorDisable()
public boolean getOperatorDisable()
m_screenObj.getOperatorDisable();
setOperatorDisable(boolean)
public boolean getPeripheralControl()
setPeripheralControl(boolean)
public void setPeripheralControl(boolean sPerCntrl)
sPerCntrl
- True to enable, False to disable, application control of peripheral responses.
m_screenObj.setPeripheralControl(false);
getPeripheralControl()
,
SendStatus(int, byte[])
,
getOIAContents()
public java.lang.String getString(int inStartRow, int inStartColumn, int inLength)
getString
in interface com.attachmate.UPG.common.IScreen
inStartRow
- The first row from which to retrieve data.inStartColumn
- The first column from which to retrieve data.inLength
- The number of presentation space positions to return. Ignored
when both inStartRow and inStartColumn are zero.
int inStartRow = 1;
int inStartColumn = 1;
int inLength = 12;
String visibleString = m_screenObj.getString (inStartRow,
inStartColumn, inLength );
dim inStartRow
dim inStartColumn
dim inLength
inStartRow = 0
inStartColumn = 0
inLength = 12
dim str
str = Session("screenObj").getString (inStartRow,
inStartColumn, inLength)
MutableInt_Dispatch outRow;
MutableInt_Dispatch outColumn;
::CLSIDFromProgID(L"Mutable.MutableInt", &clsid);
outRow.CreateDispatch(clsid);
outColumn.CreateDispatch(clsid);
int inStartRow = 3;
int inStartColumn = 1;
int inLength = 40;
CString visibleString = m_screenObj.getString (inStartRow,
inStartColumn, inLength);
getStringEx(int, int, int, int, int, int, int, int)
public java.lang.String getStringEx(int inStartRow, int inStartColumn, int inEndRow, int inEndColumn, int inArea, int inWrap, int inAttr, int inFlags)
getStringEx
in interface com.attachmate.UPG.common.IScreen
inStartRow
- The first row from which to retrieve data.inStartColumn
- The first column from which to retrieve data.inEndRow
- The last row from which to retrieve data. Ignored when
both inStartRow and inStartColumn are zero.inEndColumn
- The last column from which to retrieve data. Ignored
when both inStartRow and inStartColumn are zero.inArea
- Not used; set to 0.inWrap
- Whether or not to wrap to the top after reaching
the end of the presentation space. Possible values include: WRAP_ON and WRAP_OFF.inAttr
- The type of fields to retrieve. You can connect multiple options
with OR to create various combinations. For example, SCREENATTR_UNPROTECTED |
SCREENATTR_VISIBLE returns only unprotected, visible fields. Possible values
include: SCREENATTR_ANY, SCREENATTR_HIDDEN, SCREENATTR_PROTECTED,
SCREENATTR_UNPROTECTED, and SCREENATTR_VISIBLE.inFlags
- Not used; set to 0.
int inStartRow = 1;
int inStartColumn = 1;
int inEndRow = 12;
int inEndColumn = 10;
int inArea = 0;
int inWrap = m_screenObj.WRAP_ON;
int inAttr = m_screenObj.SCREENATTR_PROTECTED;
int inFlags = 0;
String matchString = m_screenObj.getStringEx (inStartRow,
inStartColumn, inEndRow, inEndColumn, inArea,
inWrap, inAttr, inFlags);
inStartRow = 1
inStartColumn = 1
inEndRow = 12
inEndColumn = 10
inArea = 0
inWrap = Session("screenObj").WRAP_ON
inAttr = Session("screenObj").SCREENATTR_PROTECTED
inFlags = 0
dim matchString
matchString = Session(“screenObj”).getStringEx (inStartRow,
inStartColumn, inEndRow, inEndColumn, inArea, inWrap, inAttr,
inFlags)
int inStartRow = 1;
int inStartColumn = 1;
int inEndRow = 12;
int inEndColumn = 10;
int inArea = 0;
int inWrap = WRAP_ON;
int inAttr = SCREENATTR_PROTECTED;
int inFlags = 0;
CString matchString = m_screenObj.getStringEx (inStartRow,
inStartColumn, inEndRow, inEndColumn, inArea,
inWrap, inAttr, inFlags );
getString(int, int, int)
public void getCursor(MutableInt outRow, MutableInt outColumn)
getCursor
in interface com.attachmate.UPG.common.IScreen
outRow
- The current cursor row.outColumn
- The current cursor column.
MutableInt outRow = new MutableInt(0);
MutableInt outColumn = new MutableInt(0);
m_screenObj.getCursor(outRow, outColumn);
set outRow = CreateObject("Mutable.MutableInt")
set outColumn = CreateObject("Mutable.MutableInt")
outRow= 0
outColumn = 0
Session("screenObj").getCursor(outRow, outColumn)
MutableInt_Dispatch outRow;
MutableInt_Dispatch outColumn;
::CLSIDFromProgID(L"Mutable.MutableInt", &clsid);
outRow.CreateDispatch(clsid);
outColumn.CreateDispatch(clsid);
m_screenObj.getCursor(outRow, outColumn);
int x = outRow.getInt();
int y = outColumn.getInt();
getCursorColumn()
,
getCursorRow()
,
setCursor(int, int)
,
setCursorColumn(int)
,
setCursorRow(int)
public int getCursorColumn()
getCursorColumn
in interface com.attachmate.UPG.common.IScreen
int currentCursorColumn = m_screenObj.getCursorColumn();
getCursor(com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
,
getCursorRow()
,
setCursor(int, int)
,
setCursorColumn(int)
,
setCursorRow(int)
public void setCursor(int inRow, int inColumn) throws CursorPositionException
setCursor
in interface com.attachmate.UPG.common.IScreen
inRow
- The row in which the cursor is placed.inColumn
- The column in which the cursor is placed.
int inRow = 17;
int inColumn = 20;
m_screenObj.setCursor(inRow, inColumn);
CursorPositionException
setCursorColumn(int)
,
setCursorRow(int)
,
getCursor(com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
,
getCursorColumn()
,
getCursorRow()
public void setCursorColumn(int CursorColumn) throws CursorPositionException
setCursorColumn
in interface com.attachmate.UPG.common.IScreen
CursorPositionException
setCursor(int, int)
,
setCursorRow(int)
,
getCursor(com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
,
getCursorColumn()
,
getCursorRow()
public void setCursorRow(int CursorRow) throws CursorPositionException
setCursorRow
in interface com.attachmate.UPG.common.IScreen
CursorPositionException
setCursor(int, int)
,
setCursorColumn(int)
,
getCursor(com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
,
getCursorColumn()
,
getCursorRow()
public int getCursorRow()
getCursorRow
in interface com.attachmate.UPG.common.IScreen
int currentCursorRow = m_screenObj.getCursorRow();
getCursor(com.attachmate.common.types.MutableInt, com.attachmate.common.types.MutableInt)
,
getCursorColumn()
,
setCursor(int, int)
,
setCursorColumn(int)
,
setCursorRow(int)
public boolean getDataCapture()
boolean gDC = m_screenObj.getDataCapture();
clearCapturedData()
,
getCapturedData()
,
getCapturedBytes()
,
getMaxDataCaptureLength()
,
setDataCapture(boolean)
,
setDataCaptureEx(boolean, boolean)
,
setMaxDataCaptureLength(int)
public java.lang.String getExtPS(int Row, int Col, int PSLength)
boolean isUnderscore = false;
boolean isBlinking = false;
boolean isForegroundBlue = false;
boolean isBackgroundYellow = false;
String ps;
ps = ScreenObj.getExtPS(1,1,1000);
char display_character = ps.charAt(0);
char character_Attribute = ps.charAt(1);
char character_color = ps.charAt(2);
// Character attributes
if ((character_Attribute & ScreenObj.Underscore) != 0)
isUnderscore = true;
if ((character_Attribute & ScreenObj.Blink) != 0)
isBlinking = true;
// Character color attributes
if ((character_color & ScreenObj.FgBlue) != 0)
isForegroundBlue = true;
if ((character_color & ScreenObj.BgYellow) != 0)
isBackgroundYellow = true;
dim isBlink,isUnderline,isNegative
dim attribs
attribs = screenObj.getExtPS(18,6,10)
attr = mid(attribs,2,1)
if ((attr and screenObj.Blink) <> 0) then isBlink = true
if ((attr and screenObj.Underscore) <> 0) then isUnderline = true
if ((attr and screenObj.Reverse) <> 0) then isNegative = true
char attribs[50];
char attr;
bool isBlink, isUnderline, isNegative;
attribs = screenObj.getExtPS(18,6,10);
attr = attribs[1];
if ((attr & screenObj.Blink) != 0) isBlink = true;
if ((attr & screenObj.Underscore) != 0) isUnderline = true;
if ((attr & screenObj.Reverse) != 0) isNegative = true;
getExtPSBytes(int, int, int)
public byte[] getExtPSBytes(int Row, int Col, int PSLength)
boolean isUnderscore = false;
boolean isBlinking = false;
boolean isForegroundBlue = false;
boolean isBackgroundYellow = false;
byte[] ps;
ps = ScreenObj.getExtPSBytes(1,1,1000);
char display_character = (char) ps[0];
char character_Attribute = (char) ps[1];
char character_color = (char) ps.charAt[2];
// Character attributes
if ((character_Attribute & ScreenObj.Underscore) != 0)
isUnderscore = true;
if ((character_Attribute & ScreenObj.Blink) != 0)
isBlinking = true;
// Character color attributes
if ((character_color & ScreenObj.FgBlue) != 0)
isForegroundBlue = true;
if ((character_color & ScreenObj.BgYellow) != 0)
isBackgroundYellow = true;
getExtPS(int, int, int)
public int getMaxDataCaptureLength()
int mdcl = m_screenObj.getMaxDataCaptureLength();
clearCapturedData()
,
getCapturedData()
,
getCapturedBytes()
,
getDataCapture()
,
setDataCapture(boolean)
,
setDataCaptureEx(boolean, boolean)
,
setMaxDataCaptureLength(int)
public java.lang.String getOIAContents()
String tmpstr;
tmpstr = screenObj.getOIAContents();
int conn;
//get connection status
conn = tmpstr.charAt(83);
dim tmpstr,conn
tmpstr = screenObj.getOIAContents
'get connection status
conn = asc(mid(tmpstr,84,1))
CString tmpStr;
tmpStr = screenObj.getOIAContents();
int conn;
//get connection status
conn = tmpstr.getAt(83);
getOIAByteContents()
,
getOIAText()
public byte[] getOIAByteContents()
byte[] tmpbytes;
tmpbytes = screenObj.getOIAByteContents();
int conn;
// get connection status
conn = tmpbytes[83];
getOIAContents()
,
getOIAText()
public java.lang.String getText()
getText
in interface com.attachmate.UPG.common.IScreen
String hostText = m_screenObj.getText();
getgetText_Display()
,
setgetText_Display(boolean)
public void setDataCapture(boolean sDCVal)
sDCVal
- Specifies whether to turn the data capture
facility on (true) or off (false).
m_screenObj.setDataCapture(true);
clearCapturedData()
,
getCapturedData()
,
getCapturedBytes()
,
getDataCapture()
,
getMaxDataCaptureLength()
,
setDataCaptureEx(boolean, boolean)
,
setMaxDataCaptureLength(int)
public void setDataCaptureEx(boolean sDCVal, boolean sSPSUVal)
sDCVal
- Specifies whether to turn the data capture
facility on (true) or off (false).sSPSUVal
- Specifies whether to turn the suppression
of presentation space updates on (true) or off (false).
m_screenObj.setDataCapture(true);
clearCapturedData()
,
getCapturedData()
,
getCapturedBytes()
,
getDataCapture()
,
getMaxDataCaptureLength()
,
setDataCapture(boolean)
,
setMaxDataCaptureLength(int)
public boolean getgetText_Display()
boolean ggTD = m_screenObj.getgetText_Display();
setgetText_Display(boolean)
public void setgetText_Display(boolean gtdvalue)
gtdvalue
- Specifies whether to turn the getText_Display
property on (true) or off (false).
m_screenObj.setgetText_Display(false);
getgetText_Display()
public boolean getKeyboardLocked()
getKeyboardLocked
in interface com.attachmate.UPG.common.IScreen
boolean isKeyboardLocked = m_screenObj.getKeyboardLocked();
public boolean isKeyboardLocked()
isKeyboardLocked
in interface com.attachmate.UPG.common.IScreen
boolean isKeyboardLocked = m_screenObj.isKeyboardLocked();
public void setMaxDataCaptureLength(int dcl)
dcl
- The maximum number of bytes to save in the buffer.
m_screenObj.setMaxDataCaptureLength(10000);
clearCapturedData()
,
getCapturedData()
,
getCapturedBytes()
,
getDataCapture()
,
getMaxDataCaptureLength()
,
setDataCapture(boolean)
,
setDataCaptureEx(boolean, boolean)
public void Close()
m_screenObj.Close()
Open()
public boolean Open()
boolean open_status = m_screenObj.Open();
OpenEx(int)
,
Close()
,
isConnected()
public boolean OpenEx(int timeout)
boolean open_status = m_screenObj.OpenEx(30);
Close()
,
isConnected()
public int putString(java.lang.String inText, int inRow, int inColumn) throws ProtectedFieldException, InputInhibitedException, TruncatedException
putString
in interface com.attachmate.UPG.common.IScreen
inText
- The text to copy to the presentation space.inRow
- The row in which to begin writing.inColumn
- The column in which to begin writing.
try
{
// putString - Copies a string of text to the presentation space
String inText = "PASSWORD";
int inRow = 1;
int inColumn = 1;
int numCharsPut = m_screenObj.putString (inText, inRow,
inColumn );
}
catch(ProtectedFieldException e)
{
System.err.println("ProtectedFieldException " );
return;
}
catch(InputInhibitedException e)
{
System.err.println("InputInhibitedException " );
return;
}
catch(TruncatedException e)
{
System.err.println("TruncatedException " );
return;
}
inText = "password"
inRow = 5
inColumn = 11
numCharsPut = Session("screenObj").putString (inText, inRow,
inColumn)
TRY
{
CString inText = "text";
int inRow = 1;
int inColumn = 1;
int numCharsPut = m_screenObj.putString (inText, inRow, inColumn );
}
CATCH_ALL(e)
{
if (e->GetRuntimeClass()->m_lpszClassName == "com.attachmate.emulation.exception.ProtectedFieldException")
{
}
else if (e->GetRuntimeClass()->m_lpszClassName == "com.attachmate.emulation.exception.InputInhibitedException")
{
}
else if (e->GetRuntimeClass()->m_lpszClassName == "com.attachmate.emulation.exception.TruncatedException")
{
}
}
END_CATCH_ALL
ProtectedFieldException
- Returned if putString was not able
to complete successfully because a protected field was encountered.
InputInhibitedException
- Returned if putString was not able
to complete successfully because a field with the input inhibited attribute
was encountered.
TruncatedException
- Returned if there is not enough room in the
presentation space to write all of the data specified by putString.ScreenUPG#putStringEx
,
sendKeys(java.lang.String, int)
public int RawDataTransmit(java.lang.String writeBuffer)
writeBuffer
- The text to send to the host.
RawDataTransmitBytes(byte[])
public int RawDataTransmitBytes(byte[] writeBuffer)
writeBuffer
- The data to send to the host.
RawDataTransmit(java.lang.String)
public void sendKeys(java.lang.String inText, int inType)
sendKeys
in interface com.attachmate.UPG.common.IScreen
inText
- Keys to send to the session. This can be a combination
of text characters and host keystrokes, however only one host
keystroke can be sent in each call and the host keystroke must
be the last key sent. Please see Key Codes
for valid codes for each host type.inType
- The format of the host keystrokes included in
the string, either HLLAPI format or BRACES format.
IScreenUPG screenObj = terminal.getSession().getScreen();
// send Transmit key at current cursor position
screenObj.sendKeys("@E",screenObj.KEYTYPE_HLLAPI);
// The next line is equivalent to the line above
screenObj.sendKeys("{Transmit}",screenObj.KEYTYPE_BRACES);
putString(java.lang.String, int, int)
,
putStringEx(java.lang.String, int, int, int, int, int, int, int, boolean)
public int SendStatus(int type, byte[] detail)
type
- status message to send to screen.detail
- null or byte[] of status message detail if required.
public int putStringEx(java.lang.String inText, int inStartRow, int inStartColumn, int inEndRow, int inEndColumn, int inArea, int inWrap, int inModes, boolean inFill) throws ProtectedFieldException, InputInhibitedException, TruncatedException
putStringEx
in interface com.attachmate.UPG.common.IScreen
inText
- The text to copy to the presentation space.inStartRow
- The row at which to begin writing.inStartColumn
- The column at which to begin writing.inEndRow
- The row at which to stop writing.inEndColumn
- The column at which to stop writing.inArea
- Not used; set to 0.inWrap
- Whether or not to wrap to the top after reaching
the end of the presentation space. Possible values include: WRAP_ON and WRAP_OFF.inModes
- Action to perform when a protected field is encountered while
writing the string to the presentation space. Possible values include: PUTSTRING_SKIP,
PUTSTRING_SPAN, and PUTSTRING_STOP.inFill
- When true, the area specified is filled with the string specified
by inText.
ProtectedFieldException
- Returned if putStringEx was not able
to complete successfully because a protected field was encountered.
InputInhibitedException
- Returned if putStringEx was not able
to complete successfully because a field with the input inhibited attribute
was encountered.
TruncatedException
- Returned if there is not enough room in the
presentation space to write all of the data specified by putStringEx.
try
{
// putStringEx - Writes to the specified position,
// returning the number of characters put
String inText = "PASSWORD";
int inStartRow = 1;
int inStartColumn = 1;
int inEndRow = 12;
int inEndColumn = 10;
int inArea = 0;
int inWrap = m_screenObj.WRAP_ON;
int inModes = m_screenObj.FINDFIELD_NEXT;
boolean inFill = true;
int numCharsPut = m_screenObj.putStringEx (inText, inStartRow,
inStartColumn,inEndRow, inEndColumn, inArea,
inWrap, inModes, inFill);
}
catch(ProtectedFieldException e)
{
System.err.println("ProtectedFieldException " );
return;
}
catch(InputInhibitedException e)
{
System.err.println("InputInhibitedException " );
return;
}
catch(TruncatedException e)
{
System.err.println("TruncatedException " );
return;
}
inText = "password"
inRow = 5
inColumn = 11
inEndRow = 12
inEndColumn = 10
inArea = 0
inWrap = Session("screenObj").WRAP_ON
inModes = Session("screenObj").FINDFIELD_NEXT
numCharsPut = Session("screenObj").putStringEx (inText,
inRow, inColumn, inEndRow, inEndColumn, inArea, inWrap,
inModes, true)
TRY
{
CString inText = "PASSWORD";
int inStartRow = 1;
int inStartColumn = 1;
int inEndRow = 12;
int inEndColumn = 10;
int inArea = 0;
int inWrap = WRAP_ON;
int inModes = FINDFIELD_NEXT;
bool inFill = true;
int numCharsPut = m_screenObj.putStringEx (inText, inStartRow,
inStartColumn,inEndRow, inEndColumn, inArea, inWrap, inModes, inFill);
}
CATCH_ALL(e)
{
if (e->GetRuntimeClass()->m_lpszClassName == "com.attachmate.emulation.exception.ProtectedFieldException")
{
}
else if (e->GetRuntimeClass()->m_lpszClassName == "com.attachmate.emulation.exception.InputInhibitedException")
{
}
else if (e->GetRuntimeClass()->m_lpszClassName == "com.attachmate.emulation.exception.TruncatedException")
{
}
}
END_CATCH_ALL
putString(java.lang.String, int, int)
,
sendKeys(java.lang.String, int)
public int getObjectVersion()
int objVersion = m_screenObj.getObjectVersion();
int objVersion = Session("screenObj").getObjectVersion
int objVersion = m_screenObj.getObjectVersion();
public java.lang.String getLastError()
String SDK_Error = screenObj.getLastError();
dim SDK_Error
SDK_Error = Session("screenObj").getLastError
CString SDK_Error = screenObj.getLastError();
public void setDescription(java.lang.String description)
description
- The text description that you want to assign to the
Screen object.
String description = "First Session Instance";
screenObj.setDescription(description);
dim description
description = "First Session Instance"
Session("screenObj").setDescription description
CString description = "First Session Instance";
screenObj.setDescription(description);
getDescription()
public java.lang.String getDescription()
String description = screenObj.getDescription();
dim description
description = Session("screenObj").getDescription
CString description = screenObj.getDescription();
setDescription(java.lang.String)
public void addIScreenListener(java.util.EventListener inListener)
inListener
- The screen/status listener to attach to the Screen object.
screenObj = (ScreenType) sl.requestScreen(User,Password,WebView);
if (screenObj != null)
{
screenObj.addIScreenListener(this);
if (screenObj.Open())
{
....//Todo: Place your code here
}
}
removeIScreenListener(java.util.EventListener)
public void removeIScreenListener(java.util.EventListener inListener)
inListener
- The screen/status listener to detach from the Screen object.
if (screenObj != null)
{
screenObj.removeIScreenListener(this);
screenObj.Close();
}
addIScreenListener(java.util.EventListener)
public java.lang.String getOIAText()
String OIA = screenObj.getOIAText();
dim OIA
OIA = Session("screenObj").getOIAText
CString OIA = screenObj.getOIAText();
getOIAContents()
public void waitForCursor(int inRow, int inColumn, int wtTime) throws TimedOutException
waitForCursor
in interface com.attachmate.UPG.common.IScreen
inRow
- The row in which the cursor must appear to satisfy the wait.
When inRow is set to zero, the wait is satisfied when the cursor appears
in the column specified, regardless of which row the cursor is in.inColumn
- The column in which the cursor must appear to satisfy the
wait. When inColumn is set to zero, the wait is satisfied when the cursor
appears in the row specified, regardless of which column the cursor is in.wtTime
- The number of milliseconds to wait for the wait condition
to be satisfied before timing out.
TimedOutException
- Returned if WaitForCursor times out.
try
{
int inRow = 17;
int inColumn = 20;
int wtTime = 3000;
m_screenObj.waitForCursor(inRow, inColumn, wtTime);
}
catch(TimedOutException e)
{
System.err.println("TimedOutException " );
return;
}
inRow = 0
inColumn = 0
wtTime = 5000
Session("screenObj").waitForCursor inRow,inColumn,wtTime
TRY
{
int inRow = 17;
int inColumn = 20;
int wtTime = 3000;
m_screenObj.waitForCursor(inRow, inColumn, wtTime);
}
CATCH_ALL(e)
{
AfxMessageBox ("TimedOutException " );
return;
}
END_CATCH_ALL
waitForString(java.lang.String, int, int, int)
,
waitHostQuiet(int, int)
public void waitForString(java.lang.String inText, int inRow, int inColumn, int wtTime) throws TimedOutException
waitForString
in interface com.attachmate.UPG.common.IScreen
inText
- The text string to wait for.inRow
- The row in which to look for the string. If the
row is set to zero, the wait is satisfied if the string appears in
the column specified, regardless of the row.inColumn
- The column in which to look for the string.
If the column is set to zero, the wait is satisfied if the string
appears in the row specified, regardless of the column.wtTime
- The number of milliseconds to wait for the wait condition
to be satisfied before timing out.
try
{
// waitForString - Waits for the specified text to appear at the
// specified position.
String inText = "Ready";
int inRow = 17;
int inColumn = 20;
int wtTime = 3000;
m_screenObj.waitForString(inText, inRow, inColumn, wtTime);
}
catch(TimedOutException e)
{
System.err.println("TimedOutException " );
return;
}
inText = "LOGON"
inRow = 0
inColumn = 0
wtTime = 5000
Session("screenObj").waitForString inText,inRow,inColumn,wtTime
TRY
{
CString inText = "UNIX";
int inRow = 0;
int inColumn = 0;
int wtTime = 5000;
m_screenObj.waitForString((LPCSTR)inText, inRow, inColumn, wtTime);
}
CATCH_ALL(e)
{
AfxMessageBox("TimedOutException " );
return;
}
END_CATCH_ALL
TimedOutException
waitForCursor(int, int, int)
,
waitHostQuiet(int, int)
public void waitHostQuiet(int inSettleTime, int wtTime) throws TimedOutException
waitHostQuiet
in interface com.attachmate.UPG.common.IScreen
inSettleTime
- The amount of time (in milliseconds), that
the session needs to be idle before the wait condition is
satisfied. The optimum settle time varies depending on the
host application response time. For most host applications, a
settle time of one to three seconds is sufficient.wtTime
- The number of milliseconds to wait for the wait condition
to be satisfied before timing out.
TimedOutException
- Returned if WaitHostQuiet times out.
do
{
try
{
// waitHostQuiet -
int inSettleTime = 1000;
int wtTime = 3000;
m_screenObj.waitHostQuiet(inSettleTime, wtTime);
}
catch(TimedOutException e)
{
System.err.println("TimedOutException " );
return;
}
} while (m_screenObj.getKeyboardLocked());
inSettleTime = 1000
wtTime = 3000
Session("screenObj").waitHostQuiet inSettleTime, wtTime
int inSettleTime = 1000;
int wtTime = 3000;
TRY
{
this->m_screenObj.waitHostQuiet(inSettleTime, wtTime);
}
CATCH_ALL(e)
{
AfxMessageBox("TimedOutException " );
return;
}
END_CATCH_ALL
waitForCursor(int, int, int)
,
waitForString(java.lang.String, int, int, int)
|
Attachmate Verastream SDK for UMC Reference Guide v4.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |