00001 #ifndef _IT_BUS_CONFIG_TIBRV_MESSAGE_ATTRIBUTES_H_
00002 #define _IT_BUS_CONFIG_TIBRV_MESSAGE_ATTRIBUTES_H_
00003
00004
00005
00006
00007 #include <it_bus/port.h>
00008
00009 #if !defined(IT_TIBRV_API)
00010 #if defined(IT_TIBRV_API_EXPORT)
00011 #define IT_TIBRV_API IT_DECLSPEC_EXPORT
00012 #else
00013 #define IT_TIBRV_API IT_DECLSPEC_IMPORT
00014 #endif
00015 #endif
00016
00017 namespace IT_Bus
00018 {
00019 class IT_TIBRV_API TibrvMessageAttributes : public virtual MessageAttributes
00020 {
00021 public:
00022
00023 TibrvMessageAttributes();
00024
00025 virtual
00026 ~TibrvMessageAttributes();
00027
00028 virtual
00029 const String&
00030 get_send_subject();
00031
00032 virtual
00033 void
00034 set_send_subject(
00035 const String& send_subject
00036 );
00037
00038 virtual
00039 const String&
00040 get_reply_subject();
00041
00042 virtual
00043 void
00044 set_reply_subject(
00045 const String& reply_subject
00046 );
00047
00048 virtual
00049 const String&
00050 get_sender();
00051
00052 virtual
00053 void
00054 set_sender(
00055 const String& sender
00056 );
00057
00058 virtual
00059 const ULong&
00060 get_sequence();
00061
00062 virtual
00063 const Double&
00064 get_time_limit();
00065
00066 virtual
00067 void
00068 set_time_limit(
00069 const Double& time_limit
00070 );
00071
00072 virtual
00073 const UByte&
00074 get_jms_delivery_mode();
00075
00076 virtual
00077 const UByte&
00078 get_jms_priority();
00079
00080 virtual
00081 const ULong&
00082 get_jms_timestamp();
00083
00084 virtual
00085 const ULong&
00086 get_jms_expiration();
00087
00088 virtual
00089 const String&
00090 get_jms_type();
00091
00092 virtual
00093 const String&
00094 get_jms_message_id();
00095
00096 virtual
00097 const String&
00098 get_jms_correlation_id();
00099
00100 virtual
00101 const Boolean&
00102 get_jms_redelivered();
00103
00104 private:
00105
00106 String m_send_subject;
00107
00108 bool m_is_send_subject_modified;
00109
00110 String m_reply_subject;
00111
00112 bool m_is_reply_subject_modified;
00113
00114 String m_sender;
00115
00116 bool m_is_sender_modified;
00117
00118 ULong m_sequence;
00119
00120 Double m_time_limit;
00121
00122 bool m_is_time_limit_modified;
00123
00124 UByte m_jms_delivery_mode;
00125
00126 UByte m_jms_priority;
00127
00128 ULong m_jms_timestamp;
00129
00130 ULong m_jms_expiration;
00131
00132 String m_jms_type;
00133
00134 String m_jms_message_id;
00135
00136 String m_jms_correlation_id;
00137
00138 Boolean m_jms_redelivered;
00139
00140 friend class TibrvClientTransport;
00141
00142 friend class TibrvServerTransport;
00143 };
00144 }
00145
00146 #endif