Public Member Functions | Static Public Member Functions | Data Fields | Friends

PluginVCCore Class Reference

#include <PluginVC.h>

Inherits Continuation.

Collaboration diagram for PluginVCCore:
Collaboration graph
[legend]

Public Member Functions

 PluginVCCore ()
 ~PluginVCCore ()
void init ()
void set_accept_cont (Continuation *c)
int state_send_accept (int event, void *data)
int state_send_accept_failed (int event, void *data)
void attempt_delete ()
PluginVCconnect ()
Actionconnect_re (Continuation *c)
void kill_no_connect ()
void set_active_addr (in_addr_t ip, int port)
 Set the active address.
void set_active_addr (sockaddr const *ip)
 Set the active address and port.
void set_passive_addr (in_addr_t ip, int port)
 Set the passive address.
void set_passive_addr (sockaddr const *ip)
 Set the passive address.
void set_active_data (void *data)
void set_passive_data (void *data)
void set_transparent (bool passive_side, bool active_side)
void set_plugin_id (int64_t id)
 Set the plugin ID for the internal VCs.
void set_plugin_tag (char const *tag)
 Set the plugin tag for the internal VCs.

Static Public Member Functions

static PluginVCCorealloc ()

Data Fields

PluginVC active_vc
PluginVC passive_vc

Friends

class PluginVC

Detailed Description

Definition at line 173 of file PluginVC.h.


Constructor & Destructor Documentation

PluginVCCore::PluginVCCore (  )  [inline]

Definition at line 251 of file PluginVC.h.

PluginVCCore::~PluginVCCore (  ) 

Definition at line 978 of file PluginVC.cc.


Member Function Documentation

PluginVCCore * PluginVCCore::alloc (  )  [static]
void PluginVCCore::attempt_delete (  ) 

Definition at line 1134 of file PluginVC.cc.

References active_vc, EVENT_IMMEDIATE, passive_vc, and state_send_accept_failed().

PluginVC * PluginVCCore::connect (  ) 
Action * PluginVCCore::connect_re ( Continuation c  ) 
void PluginVCCore::init ( void   ) 
void PluginVCCore::kill_no_connect (  ) 

Definition at line 1152 of file PluginVC.cc.

References active_vc, PluginVC::do_io_close(), and ink_assert.

Referenced by HttpSM::kill_this().

void PluginVCCore::set_accept_cont ( Continuation c  ) 
void PluginVCCore::set_active_addr ( in_addr_t  ip,
int  port 
)

Set the active address.

Parameters:
ip IPv4 address in host order.
port IP Port in host order.

Definition at line 1172 of file PluginVC.cc.

References ats_ip4_set().

Referenced by TSHttpConnectTransparent(), and TSHttpConnectWithPluginId().

void PluginVCCore::set_active_addr ( sockaddr const *  ip  ) 

Set the active address and port.

Parameters:
ip Address and port used.

Definition at line 1178 of file PluginVC.cc.

References IpEndpoint::assign().

void PluginVCCore::set_active_data ( void *  data  ) 

Definition at line 1190 of file PluginVC.cc.

void PluginVCCore::set_passive_addr ( in_addr_t  ip,
int  port 
)

Set the passive address.

Parameters:
ip IPv4 address in host order.
port IP port in host order.

Definition at line 1160 of file PluginVC.cc.

References ats_ip4_set().

Referenced by TSHttpConnectTransparent().

void PluginVCCore::set_passive_addr ( sockaddr const *  ip  ) 

Set the passive address.

Parameters:
ip Address and port.

Definition at line 1166 of file PluginVC.cc.

References IpEndpoint::assign().

void PluginVCCore::set_passive_data ( void *  data  ) 

Definition at line 1184 of file PluginVC.cc.

void PluginVCCore::set_plugin_id ( int64_t  id  ) 

Set the plugin ID for the internal VCs.

Definition at line 1203 of file PluginVC.cc.

References active_vc, and passive_vc.

Referenced by TSHttpConnectWithPluginId().

void PluginVCCore::set_plugin_tag ( char const *  tag  ) 

Set the plugin tag for the internal VCs.

Definition at line 1209 of file PluginVC.cc.

References active_vc, and passive_vc.

Referenced by TSHttpConnectWithPluginId().

void PluginVCCore::set_transparent ( bool  passive_side,
bool  active_side 
)

Definition at line 1196 of file PluginVC.cc.

References active_vc, passive_vc, and NetVConnection::set_is_transparent().

Referenced by TSHttpConnectTransparent().

int PluginVCCore::state_send_accept ( int  event,
void *  data 
)
int PluginVCCore::state_send_accept_failed ( int  event,
void *  data 
)

Friends And Related Function Documentation

friend class PluginVC [friend]

Definition at line 175 of file PluginVC.h.


Field Documentation


The documentation for this class was generated from the following files: