C++ IP API  9.5.7
TCP & UDP for virtual user scripts
Facilita::DiscardResponse Class Reference

Objects of this class are returned by discard methods. More...

Inheritance diagram for Facilita::DiscardResponse:
Collaboration diagram for Facilita::DiscardResponse:

Public Methods

 DiscardResponse (int count=0)
 Constructor. More...
 
 DiscardResponse (const string &error)
 Constructor, not called directly. More...
 
 DiscardResponse (const Exception &error)
 Constructor, not called directly. More...
 
 DiscardResponse (const DiscardResponse &orig)
 
int count () const
 discard methods return objects of this class. More...
 
DiscardResponseoperator= (const DiscardResponse &other)
 Assignment operator for this class. More...
 
- Public Methods inherited from Facilita::BaseResponse
 BaseResponse ()
 Default constructor. More...
 
 BaseResponse (const string &error)
 Constructor, not called directly. More...
 
 BaseResponse (const Exception &error)
 Constructor, not called directly. More...
 
 BaseResponse (const BaseResponse &orig)
 Copy Constructor. More...
 
int code () const
 The numeric value of any error . More...
 
const string & error () const
 
Returns
A string describing the error that has occurred. Empty if no error has occurred
More...
 
bool isError () const
 Has there been an error? More...
 
BaseResponseoperator= (const BaseResponse &other)
 Assignment operator for this class. More...
 

Detailed Description

Objects of this class are returned by discard methods.

Constructors

Facilita::DiscardResponse::DiscardResponse ( int  count = 0)

Constructor.

Facilita::DiscardResponse::DiscardResponse ( const string &  error)

Constructor, not called directly.

Facilita::DiscardResponse::DiscardResponse ( const Exception &  error)

Constructor, not called directly.

Facilita::DiscardResponse::DiscardResponse ( const DiscardResponse orig)

Methods

int Facilita::DiscardResponse::count ( ) const

discard methods return objects of this class.

The count property is the number of bytes discarded by the method returning this object.

Returns
The number of discarded bytes.
DiscardResponse& Facilita::DiscardResponse::operator= ( const DiscardResponse other)

Assignment operator for this class.

Returns
The this object.

The documentation for this class was generated from the following file: