Synchronization and sessions

The Terminal class supports both synchronous and asynchronous sends to the CICS® Server. In the case of an asynchronous send, the Screen object is updated while information is being received from the server.

To select synchronous mode, you can either specify null for the session using the setSession method, or specify a null session when invoking send. Alternatively, you can implement the session interface and specify that it is a synchronous session.

To select asynchronous mode, implement the session interface and specify that it is an asynchronous session.


Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//progde/synch.html