Public Member Functions | Protected Member Functions | Static Package Attributes

cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl Class Reference

Inheritance diagram for cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl:
cern.cmw.mom.pubsub.Subscriber

List of all members.

Public Member Functions

 DefaultSubscriberImpl () throws MOMException
 DefaultSubscriberImpl (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws MOMException
boolean isClosed ()
void setExceptionListener (cern.cmw.mom.pubsub.ExceptionListener listener)
void close ()
void onException (JMSException ex)
void open () throws MOMException
long subscribe (String topic, SubscriptionListener listener, String selector) throws JMSException, NamingException
void unSubscribe (long token) throws JMSException
void unSubscribeAll () throws JMSException

Protected Member Functions

Topic createTopic (String topic) throws JMSException, NamingException
void finalize () throws Throwable
void recoverSubscriptions ()

Static Package Attributes

static Category cat = Category.getInstance(DefaultSubscriberImpl.class.getName())

Detailed Description

Implementation class.

Version:
1.0 23 Jan 2001
Author:
Controls Middleware Project
See also:
Subscriber

Constructor & Destructor Documentation

cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.DefaultSubscriberImpl (  )  throws MOMException
cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.DefaultSubscriberImpl ( String  username,
String  password,
String  brokerList,
Boolean  loadBalancing,
Boolean  sequential,
Boolean  selectorAtBroker 
) throws MOMException

Member Function Documentation

Topic cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.createTopic ( String  topic  )  throws JMSException, NamingException [protected]
void cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.finalize (  )  throws Throwable [protected]
boolean cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.isClosed (  ) 

Method isClosed

Returns:
boolean true iff the subscriber instance has been closed
void cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.onException ( JMSException  ex  ) 

Method onException

Parameters:
ex 

References cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.cat.

void cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.open (  )  throws MOMException
void cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.setExceptionListener ( cern.cmw.mom.pubsub.ExceptionListener  listener  ) 

Method setExceptionListener

Parameters:
listener 
void cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.unSubscribe ( long  token  )  throws JMSException
void cern.cmw.mom.pubsub.impl.DefaultSubscriberImpl.unSubscribeAll (  )  throws JMSException

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties