Pathway/iTS Web Client Programming Manual (G06.24+)

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-3
Class Gateway
Delegation Methods
Method Constructor
Syntax
public Gateway (String address, int port)
Description
Constructor for the Gateway class.
Parameters
Method abortTransaction
Purpose
Aborts a transaction on the NonStop Himalaya on behalf of this client.
Syntax
public void abortTransaction () throws ScobolTxnException
abortTransaction() Aborts the current transaction on the NonStop
Himalaya; equivalent to the SCREEN COBOL
ABORT-TRANSACTION statement.
acceptDate() Gets the NonStop Himalaya date; equivalent to the
SCREEN COBOL ACCEPT DATE statement.
acceptDay() Gets the NonStop Himalaya Julian day; equivalent to
the SCREEN COBOL ACCEPT DAY statement.
acceptTime() Gets the NonStop Himalaya time; equivalent to the
SCREEN COBOL ACCEPT TIME statement.
beginTransaction() Initiates a transaction on the NonStop Himalaya;
equivalent to the SCREEN COBOL
BEGIN-TRANSACTION statement.
endTransaction() Ends the current transaction on the NonStop
Himalaya; equivalent to the SCREEN COBOL
END-TRANSACTION statement.
send() Does a server-class send operation; equivalent to the
SCREEN COBOL SEND statement.
hostAddress The TCP/IP host name for the NonStop Himalaya (the
n.n.n.n form is also valid)
port The TCP/IP port number on which the router process is
configured