Class TerminalNetworkConnection
Encapsulates all that is needed to create a network connection to a terminal
Inheritance
Inherited Members
Namespace: Westpay.Epas
Assembly: EpasClientLibrary.dll
Syntax
public class TerminalNetworkConnection
Properties
View SourceTerminalConnectionDetails
Connection details to access the terminal
Declaration
public IPEndPoint TerminalConnectionDetails { get; set; }
Property Value
Type | Description |
---|---|
System.Net.IPEndPoint |
Remarks
The TerminalConnectionDetails property specifies the network address and port of the terminal. At time of writing the terminal only supports IPv4 connections.
Note: The default port for EPAS is 3000
. This can be changed in the terminal, but there is usually no reason
to do so.
UseKeepAlive
Indicates if a network keepalive message should be sent regularly. This is useful on reliable network connections, since the terminal will detect a break in these messages and will know that the ECR has gone offline. This allows the terminal to handle the failure gracefully.
Declaration
public bool UseKeepAlive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default is |
Remarks
If the UseKeepAlive method is true
then the EPAS client library will ensure a steady stream of packets are
sent to the terminal during idle times. This will allow the terminal to know that the ECR is still alive and
connected.