|
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.HttpJavaGateway
Method Summary | |
(package private) void |
close()
Closes the connection to the CICS Gateway for Java. |
int |
flow(GatewayRequest gatRequest)
Calls into our internal flow routine, passing the request object as both source of the request and as the object the reply is put into |
protected int |
flow(GatewayRequest gatRequest,
GatewayRequest gatReplyInto)
Flows the specified GatewayRequest to the CICS Gateway for Java and then waits for the reply. |
(package private) void |
open()
Opens a HttpJavaGateway. |
Method Detail |
void open() throws java.io.IOException
public int flow(GatewayRequest gatRequest) throws java.io.IOException
gatRequest
- GatewayRequest object containing the requestprotected int flow(GatewayRequest gatRequest, GatewayRequest gatReplyInto) throws java.io.IOException
Since HTTP is a non-persistent protocol, we create a new connection for each request that we flow. If the request is a synchronous request then we wait for the reply to return. If it is asynchronous we wait for the FLOW_CONFIRM, before starting a separate thread to wait for the real reply.
gatRequest
- GatewayRequest object containing the requestgatRequest
- GatewayRequest object to put the reply intovoid 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 |