|
CICS® Transaction Gateway Programming Reference V3.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.ctg.client.TcpJavaGateway
This class manages the connection between a program and a CICS Gateway
for Java. You will need a TcpJavaGateway object for each Gateway that
you wish to talk to. Once a connection has been established, you send
GatewayRequest objects (or sub-classes of) to the Gateway via the
flow
method.
A TcpJavaGateway object has a second thread which is used to listen for in-bound replies from the Gateway.
Method Summary | |
(package private) void |
close()
Closes the connection to the CICS Gateway for Java. |
(package private) int |
flow(GatewayRequest gatRequest)
Flows the specified GatewayRequest to the CICS Gateway for Java and then waits for the reply. |
(package private) void |
open()
Opens a TcpJavaGateway, connecting it to the CICS Gateway for Java at the specified IP address and port. |
Method Detail |
void open() throws java.io.IOException
int flow(GatewayRequest gatRequest) throws java.io.IOException
gatRequest
- GatewayRequest object containing the requestvoid close() throws java.io.IOException
|
© Copyright IBM Corp. 1994, 1999 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |