#include <ICPlog.h>
Public Member Functions | |
ICPlog (ICPPeerReadCont::PeerReadData *s) | |
~ICPlog () | |
ink_hrtime | GetElapsedTime () |
sockaddr const * | GetClientIP () |
in_port_t | GetClientPort () |
SquidLogCode | GetAction () |
const char * | GetCode () |
int | GetSize () |
const char * | GetMethod () |
const char * | GetURI () |
const char * | GetIdent () |
SquidHierarchyCode | GetHierarchy () |
const char * | GetFromHost () |
const char * | GetContentType () |
Definition at line 43 of file ICPlog.h.
ICPlog::ICPlog | ( | ICPPeerReadCont::PeerReadData * | s | ) | [inline] |
SquidLogCode ICPlog::GetAction | ( | ) |
Definition at line 1296 of file ICPConfig.cc.
References ICPPeerReadCont::PeerReadData::_queryResult, and CACHE_EVENT_LOOKUP.
Referenced by LogAccessICP::marshal_cache_result_code().
sockaddr const * ICPlog::GetClientIP | ( | ) |
Definition at line 1285 of file ICPConfig.cc.
References ICPPeerReadCont::PeerReadData::_sender, and IpEndpoint::sa.
Referenced by LogAccessICP::marshal_client_host_ip().
in_port_t ICPlog::GetClientPort | ( | ) |
Definition at line 1291 of file ICPConfig.cc.
References ICPPeerReadCont::PeerReadData::_sender, and IpEndpoint::port().
Referenced by LogAccessICP::marshal_client_host_port().
const char * ICPlog::GetCode | ( | ) |
Definition at line 1305 of file ICPConfig.cc.
const char * ICPlog::GetContentType | ( | ) |
Definition at line 1349 of file ICPConfig.cc.
Referenced by LogAccessICP::marshal_proxy_resp_content_type().
ink_hrtime ICPlog::GetElapsedTime | ( | ) |
Definition at line 1279 of file ICPConfig.cc.
References ICPPeerReadCont::PeerReadData::_start_time, and ink_get_hrtime().
Referenced by LogAccessICP::marshal_transfer_time_ms(), and LogAccessICP::marshal_transfer_time_s().
const char * ICPlog::GetFromHost | ( | ) |
Definition at line 1342 of file ICPConfig.cc.
Referenced by LogAccessICP::marshal_server_host_name().
SquidHierarchyCode ICPlog::GetHierarchy | ( | ) |
Definition at line 1336 of file ICPConfig.cc.
Referenced by LogAccessICP::marshal_proxy_hierarchy_route().
const char * ICPlog::GetIdent | ( | ) |
Definition at line 1330 of file ICPConfig.cc.
Referenced by LogAccessICP::marshal_client_auth_user_name().
const char * ICPlog::GetMethod | ( | ) |
Definition at line 1318 of file ICPConfig.cc.
Referenced by LogAccessICP::marshal_client_req_http_method().
int ICPlog::GetSize | ( | ) |
Definition at line 1312 of file ICPConfig.cc.
References ICPPeerReadCont::PeerReadData::_rICPmsg, ICPMsg::h, and ICPMsgHeader::msglen.
Referenced by LogAccessICP::marshal_proxy_resp_content_len(), and LogAccessICP::marshal_proxy_resp_squid_len().
const char * ICPlog::GetURI | ( | ) |
Definition at line 1324 of file ICPConfig.cc.
References ICPPeerReadCont::PeerReadData::_rICPmsg, ICPMsg::query, ICPMsg::un, and ICPQuery::URL.
Referenced by LogAccessICP::marshal_client_req_url(), and LogAccessICP::marshal_client_req_url_canon().