Open Lighting Architecture  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 UID to a human readable string.

Friends

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

Member Function Documentation

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

Convert a UID to a human readable string.

Returns
a string in the form XXXX:YYYYYYYY.

Friends And Related Function Documentation

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

A helper function to write a UID to an ostream.

Parameters
outthe ostream
peerthe RpcPeer to write.

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