|
buffer | compressPayload (CompressionMode &mode, const buffer &raw, int speed) |
|
buffer | compressPayload (CompressionMode &mode, const char *raw, size_t size, int speed) |
|
buffer | compressPayload (CompressionMode mode, Message &msg, buffer &raw, int speed) |
|
buffer | decompressPayload (CompressionMode mode, size_t size, size_t rawsize, buffer &compressed) |
|
buffer | decompressPayload (CompressionMode mode, size_t size, size_t rawsize, const char *compressed) |
|
buffer | decompressPayload (const Message &msg, buffer &compressed) |
|
| DEFINE_ENUM_WITH_STRING_CONVERSIONS (CompressionMode,(CompressionNone)(CompressionLz4)(CompressionZstd)(CompressionSnappy)) DEFINE_ENUM_WITH_STRING_CONVERSIONS(Type |
|
| INVALID (ANY)(IDENTIFY)(CLOSECONNECTION)(ADDHUB)(REMOVEHUB)(SETID)(TRACE)(SPAWN)(SPAWNPREPARED)(KILL)(DEBUG)(QUIT)(STARTED)(MODULEEXIT)(BUSY)(IDLE)(EXECUTIONPROGRESS)(EXECUTE)(CANCELEXECUTE)(ADDOBJECT)(ADDOBJECTCOMPLETED)(DATATRANSFERSTATE)(ADDPORT)(REMOVEPORT)(CONNECT)(DISCONNECT)(ADDPARAMETER)(REMOVEPARAMETER)(SETPARAMETER)(SETPARAMETERCHOICES)(PING)(PONG)(BARRIER)(BARRIERREACHED)(SENDTEXT)(UPDATESTATUS)(OBJECTRECEIVEPOLICY)(SCHEDULINGPOLICY)(REDUCEPOLICY)(MODULEAVAILABLE)(CREATEMODULECOMPOUND)(LOCKUI)(REPLAYFINISHED)(REQUESTTUNNEL)(REQUESTOBJECT)(SENDOBJECT)(REMOTERENDERING)(FILEQUERY)(FILEQUERYRESULT)(COVER)(INSITU)(NumMessageTypes)) struct V_COREEXPORT Id |
|
V_COREEXPORT buffer | compressPayload (vistle::message::CompressionMode &mode, const char *raw, size_t size, int speed=-1) |
|
V_COREEXPORT buffer | compressPayload (vistle::message::CompressionMode &mode, const buffer &raw, int speed=-1) |
|
V_COREEXPORT buffer | compressPayload (vistle::message::CompressionMode mode, Message &msg, buffer &raw, int speed=-1) |
|
V_COREEXPORT buffer | decompressPayload (vistle::message::CompressionMode mode, size_t size, size_t rawsize, buffer &compressed) |
|
V_COREEXPORT std::ostream & | operator<< (std::ostream &s, const Message &msg) |
|
buffer | addPayload (Message &message, const Payload &payload) |
|
void | getFromPayload (const buffer &data, Payload &payload) |
|
Payload | getPayload (const buffer &data) |
|
static T | min (T a, T b) |
|
template V_COREEXPORT buffer | addPayload< std::string > (Message &message, const std::string &payload) |
|
template V_COREEXPORT buffer | addPayload< SendText::Payload > (Message &message, const SendText::Payload &payload) |
|
template V_COREEXPORT buffer | addPayload< SetParameterChoices::Payload > (Message &message, const SetParameterChoices::Payload &payload) |
|
void | return_buffer (std::shared_ptr< buffer > &buf) |
|
std::shared_ptr< buffer > | get_buffer (size_t size) |
|
bool | recv_payload (socket_t &sock, message::Buffer &msg, error_code &ec, buffer *payload) |
|
bool | recv_message (socket_t &sock, message::Buffer &msg, error_code &ec, bool block) |
|
bool | recv (socket_t &sock, message::Buffer &msg, error_code &ec, bool block, buffer *payload) |
|
void | async_recv (socket_t &sock, message::Buffer &msg, std::function< void(boost::system::error_code ec, std::shared_ptr< buffer >)> handler) |
|
void | async_recv_header (socket_t &sock, message::Buffer &msg, std::function< void(boost::system::error_code ec)> handler) |
|
bool | send (socket_t &sock, const message::Message &msg, error_code &ec, const char *payload, size_t size) |
|
bool | send (socket_t &sock, const message::Message &msg, error_code &ec, const buffer *payload) |
|
bool | send (socket_t &sock, const Message &msg, const buffer *payload) |
|
void | async_send (socket_t &sock, const message::Message &msg, std::shared_ptr< buffer > payload, const std::function< void(error_code ec)> handler) |
|
void | async_send (socket_t &sock, const message::Message &msg, const MessagePayload &payload, const std::function< void(error_code ec)> handler) |
|
void | async_forward (socket_t &sock, const message::Message &msg, std::shared_ptr< socket_t > payloadSock, const std::function< void(error_code ec)> handler) |
|
void V_COREEXPORT | async_recv (socket_t &sock, vistle::message::Buffer &msg, std::function< void(error_code, std::shared_ptr< buffer >)> handler) |
|
void V_COREEXPORT | async_recv_header (socket_t &sock, vistle::message::Buffer &msg, std::function< void(error_code)> handler) |
|