AcceptConnections Method
Opens a connection to and begins accepting connections from the SAP system.
Syntax
public void acceptConnections(String programId, String gatewayHost, String gatewayService);
Remarks
Unlike the SapClient, no credentials are required to connect to the SAP system as a server. Just specify a unique name used to identify this program to the SAP system in the ProgramId parameter, as well as the GatewayHost and GatewayService you are connecting through.
Once connected to the SAP system, set Listening to True to begin listening for incoming function calls.