A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/netcache__rw_8hpp_source.html below:

NCBI C++ ToolKit: src/connect/services/netcache_rw.hpp Source File

1 #ifndef CONN___NETCACHE_RW__HPP 2 #define CONN___NETCACHE_RW__HPP 63  return

(

size_t

) blob_size;

66 #define CheckBlobSize(blob_size) ((size_t) (blob_size)) 74  const string

& blob_id,

76  size_t

* blob_size_ptr,

82  size_t

* bytes_read_ptr = 0);

88  const string

&

GetBlobID

()

const

{

return

m_BlobID;}

92  bool Eof

()

const

{

return

m_BlobBytesToRead == 0;}

95  void

SocketRead(

void

*

buf

,

size_t count

,

size_t

* bytes_read);

128  size_t

* bytes_written = 0);

133  virtual void

Close();

134  virtual void Abort

();

136  void

WriteBufferAndClose(

const char

* buf_ptr,

size_t

buf_size);

141  const string

&

GetKey

()

const

{

return

m_Key;}

143  void SetBlobID

(

const string

& blob_id) {m_BlobID = blob_id;}

148  void

AbortConnection();

150  void

Transmit(

const void

*

buf

,

size_t count

,

size_t

* bytes_written);

152  void

EstablishConnection();

153  void

UploadCacheFile();

Class for support low level input/output for files.

Client API for NetCache server.

NetCache internal exception.

A very basic data-read interface.

NCBI_XNCBI_EXPORT void Abort(void)

Smart abort function.

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

void Write(CObjectOStream &out, TConstObjectPtr object, const CTypeRef &type)

ENetCacheResponseType GetResponseType() const

CNetCacheAPI m_NetCacheAPI

ENetCacheResponseType m_ResponseType

const string & GetBlobID() const

CNetServerConnection m_Connection

unique_ptr< CSocketReaderWriter > m_SocketReaderWriter

CNetServerConnection m_Connection

size_t CheckBlobSize(Uint8 blob_size)

const string & GetBlobID() const

Uint8 GetBlobSize() const

unique_ptr< CTransmissionWriter > m_TransmissionWriter

void SetBlobID(const string &blob_id)

const CNetCacheAPIParameters * m_Parameters

const string & GetKey() const

uint64_t Uint8

8-byte (64-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

ERW_Result

Result codes for I/O operations.

virtual ERW_Result PendingCount(size_t *count)=0

Via parameter "count" (which is guaranteed to be supplied non-NULL) return the number of bytes that a...

virtual ERW_Result Read(void *buf, size_t count, size_t *bytes_read=0)=0

Read as many as "count" bytes into a buffer pointed to by the "buf" argument.

#define NCBI_XCONNECT_EXPORT

const struct ncbi::grid::netcache::search::fields::KEY key

NetCache client parameters.

Reader writer with transmission checking.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4