Local External Automatic Entries (Ispec to Ispec)

HUB Message Routing – Local Host, Ispec-Initiated

The figure above depicts message routing for an external Automatic Entry from an <<Ispec>> class in application A (the client application) to an <<Ispec>> class in application B (the server application), where both applications reside on the same host. This process is detailed in the following subsections.

Message Initiation by the Client Application

The client application initiates an external Automatic Entry, as follows:

Message Processing and Response Initiation by the Server Application

The server application COMSTP program processes the request.

When the server application has processed the transaction, the COMSTP program calls the HUBResponse procedure of HUBRouter, through the LINCSUPPORT library, which copies the response directly into the correct Response Buffer, and causes an event that wakes up the Client program.

Response Processing by the Client Application

The Client COMSTP program that has been waiting for a response then wakes up and processes the response.