Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

javax_jms_TopicSession.h

00001 #ifndef xmogInc_javaxjmsTopicSession
00002 #define xmogInc_javaxjmsTopicSession
00003 
00004 #   if !defined(JMS_DECLSPEC )
00005 #       if defined(_MSC_VER)
00006 #           pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 #       endif /* defined(_MSC_VER) */
00008         // the following default definition works for all non-Windows platforms and for
00009         // executable projects on Windows where the sources are built directly into the binary
00010 #       define JMS_DECLSPEC 
00011 #   endif /* !defined(JMS_DECLSPEC ) */
00012 
00013     namespace java
00014     {
00015         namespace lang
00016         {
00017             class String;
00018         }
00019     }
00020     namespace javax
00021     {
00022         namespace jms
00023         {
00024             class TemporaryTopic;
00025             class Topic;
00026             class TopicPublisher;
00027             class TopicSession;
00028             class TopicSubscriber;
00029         }
00030     }
00031 
00032 #   include "javax_jms_Session.h"
00033 
00034     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00035 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00036 #       if defined(new)
00037 #           undef new
00038 #       endif /* defined(new) */
00039 #       if defined(delete)
00040 #           undef delete
00041 #       endif /* defined(delete) */
00042 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00043 
00079     class JMS_DECLSPEC javax::jms::TopicSession : 
00080         public virtual ::javax::jms::Session
00081     {
00082     public:
00083         enum 
00084         {
00085             xmogDefaultFlags = xmog_base::GLOBAL,
00086             xmogMajorVersion = 3,
00087             xmogMinorVersion = 2,
00088             xmogPatchVersion = 9,
00089             xmogBuildNumber = 2047
00090         };
00091 
00092     public:
00093 
00094         typedef ::xmog_java_array_template< ::javax::jms::TopicSession > array1D;
00095 
00096         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::TopicSession > > array2D;
00097 
00099 
00116         TopicSession( );
00117 
00130         TopicSession( const ::javax::jms::TopicSession & _rhs );
00131 
00144         TopicSession( jobject _local, xmog_flags f_xflags );
00145 
00158         TopicSession( const ::xmog_null & _null_instance );
00159 
00170         TopicSession( ::xmog_java_array * _arr, jint _index );
00171 
00185         TopicSession( const ::javax::jms::TopicSession & _rhs, ::xmog_localenv * p_lxenv );
00186 
00198         XMOG_EXPLICIT TopicSession( ::xmog_base * _delegate, bool _owns_delegate = true );
00199 
00213         TopicSession( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00214 
00221         ~TopicSession( );
00222 
00235         javax::jms::TopicSession operator =( const javax::jms::TopicSession & _rhs );
00236 
00251         void operator delete( void * _ptr );
00252 
00253 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00269             void operator delete( void * ptr, void * loc );
00270 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00271 
00286         void * operator new( size_t _size );
00287 
00288 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00306             void * operator new( size_t _size, void * _ptr );
00307 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00308 
00310 
00350         virtual ::javax::jms::TopicSubscriber createDurableSubscriber( const ::javax::jms::Topic & topic, const ::java::lang::String & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00351 
00396         virtual ::javax::jms::TopicSubscriber createDurableSubscriber( const ::javax::jms::Topic & topic, const ::java::lang::String & name, const ::java::lang::String & messageSelector, bool noLocal, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00397 
00419         virtual ::javax::jms::TopicPublisher createPublisher( const ::javax::jms::Topic & topic, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00420 
00445         virtual ::javax::jms::TopicSubscriber createSubscriber( const ::javax::jms::Topic & topic, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00446 
00483         virtual ::javax::jms::TopicSubscriber createSubscriber( const ::javax::jms::Topic & topic, const ::java::lang::String & messageSelector, bool noLocal, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00484 
00498         virtual ::javax::jms::TemporaryTopic createTemporaryTopic( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00499 
00524         virtual ::javax::jms::Topic createTopic( const ::java::lang::String & topicName, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00525 
00527 
00548         static ::javax::jms::TopicSession dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00549 
00563         static ::xmog_java_class * get_class( );
00564 
00573         static ::xmog_java_class * get_element_class( );
00574 
00576 
00599         virtual void unsubscribe( const ::java::lang::String & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00600 
00602 
00621         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00623 
00624     };
00625 #endif /* xmogInc_javaxjmsTopicSession */
00626 

Generated on Fri Jun 16 10:18:57 2006 for JMS Courier for C++ by  doxygen 1.4.1