diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/ReceiverMSEHandshakeCommand.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/ReceiverMSEHandshakeCommand.h')
| -rw-r--r-- | src/ReceiverMSEHandshakeCommand.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ReceiverMSEHandshakeCommand.h b/src/ReceiverMSEHandshakeCommand.h index 98857a2b..09d77f72 100644 --- a/src/ReceiverMSEHandshakeCommand.h +++ b/src/ReceiverMSEHandshakeCommand.h @@ -43,8 +43,7 @@ class MSEHandshake; class SocketCore; class Peer; -class ReceiverMSEHandshakeCommand:public PeerAbstractCommand -{ +class ReceiverMSEHandshakeCommand : public PeerAbstractCommand { public: enum Seq { RECEIVER_IDENTIFY_HANDSHAKE, @@ -57,18 +56,20 @@ public: RECEIVER_RECEIVE_IA, RECEIVER_SEND_STEP2_PENDING, }; + private: Seq sequence_; std::unique_ptr<MSEHandshake> mseHandshake_; void createCommand(); + protected: virtual bool executeInternal() CXX11_OVERRIDE; virtual bool exitBeforeExecute() CXX11_OVERRIDE; + public: - ReceiverMSEHandshakeCommand(cuid_t cuid, - const std::shared_ptr<Peer>& peer, + ReceiverMSEHandshakeCommand(cuid_t cuid, const std::shared_ptr<Peer>& peer, DownloadEngine* e, const std::shared_ptr<SocketCore>& s); |
