diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-04-01 23:51:33 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-04-01 23:51:33 +0900 |
| commit | 26972b85359a4ab1f00545c9082a6c1b7d5a2593 (patch) | |
| tree | 37c4d9c264e6281424137af235d0cef74b448bdb /src/AbstractProxyRequestCommand.h | |
| parent | cf23e3e11dfc7abfd4b95c5ce200404113cbe8e8 (diff) | |
Rewrite backup connection handling
Now dedicated ConnectCommand handles connection establishment. It
checks whether connection is established or not. It also handles
backup connection. The next Command creation is abstracted using
ControlChain struct template.
Diffstat (limited to 'src/AbstractProxyRequestCommand.h')
| -rw-r--r-- | src/AbstractProxyRequestCommand.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/AbstractProxyRequestCommand.h b/src/AbstractProxyRequestCommand.h index ed863e14..6948867a 100644 --- a/src/AbstractProxyRequestCommand.h +++ b/src/AbstractProxyRequestCommand.h @@ -41,18 +41,14 @@ namespace aria2 { class HttpConnection; class SocketCore; -class BackupConnectInfo; class AbstractProxyRequestCommand : public AbstractCommand { private: SharedHandle<Request> proxyRequest_; SharedHandle<HttpConnection> httpConnection_; - - SharedHandle<BackupConnectInfo> backupConnectionInfo_; protected: virtual bool executeInternal(); - virtual bool noCheck(); const SharedHandle<HttpConnection>& getHttpConnection() const { @@ -75,8 +71,6 @@ public: virtual ~AbstractProxyRequestCommand(); virtual Command* getNextCommand() = 0; - virtual Command* createSelf(const SharedHandle<SocketCore>& socket) = 0; - void setBackupConnectInfo(const SharedHandle<BackupConnectInfo>& info); }; } // namespace aria2 |
