#include <ChannelHandler.h>
Constructor.
- Parameters
-
socket | a TCP socket connected to the local faspstream process |
channel | the abstract interface to share TCP connection |
ChannelHandler::~ChannelHandler |
( |
| ) |
|
|
inline |
virtual void ChannelHandler::run |
( |
| ) |
|
|
virtual |
Invoked by Poco::Thread when it is spawned. This runs the main loop that tunnels data between the local and remote faspstreams. Part of the Poco::Runnable interface.
virtual void ChannelHandler::stop |
( |
| ) |
|
|
virtual |
Call this when the thread should stop. This will close the TCP connection to the local faspstream process and invoke the channel's close method.
The documentation for this class was generated from the following file: