Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » mq » [javadoc | source]
org.jboss.mq
public class: SpyConnection [javadoc | source]
java.lang.Object
   org.jboss.mq.Connection
      org.jboss.mq.SpyConnection

All Implemented Interfaces:
    javax.jms.TopicConnection, Serializable, javax.jms.QueueConnection, javax.jms.Connection

Direct Known Subclasses:
    SpyXAConnection

This class implements javax.jms.QueueConnection and javax.jms.TopicConnection
Field Summary
public static final  int UNIFIED    Unified 
public static final  int QUEUE    Queue 
public static final  int TOPIC    Topic 
Fields inherited from org.jboss.mq.Connection:
log,  trace,  clockDaemon,  destinationSubscriptions,  subscriptions,  modeStop,  serverIL,  clientID,  connectionToken,  clientILService,  pingPeriod,  ponged,  pingTaskSemaphore,  pingTaskId,  createdSessions,  subscriptionCounter,  subCountLock,  spyXAResourceManager,  genericConnectionFactory,  sessionId,  temps
Constructor:
 public SpyConnection(GenericConnectionFactory gcf) throws JMSException 
    Create a new SpyConnection
    Parameters:
    gcf - the constructing class
    Throws:
    JMSException - for any error
 public SpyConnection(int type,
    GenericConnectionFactory gcf) throws JMSException 
    Create a new SpyConnection
    Parameters:
    type - the type of connection
    gcf - the constructing class
    Throws:
    JMSException - for any error
 public SpyConnection(String userId,
    String password,
    GenericConnectionFactory gcf) throws JMSException 
    Create a new SpyConnection
    Parameters:
    userId - the user
    password - the password
    gcf - the constructing class
    Throws:
    JMSException - for any error
 public SpyConnection(int type,
    String userId,
    String password,
    GenericConnectionFactory gcf) throws JMSException 
    Create a new SpyConnection
    Parameters:
    type - the type of connection
    userId - the user
    password - the password
    gcf - the constructing class
    Throws:
    JMSException - for any error
Method from org.jboss.mq.SpyConnection Summary:
createConnectionConsumer,   createConnectionConsumer,   createConnectionConsumer,   createDurableConnectionConsumer,   createQueue,   createQueueSession,   createSession,   createTopic,   createTopicSession,   getTemporaryQueue,   getTemporaryTopic
Methods from org.jboss.mq.Connection:
addConsumer,   askForAnID,   askForAnID,   asynchClose,   asynchDeleteTemporaryDestination,   asynchDeliver,   asynchFailure,   asynchPong,   authenticate,   browse,   checkClientID,   checkClosed,   checkTemporary,   close,   deleteTemporaryDestination,   doStop,   getClientID,   getExceptionListener,   getMetaData,   getNewMessageID,   getServerIL,   getThreadGroup,   pingServer,   receive,   recover,   removeConsumer,   send,   send,   sendToServer,   sessionClosing,   setClientID,   setExceptionListener,   start,   startILService,   stop,   stopILService,   toString,   unsubscribe
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mq.SpyConnection Detail:
 public ConnectionConsumer createConnectionConsumer(Destination destination,
    String messageSelector,
    ServerSessionPool sessionPool,
    int maxMessages) throws JMSException 
 public ConnectionConsumer createConnectionConsumer(Topic topic,
    String messageSelector,
    ServerSessionPool sessionPool,
    int maxMessages) throws JMSException 
 public ConnectionConsumer createConnectionConsumer(Queue queue,
    String messageSelector,
    ServerSessionPool sessionPool,
    int maxMessages) throws JMSException 
 public ConnectionConsumer createDurableConnectionConsumer(Topic topic,
    String subscriptionName,
    String messageSelector,
    ServerSessionPool sessionPool,
    int maxMessages) throws JMSException 
 Queue createQueue(String name) throws JMSException 
 public QueueSession createQueueSession(boolean transacted,
    int acknowledgeMode) throws JMSException 
 public Session createSession(boolean transacted,
    int acknowledgeMode) throws JMSException 
 Topic createTopic(String name) throws JMSException 
 public TopicSession createTopicSession(boolean transacted,
    int acknowledgeMode) throws JMSException 
 TemporaryQueue getTemporaryQueue() throws JMSException 
 TemporaryTopic getTemporaryTopic() throws JMSException