org.apache.qpid.example.pubsub
Class Client

java.lang.Object
  extended by org.apache.qpid.example.pubsub.Client
Direct Known Subclasses:
Publisher, Subscriber

public abstract class Client
extends Object

An abstract base class that wraps up the creation of a JMS client utilising JNDI


Field Summary
protected  Connection _connection
           
protected  Destination _destination
           
protected  Session _session
           
protected  ConnectionSetup _setup
           
 
Constructor Summary
Client(String destination)
           
 
Method Summary
abstract  void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_setup

protected ConnectionSetup _setup

_connection

protected Connection _connection

_destination

protected Destination _destination

_session

protected Session _session
Constructor Detail

Client

public Client(String destination)
Method Detail

start

public abstract void start()


Licensed to the Apache Software Foundation