-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/revamp lean review #108
base: feat/revamp_lean
Are you sure you want to change the base?
Conversation
a4c8e5c
to
d50e6ab
Compare
@@ -58,7 +41,7 @@ namespace UiPath.Ipc | |||
{ | |||
public EndpointSettings(System.Type contractType, System.IServiceProvider serviceProvider) { } | |||
public EndpointSettings(System.Type contractType, object? serviceInstance = null) { } | |||
public System.Func<UiPath.Ipc.CallInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task>? BeforeCall { get; set; } | |||
public System.Func<UiPath.Ipc.CallInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task>? BeforeIncommingCall { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo - Incoming
@@ -58,7 +41,7 @@ namespace UiPath.Ipc | |||
{ | |||
public EndpointSettings(System.Type contractType, System.IServiceProvider serviceProvider) { } | |||
public EndpointSettings(System.Type contractType, object? serviceInstance = null) { } | |||
public System.Func<UiPath.Ipc.CallInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task>? BeforeCall { get; set; } | |||
public System.Func<UiPath.Ipc.CallInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task>? BeforeIncommingCall { get; set; } | |||
public System.Type ContractType { get; } | |||
public System.Threading.Tasks.TaskScheduler? Scheduler { get; set; } | |||
public object? ServiceInstance { get; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public interface IClientState - why is it public? along with the CreateState() method in ClientTransport impl
- IServerState, same question
public System.Func<System.Threading.CancellationToken, System.Threading.Tasks.Task>? BeforeConnect { get; set; } | ||
public System.Func<UiPath.Ipc.CallInfo, System.Threading.CancellationToken, System.Threading.Tasks.Task>? BeforeOutgoingCall { get; set; } | ||
public UiPath.Ipc.EndpointCollection? Callbacks { get; set; } | ||
public string DebugName { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do?
@@ -133,27 +113,21 @@ namespace UiPath.Ipc | |||
public void Dispose() { } | |||
protected override object? Invoke(System.Reflection.MethodInfo? targetMethod, object?[]? args) { } | |||
} | |||
public sealed class IpcServer : System.IAsyncDisposable | |||
public sealed class IpcServer : UiPath.Ipc.Peer, System.IAsyncDisposable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discuss naming (IpcBase?)
protected ServerTransport() { } | ||
public int ConcurrentAccepts { get; set; } | ||
public byte MaxReceivedMessageSizeInMegabytes { get; set; } | ||
public System.Security.Cryptography.X509Certificates.X509Certificate? Certificate { get; init; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decide Certificate best location
0a5fb49
to
be6f58a
Compare
- simplifications
be6f58a
to
99b8c7c
Compare
d031e64
to
3acb41c
Compare
- decommission WaitForStop
3acb41c
to
59fe065
Compare
WIP