Package zowe.client.sdk.zostso.methods
Class TsoPing
- java.lang.Object
-
- zowe.client.sdk.zostso.methods.TsoPing
-
public class TsoPing extends Object
This class handles sending a ping request to z/OSMF TSO to keep the session alive.- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Constructor Summary
Constructors Constructor Description TsoPing(ZosConnection connection)TsoPing constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TsoCommonResponseping(String sessionId)Send a ping request to z/OSMF TSO to keep the session alive
-
-
-
Constructor Detail
-
TsoPing
public TsoPing(ZosConnection connection)
TsoPing constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
ping
public TsoCommonResponse ping(String sessionId) throws ZosmfRequestException
Send a ping request to z/OSMF TSO to keep the session alive- Parameters:
sessionId- servletKey id retrieved from start TSO request- Returns:
- TsoCommonResponse object
- Throws:
ZosmfRequestException- request error state
-
-