Non-Confidential | ![]() | 101196_0100_03_en | ||
| ||||
Home > Generic function call interface > IrisRpc (RPC transport layer) > 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.
IrisJson
, because all servers and clients support
the IrisJson
format.