14 Commits
Author SHA1 Message Date
Matthias Heil 98bdb3cf0d public async Task StartAsync()
{
    if (_client?.State == PipeState.Connected)
        return;
2026-11-12 07:28:23 +01:00
matt b7ddb46ded add .idea to gitignore 2026-11-10 13:10:43 +01:00
matt beb7086867 Refactor PipeClient to use ServerConnection wrapper and rename Server namespace
Introduce ServerConnection class in PipeClient to encapsulate server process
lifecycle, connection, restart, and cleanup instead of inline Process management.
Pass PipeClient<IPipeServerMethods> explicitly to example methods rather than
relying on a module-level field.

Rename namespace Server to PipeServer in PipeServer project and update
corresponding using directives.

Update error messages in ServerMethods to English.
2026-11-10 13:07:21 +01:00
Matthias Heil e1acf71c5d Renamed IServerMethods to `IPipeServerMethods 2026-11-10 11:08:33 +01:00
Matthias Heil 3fe7fa42e5 Alternate server exception log colors
Use red and dark red alternation for server exceptions, green for other messages, and reorder the related using directives.
2026-11-10 11:06:10 +01:00
Matthias Heil ae723b9bea Align client and solution with renamed projects
Update project references and solution entries to use
`PipeClient` and `PipeServer`, and launch the renamed
`PipeServer.exe` or `PipeServer.dll`.
2026-11-10 10:57:10 +01:00
Matthias Heil f00e3298b1 Rename projects 2026-11-10 10:54:46 +01:00
Matthias Heil d618bac679 Replace ICalculator with IServerMethods
Rename the server implementation and update client/server pipes to use
the shared server-methods interface. Move PipeConstants alongside it and
log “Client started.” during client startup.
2026-11-10 10:42:57 +01:00
Matthias Heil 23c2a9ea16 Add colored console output to logging
Update `Log` to write messages to the console, using red for server exceptions and blue for other messages. Preserve thread-safe XML report logging and reorder `using` directives.
2026-11-10 10:38:20 +01:00
Matthias Heil 8fbb2e2e46 Log client execution to XML report
Replace console output with synchronized XML logging, including
timestamps, startup and shutdown events, errors, cancellations,
timeouts, restarts, and abnormal server exits. Save the completed
report as `ClientReport.xml` in the executable directory.
2026-11-10 10:20:18 +01:00
Matthias Heil 04e94edd64 Harden client/server IPC and cancellation
Use a dedicated server per client run with unique pipes, automatic
failure recovery and reconnection, and robust resource cleanup. Add
cancellation and timeout support to calculator operations, plus demos
covering exceptions, cancellation, timeouts, and server crashes.
2026-11-10 10:16:24 +01:00
Matthias Heil 06763d6c15 Rename shared namespace and preserve pipe handling
Rename `Shared` to `ClientServerShared` across client, server, calculator, interface, and serializer code. Update pipe-name parsing to use ordinal comparison while retaining the `PipeDemo` default. Preserve custom JSON serialization with public field support for `Vector3`.
2026-11-10 09:31:18 +01:00
Matthias Heil d0ef6d2039 Add Visual Studio gitignore rules
Add the generated `.gitignore` file and exclude `/.vs` local configuration and cache files.
2026-11-10 09:30:57 +01:00
Matthias Heil d14a20dfac Initial commit 2026-11-10 09:23:35 +01:00