Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Public Member Functions | List of all members
Pothos::RemoteHandler Class Reference

#include <Handler.hpp>

Public Member Functions

 RemoteHandler (void)
 Make a new handler. More...
 
 RemoteHandler (const std::string &peerAddr)
 Make a new handler given the peer address. More...
 
void runHandler (std::istream &is, std::ostream &os)
 
void runHandler (std::iostream &io)
 
bool runHandlerOnce (std::istream &is, std::ostream &os)
 

Detailed Description

A server handler runs the Proxy service over an iostream.

Constructor & Destructor Documentation

◆ RemoteHandler() [1/2]

Pothos::RemoteHandler::RemoteHandler ( void  )

Make a new handler.

◆ RemoteHandler() [2/2]

Pothos::RemoteHandler::RemoteHandler ( const std::string &  peerAddr)

Make a new handler given the peer address.

Member Function Documentation

◆ runHandler() [1/2]

void Pothos::RemoteHandler::runHandler ( std::istream &  is,
std::ostream &  os 
)

Run a handler for a remote proxy that is interfaced over an iostream. This call blocks until the client's remote environment session destructs.

◆ runHandler() [2/2]

void Pothos::RemoteHandler::runHandler ( std::iostream &  io)

Run a handler for a remote proxy that is interfaced over an iostream. This call blocks until the client's remote environment session destructs.

◆ runHandlerOnce()

bool Pothos::RemoteHandler::runHandlerOnce ( std::istream &  is,
std::ostream &  os 
)

Run the handler for a single request/response transaction.

Returns
done true when the client shuts-down the environment

The documentation for this class was generated from the following file: