Open Lighting Architecture  0.10.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Friends | List of all members
ola::rpc::RpcPeer Class Reference

Public Member Functions

 RpcPeer (const ola::network::GenericSocketAddress &socket_addr)
 
const
ola::network::GenericSocketAddress
SocketAddress () const
 
RpcPeeroperator= (const RpcPeer &other)
 Assignment operator.
 
std::string ToString () const
 Convert a peer to a human readable string. More...
 

Friends

ostream & operator<< (ostream &out, const RpcPeer &peer)
 A helper function to write an RpcPeer to an ostream. More...
 

Member Function Documentation

std::string ola::rpc::RpcPeer::ToString ( ) const
inline

Convert a peer to a human readable string.

Returns
a string representation of the peer.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
const RpcPeer peer 
)
friend

A helper function to write an RpcPeer to an ostream.

Parameters
outthe ostream
peerthe RpcPeer to write.

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