Open Lighting Architecture: ola::rpc::RpcPeer Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
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
RpcPeer & | operator= (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

  out | the ostream
  peer | the RpcPeer to write.

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

- common/rpc/RpcPeer.h