17#ifndef __ROGUE_INTERFACES_STREAM_TCP_CORE_H__
18#define __ROGUE_INTERFACES_STREAM_TCP_CORE_H__
98 static std::shared_ptr<rogue::interfaces::stream::TcpCore>
create(
const std::string& addr, uint16_t port,
bool server);
121 TcpCore(
const std::string& addr, uint16_t port,
bool server);
137 void acceptFrame(std::shared_ptr<rogue::interfaces::stream::Frame> frame);
141typedef std::shared_ptr<rogue::interfaces::stream::TcpCore>
TcpCorePtr;
static std::shared_ptr< rogue::interfaces::stream::Master > create()
Creates a stream master.
Stream slave endpoint and default frame pool.
Stream TCP bridge core implementation.
void close()
Closes active bridge connections.
std::shared_ptr< rogue::Logging > bridgeLog_
void runThread()
Run thread.
static void setup_python()
Registers this type with Python bindings.
void acceptFrame(std::shared_ptr< rogue::interfaces::stream::Frame > frame)
Receives a frame from upstream and forwards over the TCP bridge.
~TcpCore()
Destroys the bridge core and releases resources.
void stop()
Stops the interface and worker thread.
std::shared_ptr< rogue::interfaces::stream::TcpCore > TcpCorePtr
Shared pointer alias for TcpCore.