mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Problem: formatting inconsistent
Solution: applied clang-format
This commit is contained in:
@@ -36,36 +36,32 @@
|
||||
|
||||
namespace zmq
|
||||
{
|
||||
class msg_t;
|
||||
class session_base_t;
|
||||
|
||||
class msg_t;
|
||||
class session_base_t;
|
||||
class plain_server_t : public zap_client_common_handshake_t
|
||||
{
|
||||
public:
|
||||
plain_server_t (session_base_t *session_,
|
||||
const std::string &peer_address_,
|
||||
const options_t &options_);
|
||||
virtual ~plain_server_t ();
|
||||
|
||||
class plain_server_t : public zap_client_common_handshake_t
|
||||
{
|
||||
public:
|
||||
// mechanism implementation
|
||||
virtual int next_handshake_command (msg_t *msg_);
|
||||
virtual int process_handshake_command (msg_t *msg_);
|
||||
|
||||
plain_server_t (session_base_t *session_,
|
||||
const std::string &peer_address_,
|
||||
const options_t &options_);
|
||||
virtual ~plain_server_t ();
|
||||
private:
|
||||
int produce_welcome (msg_t *msg_) const;
|
||||
int produce_ready (msg_t *msg_) const;
|
||||
int produce_error (msg_t *msg_) const;
|
||||
|
||||
// mechanism implementation
|
||||
virtual int next_handshake_command (msg_t *msg_);
|
||||
virtual int process_handshake_command (msg_t *msg_);
|
||||
|
||||
private:
|
||||
|
||||
int produce_welcome (msg_t *msg_) const;
|
||||
int produce_ready (msg_t *msg_) const;
|
||||
int produce_error (msg_t *msg_) const;
|
||||
|
||||
int process_hello (msg_t *msg_);
|
||||
int process_initiate (msg_t *msg_);
|
||||
|
||||
void send_zap_request (const std::string &username,
|
||||
const std::string &password);
|
||||
};
|
||||
int process_hello (msg_t *msg_);
|
||||
int process_initiate (msg_t *msg_);
|
||||
|
||||
void send_zap_request (const std::string &username,
|
||||
const std::string &password);
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user