21 #ifndef COMMON_RPC_RPCPEER_H_
22 #define COMMON_RPC_RPCPEER_H_
34 : m_socket_addr(socket_addr) {
46 m_socket_addr = other.m_socket_addr;
56 return m_socket_addr.ToString();
74 #endif // COMMON_RPC_RPCPEER_H_
Represents Socket Addresses.
std::string ToString() const
Convert a peer to a human readable string.
Definition: RpcPeer.h:55
friend ostream & operator<<(ostream &out, const RpcPeer &peer)
A helper function to write an RpcPeer to an ostream.
Definition: RpcPeer.h:64
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
RpcPeer & operator=(const RpcPeer &other)
Assignment operator.
Definition: RpcPeer.h:44
a Generic Socket Address
Definition: SocketAddress.h:165