#include <MessageServer.h>

Public Member Functions | |
| string | name () |
| Returns a string representation for this client context. | |
| void | requireRights (Account::Rights rights) |
Checks whether this client has all of the rights in rights. | |
Public Attributes | |
| FileDescriptor | fd |
| The client's socket file descriptor. | |
| MessageChannel | channel |
| The channel that's associated with the client's socket. | |
| AccountPtr | account |
| The account with which the client authenticated. | |
| string Passenger::MessageServer::MessageServer::CommonClientContext::name | ( | ) | [inline] |
Returns a string representation for this client context.
| void Passenger::MessageServer::MessageServer::CommonClientContext::requireRights | ( | Account::Rights | rights | ) | [inline] |
Checks whether this client has all of the rights in rights.
The client will be notified about the result of this check, by sending it a message.
| SecurityException | The client doesn't have one of the required rights. | |
| SystemException | Something went wrong while communicating with the client. | |
| boost::thread_interrupted |
| AccountPtr Passenger::MessageServer::MessageServer::CommonClientContext::account |
The account with which the client authenticated.
| MessageChannel Passenger::MessageServer::MessageServer::CommonClientContext::channel |
The channel that's associated with the client's socket.
| FileDescriptor Passenger::MessageServer::MessageServer::CommonClientContext::fd |
The client's socket file descriptor.
1.5.8