2023-05-29 20:19:31 -05:00
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.Iris.Debug;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides helpers for things that are common between debug clients, servers, and transports.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class DebugRemoting
|
|
|
|
|
{
|
2023-05-29 20:57:26 -05:00
|
|
|
public const string DEFAULT_TCP_CLIENT_URI = "tcp://127.0.0.1:5555";
|
2023-05-29 20:19:31 -05:00
|
|
|
|
2023-05-29 20:57:26 -05:00
|
|
|
public const string DEFAULT_TCP_SERVER_URI = "tcp://127.0.0.1:5555";
|
2023-05-29 20:19:31 -05:00
|
|
|
|
|
|
|
|
internal static IFormatter CreateBsonFormatter() => new BsonFormatter(new StreamingContext(StreamingContextStates.Remoting));
|
|
|
|
|
}
|