Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
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.
 

Friends

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

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 Symbol 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: