Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces a new Tunnel agent to bridge selected agents/topics between multiple fjåge containers over TCP/IP, conceptually similar to UnetStack “wormholes”.
Changes:
- Added
org.arl.fjage.remote.Tunnelagent to forward messages over newline-delimited JSON/TCP connections. - Added
TunnelParamenum to expose tunnel parameters (ip,port,agents) via the existing parameter mechanism. - Simplified
TcpConnector.connections()implementation.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 11 comments.
| File | Description |
|---|---|
| src/main/java/org/arl/fjage/remote/TunnelParam.java | Defines tunnel parameter names for parameter messaging. |
| src/main/java/org/arl/fjage/remote/Tunnel.java | Implements TCP-based tunneling/forwarding logic between containers. |
| src/main/java/org/arl/fjage/connectors/TcpConnector.java | Refactors connections() method formatting/flow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Implements tunnels that allow multiple fjåge universes to be connected over TCP/IP.
Example usage
fjåge container 1:
fjåge container 2:
You should see that message in container 1 too:
fjåge container 1:
Additional notes
@idsuffix is added to remote agent names to avoid confusion with similar named local agents. Theidis auto-generated and has no user-facing semantics other than to make agentIDs unique in each container.ipandportcan only be setup when loading the agent and cannot be modified during runtime. An agent can be killed and re-loaded, if a different IP or port is desired.logLevel 'org.arl.fjage.remote', FINE