REC RPC library
|
RPC client info. More...
#include <rec_rpc_ClientInfo.h>
Public Member Functions | |
ClientInfo () | |
Default constructor. More... | |
ClientInfo (const QHostAddress &address_, const int port_, const QString &name_=QString::null) | |
Constructor with initializations. More... | |
ClientInfo (const ClientInfo &other) | |
Copy constructor. More... | |
ClientInfo & | operator= (const ClientInfo &other) |
Assignment operator. More... | |
bool | isNull () const |
Null check. More... | |
bool | isLocal () const |
Check if client it connected via local socket. More... | |
void | clear () |
Clear all data. More... | |
bool | operator== (const ClientInfo &other) const |
Equality test. More... | |
bool | operator!= (const ClientInfo &other) const |
Unequality test. More... | |
QString | toString () const |
Public Attributes | |
QHostAddress | address |
Client's network address. More... | |
int | port |
Client's TCP port. More... | |
QString | name |
Name (can be empty) More... | |
RPC client info.
Class that stores information about RPC clients.
Definition at line 46 of file rec_rpc_ClientInfo.h.
|
inline |
Default constructor.
Definition at line 50 of file rec_rpc_ClientInfo.h.
|
inline |
Constructor with initializations.
Definition at line 62 of file rec_rpc_ClientInfo.h.
|
inline |
Copy constructor.
other | ClientInfo to copy |
Definition at line 74 of file rec_rpc_ClientInfo.h.
|
inline |
Clear all data.
Definition at line 115 of file rec_rpc_ClientInfo.h.
|
inline |
Check if client it connected via local socket.
Definition at line 109 of file rec_rpc_ClientInfo.h.
|
inline |
Null check.
Definition at line 99 of file rec_rpc_ClientInfo.h.
References port.
|
inline |
Unequality test.
other | Other ClientInfo to compare with |
Definition at line 144 of file rec_rpc_ClientInfo.h.
|
inline |
Assignment operator.
other | ClientInfo to copy |
Definition at line 86 of file rec_rpc_ClientInfo.h.
|
inline |
Equality test.
other | Other ClientInfo to compare with |
Definition at line 128 of file rec_rpc_ClientInfo.h.
|
inline |
Definition at line 154 of file rec_rpc_ClientInfo.h.
QHostAddress rec::rpc::ClientInfo::address |
Client's network address.
Definition at line 162 of file rec_rpc_ClientInfo.h.
Referenced by clear(), isLocal(), operator!=(), operator=(), operator==(), and toString().
QString rec::rpc::ClientInfo::name |
Name (can be empty)
Definition at line 166 of file rec_rpc_ClientInfo.h.
Referenced by clear(), operator=(), and toString().
int rec::rpc::ClientInfo::port |
Client's TCP port.
Definition at line 164 of file rec_rpc_ClientInfo.h.
Referenced by clear(), isLocal(), isNull(), operator!=(), operator=(), operator==(), and toString().