Chatsync  bbffde5c0c672a526bdc83637acf66dc20a80fbf
channeling Namespace Reference

Namespaces

 net
 

Data Structures

class  activate_error
 
class  Channel
 
class  channel_error
 
class  ChannelCreator
 
class  ChannelCreatorImpl
 
class  ChannelFactory
 
class  connection_error
 

Enumerations

enum  ChannelDirection { ChannelDirection::Input, ChannelDirection::Output, ChannelDirection::Bidirectional }
 

Functions

Channeloperator>> (const message_ptr msg, Channel &channel)
 

Variables

static const std::vector< std::string > ChannelDirectionName
 

Enumeration Type Documentation

§ ChannelDirection

Channel direction

Enumerator
Input 

Receive data

Output 

Transmit data

Bidirectional 

Receive and transmit data

Function Documentation

§ operator>>()

Channel& channeling::operator>> ( const message_ptr  msg,
Channel channel 
)

Operator >> is used to push data into output channels

Example:

"Line" >> *output;
Exceptions
std::logic_erroron writing to input channel

Variable Documentation

§ ChannelDirectionName

const std::vector<std::string> channeling::ChannelDirectionName
static
Initial value:
= {
"input",
"output",
"bidirectional"
}