View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Namespaces | Typedefs | Functions
tcpmessage.h File Reference
#include <boost/asio/ip/tcp.hpp>
#include <vistle/util/buffer.h>
#include "messagepayload.h"
#include "export.h"
Include dependency graph for tcpmessage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vistle
 
namespace  vistle::message
 

Typedefs

typedef boost::asio::ip::tcp::socket vistle::message::socket_t
 

Functions

bool vistle::message::send (socket_t &sock, const Message &msg, const buffer *payload)
 
bool vistle::message::send (socket_t &sock, const message::Message &msg, error_code &ec, const buffer *payload)
 
bool vistle::message::send (socket_t &sock, const message::Message &msg, error_code &ec, const char *payload, size_t size)
 
void vistle::message::async_send (socket_t &sock, const message::Message &msg, std::shared_ptr< buffer > payload, const std::function< void(error_code ec)> handler)
 
void vistle::message::async_send (socket_t &sock, const message::Message &msg, const MessagePayload &payload, const std::function< void(error_code ec)> handler)
 
void vistle::message::async_forward (socket_t &sock, const message::Message &msg, std::shared_ptr< socket_t > payloadSock, const std::function< void(error_code ec)> handler)
 
bool vistle::message::recv (socket_t &sock, message::Buffer &msg, error_code &ec, bool block, buffer *payload)
 
bool vistle::message::recv_message (socket_t &sock, message::Buffer &msg, error_code &ec, bool block)
 
void V_COREEXPORT vistle::message::async_recv (socket_t &sock, vistle::message::Buffer &msg, std::function< void(error_code, std::shared_ptr< buffer >)> handler)
 
void V_COREEXPORT vistle::message::async_recv_header (socket_t &sock, vistle::message::Buffer &msg, std::function< void(error_code)> handler)
 
void vistle::message::return_buffer (std::shared_ptr< buffer > &buf)
 
std::shared_ptr< buffer > vistle::message::get_buffer (size_t size)