Open Lighting Architecture  Latest Git
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::GenericSocketAddressSocketAddress () 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

◆ ToString()

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

◆ operator<<

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: