#include <Time_Request_Reply.h>
Collaboration diagram for ACE_Time_Request:
Public Types | |
enum | Constants { TIME_UPDATE = 01, MAX_TIME_LEN = MAXPATHLEN + 1 } |
Public Methods | |
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. |
This class is implemented to minimize data copying. In particular, all marshaling is done in situ...
|
|
|
Default constructor.
|
|
Create a ACE_Time_Request message.
|
|
Set the blocking semantics.
|
|
Get the blocking semantics.
|
|
Decode message after reception.
|
|
Print out the values of the message for debugging purposes.
|
|
Encode the message before transmission.
|
|
Initialize length_ in order to ensure correct byte ordering before a request is sent.
|
|
Set the type of the message.
|
|
Get the type of the message.
|
|
|
|
|
|
Get the time.
|
|
Set the timeout.
|
|
Get the timeout.
|
|
Time.
|
|
Transfer buffer.
|