Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.jms.server.endpoint
Interface SessionEndpoint

All Superinterfaces:
  Closeable

All Known Subinterfaces:
  SessionDelegate

All Known Implementing Classes:
  ClientSessionDelegate, ServerSessionEndpoint, SessionAdvised

public interface SessionEndpoint
extends Closeable

Version:
  `$Revision: 1.9 $` $Id: SessionEndpoint.java,v 1.9 2006/04/20 20:42:26 timfox Exp $
Author:
  Tim Fox, Ovidiu Feodorov

Method Summary
`void` | `acknowledge()` Acknowledges the session
`void` | `addTemporaryDestination(JBossDestination destination)` Add a temporary destination.
`void` | `cancelDeliveries()`
`BrowserDelegate` | `createBrowserDelegate(JBossDestination queue, java.lang.String messageSelector)`
`ConsumerDelegate` | `createConsumerDelegate(JBossDestination destination, java.lang.String selector, boolean noLocal, java.lang.String subscriptionName, boolean connectionConsumer)`
`JBossQueue` | `createQueue(java.lang.String queueName)` Creates a queue identity given a Queue name.
`JBossTopic` | `createTopic(java.lang.String topicName)` Creates a topic identity given a Queue name.
`void` | `deleteTemporaryDestination(JBossDestination destination)` Delete a temporary destination
`void` | `send(JBossMessage message)`
`void` | `unsubscribe(java.lang.String subscriptionName)` Unsubscribe the client from the durable subscription specified by subscriptionName

Methods inherited from interface org.jboss.jms.client.Closeable
`close, closing`

Method Detail

### createConsumerDelegate

    public ConsumerDelegate createConsumerDelegate(JBossDestination destination,
                                                   java.lang.String selector,
                                                   boolean noLocal,
                                                   java.lang.String subscriptionName,
                                                   boolean connectionConsumer)
                                            throws JMSException

  Throws:
    `JMSException`

### createBrowserDelegate

    public BrowserDelegate createBrowserDelegate(JBossDestination queue,
                                                 java.lang.String messageSelector)
                                          throws JMSException

  Throws:
    `JMSException`

### createQueue

    public JBossQueue createQueue(java.lang.String queueName)
                           throws JMSException

  Creates a queue identity given a Queue name. Does NOT create the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API, with the exception of temporary queues.

  Throws:
    `JMSException`

### createTopic

    public JBossTopic createTopic(java.lang.String topicName)
                           throws JMSException

  Creates a topic identity given a Queue name. Does NOT create the physical topic. The physical creation of topics is an administrative task and is not to be initiated by the JMS API, with the exception of temporary topics.

  Throws:
    `JMSException`

### acknowledge

    public void acknowledge()
                     throws JMSException

  Acknowledges the session

  Throws:
    `JMSException`

### cancelDeliveries

    public void cancelDeliveries()
                          throws JMSException

  Throws:
    `JMSException`

### addTemporaryDestination

    public void addTemporaryDestination(JBossDestination destination)
                                 throws JMSException

  Add a temporary destination.

  Throws:
    `JMSException`

### deleteTemporaryDestination

    public void deleteTemporaryDestination(JBossDestination destination)
                                    throws JMSException

  Delete a temporary destination

  Throws:
    `JMSException`

### unsubscribe

    public void unsubscribe(java.lang.String subscriptionName)
                     throws JMSException

  Unsubscribe the client from the durable subscription specified by subscriptionName

  Parameters:
    `subscriptionName` - the Name of the durable subscription to unsubscribe from
  Throws:
    `JMSException` - if the unsubscribe fails

### send

    public void send(JBossMessage message)
              throws JMSException

  Throws:
    `JMSException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 JBoss Inc. All Rights Reserved.