Skip to content
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

Draft
wants to merge 12 commits into
base: feat/revamp_lean
Choose a base branch
from

Conversation

eduard-dumitru
Copy link
Collaborator

WIP

@@ -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; }
Copy link
Member

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; }
Copy link
Member

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; }
Copy link
Member

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
Copy link
Member

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; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decide Certificate best location

- decommission WaitForStop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants