Changeset 28 in cheroxy for trunk/src/CRXProxy.cpp
- Timestamp:
- 11/16/12 13:07:05 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CRXProxy.cpp
r24 r28 7 7 #include <string.h> 8 8 9 CRXFilter CRXProxy::mFilter; 10 9 11 CRXProxy::CRXProxy (void) 10 : mClient (0), 12 : mIsIntercepted (false), 13 mClient (0), 11 14 mServer (0) 12 15 { … … 59 62 } 60 63 61 int 62 CRXProxy::GetStatus (void) 63 { 64 /*----------------------------------------------------------------*/ 65 /*----------------------------------------------------------------*/ 66 67 return mProxyStatus; 64 void 65 CRXProxy::SetRequestFilter (const E_CRX_FILTER_REQUEST aType, 66 const bool aIsMatched, 67 const std::string aValue) 68 { 69 /*----------------------------------------------------------------*/ 70 mFilter.SetRequestFilter (aType, aIsMatched, aValue); 71 /*----------------------------------------------------------------*/ 72 } 73 74 void 75 CRXProxy::RemoveRequestFilter (const E_CRX_FILTER_REQUEST aType) 76 { 77 /*----------------------------------------------------------------*/ 78 mFilter.RemoveRequestFilter (aType); 79 /*----------------------------------------------------------------*/ 80 } 81 82 bool 83 CRXProxy::CheckRequestFilter (const E_CRX_FILTER_REQUEST aType) 84 { 85 /*----------------------------------------------------------------*/ 86 /*----------------------------------------------------------------*/ 87 88 return mFilter.CheckRequestFilter (aType, this->mHttpRequest); 68 89 } 69 90
Note:
See TracChangeset
for help on using the changeset viewer.