| | 1 | | // Copyright (c) ZeroC, Inc. |
| | 2 | |
|
| | 3 | | namespace IceRpc.Internal; |
| | 4 | |
|
| | 5 | | /// <summary>The IceRPC protocol class.</summary> |
| | 6 | | internal sealed class IceRpcProtocol : Protocol |
| | 7 | | { |
| | 8 | | /// <summary>Gets the IceRpc protocol singleton.</summary> |
| 11216 | 9 | | internal static IceRpcProtocol Instance { get; } = new(); |
| | 10 | |
|
| | 11 | | private IceRpcProtocol() |
| 16 | 12 | | : base( |
| 16 | 13 | | name: "icerpc", |
| 16 | 14 | | defaultPort: 4062, |
| 16 | 15 | | hasFields: true, |
| 16 | 16 | | hasFragment: false, |
| 16 | 17 | | hasPayloadContinuation: true, |
| 16 | 18 | | supportsPayloadWriterInterceptors: true, |
| 16 | 19 | | byteValue: 2) |
| 16 | 20 | | { |
| 16 | 21 | | } |
| | 22 | | } |