Workspace 6.21.5
|
Identifies a running Workspace client process by the host / port that it is connected on.
#include <Workspace/Application/Web/workspaceweb_c.h>
Public Member Functions | |
WorkspaceId () | |
WorkspaceId (const QString &client_host, int client_port, int server_port) | |
WorkspaceId (const WorkspaceId &other) | |
WorkspaceId & | operator= (const WorkspaceId &rhs) |
bool | operator== (const WorkspaceId &rhs) const |
Public Attributes | |
char | host [WORKSPACE_MAX_HOST_LEN] {} |
int | key |
int | port |
|
inline |
WorkspaceId | ( | const QString & | client_host, |
int | client_port, | ||
int | server_port | ||
) |
WorkspaceId | ( | const WorkspaceId & | other | ) |
WorkspaceId & operator= | ( | const WorkspaceId & | rhs | ) |
bool operator== | ( | const WorkspaceId & | rhs | ) | const |
We define the assignment operator so that WorkspaceId's can be compared in the case of any hash collisions.
char host[WORKSPACE_MAX_HOST_LEN] {} |
int key |
int port |