diff options
| author | Stefan Boberg <[email protected]> | 2023-10-13 14:46:49 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-13 14:46:49 +0200 |
| commit | c3fad0e98576ff5dee3ee63725459d46e201fa34 (patch) | |
| tree | 91455786fac76ffb6a83ff24620329780ce08545 /src/transports/transport-sdk | |
| parent | improved http.sys initialization diagnostics and amended logic for dedicated ... (diff) | |
| download | zen-c3fad0e98576ff5dee3ee63725459d46e201fa34.tar.xz zen-c3fad0e98576ff5dee3ee63725459d46e201fa34.zip | |
support for multiple http servers (#473)
* added support for having multiple http servers active in one session
* added configuration API to pluggable transports
* removed pimpl pattern from some pluggable transports implementations
Diffstat (limited to 'src/transports/transport-sdk')
| -rw-r--r-- | src/transports/transport-sdk/include/transportplugin.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/transports/transport-sdk/include/transportplugin.h b/src/transports/transport-sdk/include/transportplugin.h index aee5b2e7a..2a3b8075f 100644 --- a/src/transports/transport-sdk/include/transportplugin.h +++ b/src/transports/transport-sdk/include/transportplugin.h @@ -4,8 +4,16 @@ #include <stdint.h> -// Important note: this header is meant to compile standalone -// and should therefore not depend on anything from the Zen codebase +// This header is meant to compile standalone and should therefore NOT depend +// on anything from the Zen tree + +////////////////////////////////////////////////////////////////////////// +// +// IMPORTANT: Any development or changes to this header should be made +// in the Zen repository http://github.com/epicgames/zen even if you +// may find the header in the UE tree +// +////////////////////////////////////////////////////////////////////////// namespace zen { @@ -69,10 +77,11 @@ public: class TransportPlugin { public: - virtual uint32_t AddRef() const = 0; - virtual uint32_t Release() const = 0; - virtual void Initialize(TransportServer* ServerInterface) = 0; - virtual void Shutdown() = 0; + virtual uint32_t AddRef() const = 0; + virtual uint32_t Release() const = 0; + virtual void Configure(const char* OptionTag, const char* OptionValue) = 0; + virtual void Initialize(TransportServer* ServerInterface) = 0; + virtual void Shutdown() = 0; /** Check whether this transport is usable. */ |