Class ITryllEditorBridge¶
ClassList > ITryllEditorBridge
#include <TryllEditorBridge.h>
Public Functions¶
| Type | Name |
|---|---|
| virtual void | AcquireConnection () = 0 |
| virtual void | AdoptRelaunchedServer () = 0 |
| virtual int32 | GetActualPort () const = 0 |
| virtual FTryllConnectionEvents * | GetConnectionEvents () = 0 |
| virtual int64 | GetSessionId () const = 0 |
| virtual FTryllConnection * | GetSharedConnection () = 0 |
| virtual bool | HasSessionPauseListener () const = 0 Direct OnPausedNative listeners, or any registered probe that returns true. |
| virtual bool | HasSessionToolCallListener () const = 0 Any registered tool-call probe that returns true. |
| virtual bool | IsConnected () const = 0 |
| virtual bool | IsSessionReady () const = 0 |
| virtual int32 | RegisterPauseListenerProbe (TFunction< bool()> Probe) = 0 |
| virtual int32 | RegisterToolCallListenerProbe (TFunction< bool()> Probe) = 0 |
| virtual void | ReleaseConnection () = 0 |
| virtual bool | TryLaunch (EServerBuildVariant Variant, int32 KnownPort, int32 IdleShutdownTimeoutSeconds, FString & OutError) = 0 |
| virtual void | UnregisterPauseListenerProbe (int32 ProbeId) = 0 |
| virtual void | UnregisterToolCallListenerProbe (int32 ProbeId) = 0 |
| virtual | ~ITryllEditorBridge () = default |
Detailed Description¶
Runtime-facing surface for the editor-only shared Tryll connection/session. UTryllEditorSubsystem (TryllClientEditor) registers an implementation so UTryllSubsystem (TryllClient) can share the editor connection in PIE without linking the editor module. Per-message calls are not forwarded: the game subsystem uses GetSharedConnection() and its own completions.
Public Functions Documentation¶
function AcquireConnection¶
function AdoptRelaunchedServer¶
After TryLaunch replaced a running server, move an open shared connection onto the new port. No-op when nothing is connected.
function GetActualPort¶
function GetConnectionEvents¶
Broadcast-class events for that connection. Null when there is no connection.
function GetSessionId¶
function GetSharedConnection¶
The editor's shared connection. Null when the editor has not connected.
function HasSessionPauseListener¶
Direct OnPausedNative listeners, or any registered probe that returns true.
function HasSessionToolCallListener¶
Any registered tool-call probe that returns true.
function IsConnected¶
function IsSessionReady¶
function RegisterPauseListenerProbe¶
Report whether this consumer's session-facing OnPaused is actually bound. Used so a PIE subscription is not mistaken for a listener. Returns an id to pass to UnregisterPauseListenerProbe.
function RegisterToolCallListenerProbe¶
Report whether this consumer's session-facing OnToolCall / OnToolCallWithId / OnToolCallDetailed is actually bound. The native tool-call delegates are the PIE forwarding channels and are always subscribed while delegating, so they cannot tell on their own. A bound listener makes the pause after a tool-call batch resumable (it can answer with ResumeWithToolResult(s)). Returns an id to pass to UnregisterToolCallListenerProbe.
function ReleaseConnection¶
function TryLaunch¶
virtual bool ITryllEditorBridge::TryLaunch (
EServerBuildVariant Variant,
int32 KnownPort,
int32 IdleShutdownTimeoutSeconds,
FString & OutError
) = 0
function UnregisterPauseListenerProbe¶
function UnregisterToolCallListenerProbe¶
function ~ITryllEditorBridge¶
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/TryllEditorBridge.h