NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include "ncbi_ansi_ext.h"
#include "ncbi_conn_streambuf.hpp"
#include "ncbi_priv.h"
#include "ncbi_servicep.h"
#include "ncbi_socketp.h"
#include <connect/error_codes.hpp>
#include <connect/ncbi_conn_exception.hpp>
#include <connect/ncbi_conn_stream.hpp>
#include <connect/ncbi_file_connector.h>
#include <stdlib.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | Deleter< SConnNetInfo > |
class | CConn_FileStream |
Macros | |
#define | NCBI_USE_ERRCODE_X Connect_Stream |
#define | GET_CONN(sb) ((sb) ? (sb)->GetCONN() : 0) |
Typedefs | |
typedef AutoPtr< char, CDeleter< char > > | TTempCharPtr |
#define GET_CONN | ( | sb | ) | ((sb) ? (sb)->GetCONN() : 0) |
Definition at line 93 of file ncbi_conn_stream.cpp.
#define NCBI_USE_ERRCODE_X Connect_Stream |
Definition at line 47 of file ncbi_conn_stream.cpp.
typedef AutoPtr< char, CDeleter<char> > TTempCharPtr |
Definition at line 56 of file ncbi_conn_stream.cpp.
|
static |
Definition at line 1214 of file ncbi_conn_stream.cpp.
References ConnNetInfo_Clone(), ConnNetInfo_Destroy(), SFTP_Callback::data, eUnknown, FTP_CreateConnector(), FTP_CreateConnectorSimple(), SFTP_Callback::func, kDefaultTimeout, NCBI_THROW, and SConnNetInfo::timeout.
Definition at line 338 of file ncbi_conn_stream.cpp.
References eCopyTimeoutsFromSOCK, eNoOwnership, CSocket::GetSOCK(), NCBI_THROW, CSocket::Reset(), and CSocket::SetOwnership().
|
static |
Definition at line 527 of file ncbi_conn_stream.cpp.
References ConnNetInfo_Clone(), ConnNetInfo_CreateInternal(), ConnNetInfo_OverrideUserHeader(), ConnNetInfo_ParseURL(), ConnNetInfo_SetArgs(), ConnNetInfo_SetPath(), eNoOwnership, eReqMethod_Connect, eReqMethod_v1, eTakeOwnership, eUnknown, AutoPtr< X, Del >::get(), HTTP_CreateConnectorEx(), kDefaultTimeout, len, NCBI_THROW, and NcbiMessagePlusError().
|
static |
Definition at line 1153 of file ncbi_conn_stream.cpp.
References cmd, eNoOwnership, and PIPE_CreateConnector().
|
static |
Definition at line 848 of file ncbi_conn_stream.cpp.
References _ASSERT, SSERVICE_Extra::adjust, SSERVICE_Extra::cleanup, ConnNetInfo_Clone(), ConnNetInfo_Create(), ConnNetInfo_OverrideUserHeader(), SSERVICE_Extra::data, eNoOwnership, eTakeOwnership, eUnknown, SSERVICE_Extra::flags, AutoPtr< X, Del >::get(), SSERVICE_Extra::get_next_info, kDefaultTimeout, NCBI_THROW, NcbiMessagePlusError(), SSERVICE_Extra::parse_header, SSERVICE_Extra::reset, SERVICE_CreateConnectorEx(), and types.
|
static |
Definition at line 379 of file ncbi_conn_stream.cpp.
References _ASSERT, ConnNetInfo_Clone(), ConnNetInfo_Log(), ConnNetInfo_SetUserHeader(), CORE_GetLOG(), CORE_LOCK_READ, CORE_UNLOCK, SConnNetInfo::credentials, data, SConnNetInfo::debug_printout, eDebugPrintout_Data, eIO_Success, eLOG_Note, eReqMethod_Any, eURL_Unspec, fHTTP_NoAutoRetry, fProxy_Http, free(), fSOCK_LogDefault, fSOCK_LogOn, AutoPtr< X, Del >::get(), SConnNetInfo::host, HTTP_CreateTunnel(), SConnNetInfo::http_proxy_host, SConnNetInfo::http_proxy_leak, SConnNetInfo::http_proxy_mask, SConnNetInfo::http_proxy_port, init(), kDefaultTimeout, SConnNetInfo::port, ncbi::grid::netcache::search::fields::size, SOCK_Abort(), SOCK_Close(), SOCK_CreateConnectorOnTopEx(), SOCK_CreateInternal(), SOCK_CreateOnTopInternal(), SOCK_Destroy, SConnNetInfo::timeout, and NStr::UIntToString().
|
static |
Definition at line 271 of file ncbi_conn_stream.cpp.
References data, NStr::fConvErr_NoThrow, isdigit(), len, NCBI_HasSpaces(), NCBI_THROW, NStr::NumericToString(), ncbi::grid::netcache::search::fields::size, SOCK_CreateConnectorEx(), NStr::SplitInTwo(), and NStr::StringToUInt().
Definition at line 1505 of file ncbi_conn_stream.cpp.
References isalnum(), isalpha(), and str().
Referenced by NcbiOpenURL().