EMA C++ Performace Tools Guide : 5 Interactive Provider Performance Tool : 5.6 Input Files : 5.6.1 EmaConfig.xml Examples : 5.6.1.2 The Server Section
 
5.6.1.2 The Server Section
When creating an Server section, you must include the Name and ServerType fields. For details on Name and ServerType fields, refer to the Enterprise Message API Configuration Guide.
You can use WsProtocols parameter when ServerType is set to RSSL_WEBSOCKET.
You can use the following parameters when ServerType is set to RSSL_ENCRYPTED: ServerCert and ServerPrivateKey.
 
<Server>
    <Name value="Perf_Server_1"/>
    <ServerType value="ServerType::RSSL_SOCKET"/>
    <CompressionType value="CompressionType::None"/>
    <GuaranteedOutputBuffers value="50000"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="1"/>
    <Port value="14002"/>
    <HighWaterMark value="6144"/>
    <InterfaceName value=""/>
    <DirectWrite value="0"/>
    <MaxFragmentSize value="6144"/>
    <NumInputBuffers value="10000"/>
    <SysRecvBufSize value="65535"/>
    <SysSendBufSize value="65535"/>
</Server>
 
Example 9: Server Section Example of TCP Connection Type
 
 
<Server>
    <Name value="Perf_Server_Websock_1"/>
    <ServerType value="ServerType::RSSL_WEBSOCKET"/>
    <CompressionType value="CompressionType::None"/>
    <GuaranteedOutputBuffers value="50000"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="1"/>
    <Port value="14002"/>
    <MaxFragmentSize value="6144"/>
    <WsProtocols value="rssl.json.v2, rssl.rwf, tr_json2"/>
</Server>
 
Example 10: Server Section Example for using WebSocket Protocol
 
 
<Server>
    <Name value="Perf_Server_Encr_1"/>
    <ServerType value="ServerType::RSSL_ENCRYPTED"/>
    <CompressionType value="CompressionType::None"/>
    <GuaranteedOutputBuffers value="50000"/>
    <ConnectionPingTimeout value="30000"/>
    <TcpNodelay value="1"/>
    <ServerCert value="./cert/localhost.crt"/>
    <ServerPrivateKey value="./cert/localhost.key"/>
    <CipherSuite value=""/>
    <WsProtocols value="rssl.json.v2, rssl.rwf, tr_json2"/>
</Server>
 
Example 11: Server Section Example of Encrypted Connection