Pothos  0.3.3-g32d3017c
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
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

Pothos::RemoteHandler::RemoteHandler ( void  )

Make a new handler.

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

Make a new handler given the peer address.

Member Function Documentation

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.

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.

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: