- All Implemented Interfaces:
- Connector
public class SocketConnector
extends Object
implements Connector
The following simple TCP-based protocol is to be used for transport of TSA messages.
This protocol is suitable for cases where an entity
initiates a transaction and can poll to pick up the results.
The protocol basically assumes a listener process on a TSA that can
accept TSA messages on a well-defined port (IP port number 318).
Typically an initiator binds to this port and submits the initial TSA message.
The responder replies with a TSA message and/or with a reference number
to be used later when polling for the actual TSA message response.
If a number of TSA response messages are to be produced for a given
request (say if a receipt must be sent before the actual token can be
produced) then a new polling reference is also returned.
When the final TSA response message has been picked up by the
initiator then no new polling reference is supplied.
- Author:
- 07721825741