2.8.2 Rejecting a connection request

A client might reject a server, or a server might reject a client, for the following reasons:

  • If a client requests an IrisRpc protocol version that the server does not support, the server can send the following response after the CONNECT step:

    IrisRpc/0.1 505 IrisRpc version not supported<CR><LF> 
    Error-Message: This IrisTcpServer only supports IrisRpc/0.x.<CR><LF>
    <CR><LF> 

    The server, then the client, closes the connection.

  • A server might reject a client because it does not support any of the formats that the client supports. The server responds with:

    IrisRpc/0.1 501 Format not supported<CR><LF>
    Error-Message: This IrisTcpServer only supports the formats IrisU64Json, IrisJson but the client does not support any of these.<CR><LF>
    <CR><LF> 
  • A client might reject a server because it does not support any of the formats that the server supports. In this case, the client closes the connection without any further communication with the server.

Note:

The last two cases can only occur when the client was configured to force a format other than IrisJson, because all servers and clients support the IrisJson format.
Non-ConfidentialPDF file icon PDF version101196_0100_00_en
Copyright © 2018 Arm Limited or its affiliates. All rights reserved.