Foxit PDF SDK
|
Public Types | |
enum | SendRequestResult { e_SendResultSuccess = 0, e_SendResultFailToCreateSocket = 1, e_SendResultFailToConnect = 2, e_SendResultFailToSendData = 3, e_SendResultFailToReceiveData = 4, e_SendResultFailToRequest = 5, e_SendResultFailToGetData = 6, e_SendResultOutOfMemory = 7 } |
Enumeration for the result of sending time stamp request. More... | |
Public Member Functions | |
TimeStampServer (const TimeStampServer &other) | |
Constructor, with another time stamp server object. More... | |
~TimeStampServer () | |
Destructor. | |
String | GetTimeStampMessage () |
Get time stamp message. More... | |
bool | IsEmpty () const |
Check whether current object is empty or not. More... | |
bool | operator!= (const TimeStampServer &other) const |
Not equal operator. More... | |
TimeStampServer & | operator= (const TimeStampServer &other) |
Assign operator. More... | |
bool | operator== (const TimeStampServer &other) const |
Equal operator. More... | |
SendRequestResult | SendTimeStampRequest (const String &request) |
Send time stamp request. More... | |
![]() | |
FS_HANDLE | Handle () const |
Get the handle of current object. More... | |
This class represents time stamp server. It can be used to send time stamp request and then get the message.
Enumeration for the result of sending time stamp request.
Values of this enumeration should be used alone.
foxit::pdf::TimeStampServer::TimeStampServer | ( | const TimeStampServer & | other | ) |
Constructor, with another time stamp server object.
[in] | other | Another time stamp server object. |
String foxit::pdf::TimeStampServer::GetTimeStampMessage | ( | ) |
Get time stamp message.
This function is to get the time stamp message after function TimeStampServer::SendTimeStampRequest runs successfully.
bool foxit::pdf::TimeStampServer::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
bool foxit::pdf::TimeStampServer::operator!= | ( | const TimeStampServer & | other | ) | const |
Not equal operator.
[in] | other | Another time stamp server object. This function will check if current object is not equal to this one. |
TimeStampServer& foxit::pdf::TimeStampServer::operator= | ( | const TimeStampServer & | other | ) |
Assign operator.
[in] | other | Another time stamp server object, whose value would be assigned to current object. |
bool foxit::pdf::TimeStampServer::operator== | ( | const TimeStampServer & | other | ) | const |
Equal operator.
[in] | other | Another time stamp server object. This function will check if current object is equal to this one. |
SendRequestResult foxit::pdf::TimeStampServer::SendTimeStampRequest | ( | const String & | request | ) |
Send time stamp request.
[in] | request | Time stamp request to be sent. It should not be an empty string. |