CICS® Transaction Gateway Programming Reference V3.1

com.ibm.ctg.epi
Interface Session

All Known Implementing Classes:
EPITerminal

public abstract interface Session

An object that implements the Session interface can be passed to the Terminal send method. The Session handleReply method will be called by the Terminal when an EPI event occurs - for example, when screen data is returned by the server. The Session also determines the type of synchronization used for when Terminal.send is called:


Field Summary
static int async
          Asynchronous EPI calls
static int sync
          Synchronous EPI calls (the default)
 
Method Summary
 int getSyncType()
          Gets the type of synchronization to be used for this session
 void handleReply(TerminalInterface terminal)
          Called to deal with EPI Events.
 

Field Detail

sync

public static final int sync
Synchronous EPI calls (the default)

async

public static final int async
Asynchronous EPI calls
Method Detail

getSyncType

public int getSyncType()
Gets the type of synchronization to be used for this session
Returns:
the synchronization type

handleReply

public void handleReply(TerminalInterface terminal)
Called to deal with EPI Events.
Parameters:
terminal - the terminal that generated the event

© Copyright IBM Corp. 1994, 1999