|
OpenSDN source code
|
#include <crypt_tunnel.h>


Public Types | |
| typedef InstanceTaskExecvp | CryptTunnelProcessTunnel |
Public Types inherited from CryptTunnelTaskBase | |
| enum | CommandType { CREATE_TUNNEL = 0 , UPDATE_TUNNEL , MONITOR_TUNNEL , DELETE_TUNNEL } |
Public Member Functions | |
| CryptTunnelTask (CryptTunnelEntry *entry) | |
| virtual | ~CryptTunnelTask () |
| virtual bool | CreateTunnelTask () |
| virtual bool | DestroyTunnelTask () |
| virtual bool | RunTunnelTask (CommandType cmd_type) |
| virtual bool | StopTunnelTask () |
| virtual bool | IsRunning () const |
Public Member Functions inherited from CryptTunnelTaskBase | |
| CryptTunnelTaskBase (CryptTunnelEntry *entry) | |
| virtual | ~CryptTunnelTaskBase () |
| virtual bool | UpdateTunnelTask () |
| void | OnRead (const std::string &data) |
| void | OnExit (const boost::system::error_code &ec) |
| void | SetTunnelEntry (CryptTunnelEntry *entry) |
| void | StopTask (CryptTunnelEntry *service) |
| void | UpdateTunnel (const CryptTunnelEntry *entry, bool available) const |
| void | set_tunnel_entry (CryptTunnelEntry *entry) |
| std::string | to_string () |
| bool | active () |
| CryptTunnelEntry * | entry () const |
| const std::string & | last_update_time () const |
Static Public Attributes | |
| static const std::string | kCryptTunnelCmd |
Private Member Functions | |
| void | UpdateTunnelTaskCommand (CommandType cmd_type) |
| DISALLOW_COPY_AND_ASSIGN (CryptTunnelTask) | |
Private Attributes | |
| boost::scoped_ptr< CryptTunnelProcessTunnel > | task_ |
Friends | |
| class | CryptTunnelTable |
Additional Inherited Members | |
Protected Attributes inherited from CryptTunnelTaskBase | |
| CryptTunnelEntryRef | entry_ |
| bool | active_ |
| std::string | last_update_time_ |
| bool | deleted_ |
Definition at line 215 of file crypt_tunnel.h.
Definition at line 217 of file crypt_tunnel.h.
| CryptTunnelTask::CryptTunnelTask | ( | CryptTunnelEntry * | entry | ) |
Definition at line 370 of file crypt_tunnel.cc.
|
virtual |
Definition at line 375 of file crypt_tunnel.cc.
|
virtual |
Implements CryptTunnelTaskBase.
Definition at line 378 of file crypt_tunnel.cc.

|
virtual |
Implements CryptTunnelTaskBase.
Definition at line 402 of file crypt_tunnel.cc.

|
private |
|
virtual |
Reimplemented from CryptTunnelTaskBase.
Definition at line 467 of file crypt_tunnel.cc.
|
virtual |
Implements CryptTunnelTaskBase.
Definition at line 418 of file crypt_tunnel.cc.

|
virtual |
Implements CryptTunnelTaskBase.
Definition at line 423 of file crypt_tunnel.cc.
|
private |
|
friend |
Definition at line 230 of file crypt_tunnel.h.
|
static |
Definition at line 218 of file crypt_tunnel.h.
|
private |
Definition at line 234 of file crypt_tunnel.h.