Definition at line 61 of file LavcProtocolImpl.h. References CreateIOBuffer(), ILOG_DEBUG, LavcProtocolImpl(), and Impala::Util::IOBuffer::Valid(). 00062 { 00063 ILOG_DEBUG("OpenTarget: url = " << url); 00064 String urlStr = url; 00065 int protocolLastPos = urlStr.find_first_of(':'); 00066 String protocol = urlStr.substr(0, protocolLastPos + 1); 00067 String target = urlStr.substr(protocolLastPos + 1); 00068 ILOG_DEBUG("OpenTarget: target = " << target); 00069 Util::IOBuffer* ioBuf = this->CreateIOBuffer(target); 00070 if (!ioBuf->Valid()) 00071 { 00072 delete ioBuf; 00073 return -1; 00074 } 00075 00076 h->priv_data = (void*) new LavcProtocolImpl(ioBuf); 00077 return 0; 00078 }
Here is the call graph for this function:
|