NCBI C++ ToolKit
Typedefs | Enumerations | Variables
pubseq_gateway_types.hpp File Reference
#include <string>
#include <chrono>
+ Include dependency graph for pubseq_gateway_types.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef int TProcessorPriority
 
using psg_clock_t = chrono::steady_clock
 
using psg_time_point_t = psg_clock_t::time_point
 
typedef string TAuthToken
 

Enumerations

enum  EPSGS_PubseqGatewayErrorCode {
  ePSGS_UnknownSatellite = 300 , ePSGS_BadURL = 301 , ePSGS_NoUsefulCassandra = 302 , ePSGS_MalformedParameter = 304 ,
  ePSGS_UnknownResolvedSatellite = 305 , ePSGS_NoBioseqInfo = 306 , ePSGS_BioseqInfoError = 307 , ePSGS_BadID2Info = 308 ,
  ePSGS_UnpackingError = 309 , ePSGS_UnknownError = 310 , ePSGS_NoBlobPropsError = 311 , ePSGS_UnresolvedSeqId = 312 ,
  ePSGS_InsufficientArguments = 313 , ePSGS_InvalidId2Info = 314 , ePSGS_NoSplitHistoryError = 315 , ePSGS_NoBioseqInfoForGiError = 316 ,
  ePSGS_BioseqInfoMultipleRecords = 318 , ePSGS_ServerLogicError = 319 , ePSGS_BioseqInfoAccessionAdjustmentError = 320 , ePSGS_NoProcessor = 321 ,
  ePSGS_ShuttingDown = 322 , ePSGS_Unauthorised = 323 , ePSGS_TestIOError = 324 , ePSGS_StatisticsError = 325 ,
  ePSGS_AckAlertError = 326 , ePSGS_GetAlertsError = 327 , ePSGS_ShutdownError = 328 , ePSGS_StatusError = 329 ,
  ePSGS_InfoError = 330 , ePSGS_ConfigError = 331 , ePSGS_HealthError = 332 , ePSGS_TooManyRequests = 333 ,
  ePSGS_RequestCancelled = 334 , ePSGS_BlobRetrievalIsNotAuthorized = 335 , ePSGS_RequestTimeout = 336 , ePSGS_NotFoundAndNotInstantiated = 337 ,
  ePSGS_IPGNotFound = 338 , ePSGS_IPGKeyspaceNotAvailable = 339 , ePSGS_NoWebCubbyUserCookieError = 340 , ePSGS_MyNCBIError = 341 ,
  ePSGS_MyNCBINotFound = 342 , ePSGS_SecureSatUnauthorized = 343 , ePSGS_CassConnectionError = 344 , ePSGS_MyNCBIRequestInitiatorDestroyed = 345 ,
  ePSGS_BlobChunkAfterFallbackRequested = 346 , ePSGS_NotFoundID2BlobPropWithFallback = 347 , ePSGS_ID2ChunkErrorWithFallback = 348 , ePSGS_ID2ChunkErrorAfterFallbackRequested = 349 ,
  ePSGS_ID2InfoParseErrorFallback = 350
}
 
enum  EPSGS_ResolutionResult {
  ePSGS_Si2csiCache , ePSGS_Si2csiDB , ePSGS_BioseqCache , ePSGS_BioseqDB ,
  ePSGS_NotResolved , ePSGS_PostponedForDB
}
 
enum  EPSGS_SeqIdParsingResult { ePSGS_ParsedOK , ePSGS_ParseFailed }
 
enum  EPSGS_DbFetchType {
  ePSGS_BlobBySeqIdFetch , ePSGS_BlobBySatSatKeyFetch , ePSGS_AnnotationFetch , ePSGS_AnnotationBlobFetch ,
  ePSGS_TSEChunkFetch , ePSGS_BioseqInfoFetch , ePSGS_Si2csiFetch , ePSGS_SplitHistoryFetch ,
  ePSGS_PublicCommentFetch , ePSGS_AccVerHistoryFetch , ePSGS_IPGResolveFetch , ePSGS_UnknownFetch
}
 
enum  EPSGS_CacheLookupResult { ePSGS_CacheHit , ePSGS_CacheNotHit , ePSGS_CacheFailure }
 
enum  EPSGS_AccessionAdjustmentResult {
  ePSGS_NotRequired , ePSGS_AdjustedWithGi , ePSGS_AdjustedWithAny , ePSGS_SeqIdsEmpty ,
  ePSGS_LogicError
}
 
enum  EPSGS_ReplyMimeType {
  ePSGS_JsonMime , ePSGS_HtmlMime , ePSGS_BinaryMime , ePSGS_PlainTextMime ,
  ePSGS_ImageMime , ePSGS_PSGMime , ePSGS_NotSet
}
 
enum  EPSGS_BlobSkipReason { ePSGS_BlobExcluded , ePSGS_BlobInProgress , ePSGS_BlobSent }
 
enum  EPSGS_StartupDataState { ePSGS_NoCassConnection , ePSGS_NoValidCassMapping , ePSGS_NoCassCache , ePSGS_StartupDataOK }
 
enum  EPSGS_LoggingFlag { ePSGS_NeedLogging , ePSGS_SkipLogging }
 
enum  EPSGS_StatusUpdateFlag { ePSGS_NeedStatusUpdate , ePSGS_SkipStatusUpdate }
 

Variables

const int kUnknownPriority = -1
 

Typedef Documentation

◆ psg_clock_t

using psg_clock_t = chrono::steady_clock

Definition at line 51 of file pubseq_gateway_types.hpp.

◆ psg_time_point_t

using psg_time_point_t = psg_clock_t::time_point

Definition at line 52 of file pubseq_gateway_types.hpp.

◆ TAuthToken

typedef string TAuthToken

Definition at line 56 of file pubseq_gateway_types.hpp.

◆ TProcessorPriority

Definition at line 41 of file pubseq_gateway_types.hpp.

Enumeration Type Documentation

◆ EPSGS_AccessionAdjustmentResult

Enumerator
ePSGS_NotRequired 
ePSGS_AdjustedWithGi 
ePSGS_AdjustedWithAny 
ePSGS_SeqIdsEmpty 
ePSGS_LogicError 

Definition at line 163 of file pubseq_gateway_types.hpp.

◆ EPSGS_BlobSkipReason

Enumerator
ePSGS_BlobExcluded 
ePSGS_BlobInProgress 
ePSGS_BlobSent 

Definition at line 184 of file pubseq_gateway_types.hpp.

◆ EPSGS_CacheLookupResult

Enumerator
ePSGS_CacheHit 
ePSGS_CacheNotHit 
ePSGS_CacheFailure 

Definition at line 156 of file pubseq_gateway_types.hpp.

◆ EPSGS_DbFetchType

Enumerator
ePSGS_BlobBySeqIdFetch 
ePSGS_BlobBySatSatKeyFetch 
ePSGS_AnnotationFetch 
ePSGS_AnnotationBlobFetch 
ePSGS_TSEChunkFetch 
ePSGS_BioseqInfoFetch 
ePSGS_Si2csiFetch 
ePSGS_SplitHistoryFetch 
ePSGS_PublicCommentFetch 
ePSGS_AccVerHistoryFetch 
ePSGS_IPGResolveFetch 
ePSGS_UnknownFetch 

Definition at line 140 of file pubseq_gateway_types.hpp.

◆ EPSGS_LoggingFlag

Enumerator
ePSGS_NeedLogging 
ePSGS_SkipLogging 

Definition at line 205 of file pubseq_gateway_types.hpp.

◆ EPSGS_PubseqGatewayErrorCode

Enumerator
ePSGS_UnknownSatellite 
ePSGS_BadURL 
ePSGS_NoUsefulCassandra 
ePSGS_MalformedParameter 
ePSGS_UnknownResolvedSatellite 
ePSGS_NoBioseqInfo 
ePSGS_BioseqInfoError 
ePSGS_BadID2Info 
ePSGS_UnpackingError 
ePSGS_UnknownError 
ePSGS_NoBlobPropsError 
ePSGS_UnresolvedSeqId 
ePSGS_InsufficientArguments 
ePSGS_InvalidId2Info 
ePSGS_NoSplitHistoryError 
ePSGS_NoBioseqInfoForGiError 
ePSGS_BioseqInfoMultipleRecords 
ePSGS_ServerLogicError 
ePSGS_BioseqInfoAccessionAdjustmentError 
ePSGS_NoProcessor 
ePSGS_ShuttingDown 
ePSGS_Unauthorised 
ePSGS_TestIOError 
ePSGS_StatisticsError 
ePSGS_AckAlertError 
ePSGS_GetAlertsError 
ePSGS_ShutdownError 
ePSGS_StatusError 
ePSGS_InfoError 
ePSGS_ConfigError 
ePSGS_HealthError 
ePSGS_TooManyRequests 
ePSGS_RequestCancelled 
ePSGS_BlobRetrievalIsNotAuthorized 
ePSGS_RequestTimeout 
ePSGS_NotFoundAndNotInstantiated 
ePSGS_IPGNotFound 
ePSGS_IPGKeyspaceNotAvailable 
ePSGS_NoWebCubbyUserCookieError 
ePSGS_MyNCBIError 
ePSGS_MyNCBINotFound 
ePSGS_SecureSatUnauthorized 
ePSGS_CassConnectionError 
ePSGS_MyNCBIRequestInitiatorDestroyed 
ePSGS_BlobChunkAfterFallbackRequested 
ePSGS_NotFoundID2BlobPropWithFallback 
ePSGS_ID2ChunkErrorWithFallback 
ePSGS_ID2ChunkErrorAfterFallbackRequested 
ePSGS_ID2InfoParseErrorFallback 

Definition at line 60 of file pubseq_gateway_types.hpp.

◆ EPSGS_ReplyMimeType

Enumerator
ePSGS_JsonMime 
ePSGS_HtmlMime 
ePSGS_BinaryMime 
ePSGS_PlainTextMime 
ePSGS_ImageMime 
ePSGS_PSGMime 
ePSGS_NotSet 

Definition at line 172 of file pubseq_gateway_types.hpp.

◆ EPSGS_ResolutionResult

Enumerator
ePSGS_Si2csiCache 
ePSGS_Si2csiDB 
ePSGS_BioseqCache 
ePSGS_BioseqDB 
ePSGS_NotResolved 
ePSGS_PostponedForDB 

Definition at line 124 of file pubseq_gateway_types.hpp.

◆ EPSGS_SeqIdParsingResult

Enumerator
ePSGS_ParsedOK 
ePSGS_ParseFailed 

Definition at line 134 of file pubseq_gateway_types.hpp.

◆ EPSGS_StartupDataState

Enumerator
ePSGS_NoCassConnection 
ePSGS_NoValidCassMapping 
ePSGS_NoCassCache 
ePSGS_StartupDataOK 

Definition at line 197 of file pubseq_gateway_types.hpp.

◆ EPSGS_StatusUpdateFlag

Enumerator
ePSGS_NeedStatusUpdate 
ePSGS_SkipStatusUpdate 

Definition at line 211 of file pubseq_gateway_types.hpp.

Variable Documentation

◆ kUnknownPriority

const int kUnknownPriority = -1
Modified on Wed May 22 11:35:04 2024 by modify_doxy.py rev. 669887