#include <Time_Request_Reply.h>
Collaboration diagram for ACE_Time_Request:
Public Types | |
enum | Constants { TIME_UPDATE = 01, MAX_TIME_LEN = MAXPATHLEN + 1 } |
Public Member Functions | |
ACE_Time_Request (void) | |
Default constructor. | |
ACE_Time_Request (ACE_INT32 msg_type, const ACE_UINT32 time, ACE_Time_Value *timeout=0) | |
void | init (void) |
ssize_t | size (void) const |
ACE_INT32 | msg_type (void) const |
Get the type of the message. | |
void | msg_type (ACE_INT32) |
Set the type of the message. | |
ACE_UINT32 | time (void) const |
Get the time. | |
void | time (ACE_UINT32 t) |
ACE_UINT32 | block_forever (void) const |
Get the blocking semantics. | |
void | block_forever (ACE_UINT32) |
Set the blocking semantics. | |
ACE_Time_Value | timeout (void) const |
Get the timeout. | |
void | timeout (const ACE_Time_Value &timeout) |
Set the timeout. | |
int | encode (void *&) |
Encode the message before transmission. | |
int | decode (void) |
Decode message after reception. | |
void | dump (void) const |
Print out the values of the message for debugging purposes. | |
Private Attributes | |
Transfer | transfer_ |
Transfer buffer. | |
ACE_UINT32 | time_ |
Time. | |
Classes | |
struct | Transfer |
This class is implemented to minimize data copying. In particular, all marshaling is done in situ...
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Time_Request::ACE_Time_Request | ( | void | ) |
Default constructor.
ACE_Time_Request::ACE_Time_Request | ( | ACE_INT32 | msg_type, | |
const ACE_UINT32 | time, | |||
ACE_Time_Value * | timeout = 0 | |||
) |
Create a ACE_Time_Request message.
msg_type | Type of request. | |
time | Time. | |
timeout | Max time waiting for request. |
void ACE_Time_Request::block_forever | ( | ACE_UINT32 | ) |
Set the blocking semantics.
ACE_UINT32 ACE_Time_Request::block_forever | ( | void | ) | const |
Get the blocking semantics.
int ACE_Time_Request::decode | ( | void | ) |
Decode message after reception.
void ACE_Time_Request::dump | ( | void | ) | const |
Print out the values of the message for debugging purposes.
int ACE_Time_Request::encode | ( | void *& | ) |
Encode the message before transmission.
void ACE_Time_Request::init | ( | void | ) |
Initialize length_ in order to ensure correct byte ordering before a request is sent.
void ACE_Time_Request::msg_type | ( | ACE_INT32 | ) |
Set the type of the message.
ACE_INT32 ACE_Time_Request::msg_type | ( | void | ) | const |
Get the type of the message.
ssize_t ACE_Time_Request::size | ( | void | ) | const |
void ACE_Time_Request::time | ( | ACE_UINT32 | t | ) |
ACE_UINT32 ACE_Time_Request::time | ( | void | ) | const |
Get the time.
void ACE_Time_Request::timeout | ( | const ACE_Time_Value & | timeout | ) |
Set the timeout.
ACE_Time_Value ACE_Time_Request::timeout | ( | void | ) | const |
Get the timeout.
ACE_UINT32 ACE_Time_Request::time_ [private] |
Time.
Transfer ACE_Time_Request::transfer_ [private] |
Transfer buffer.