org.exolab.jms.client.http
Class SslHttpJmsServerStub

java.lang.Object
  |
  +--org.exolab.jms.client.http.HttpJmsServerStub
        |
        +--org.exolab.jms.client.http.SslHttpJmsServerStub
All Implemented Interfaces:
JmsServerStubIfc

public class SslHttpJmsServerStub
extends HttpJmsServerStub

This class is repsonsible for opening an https connection to the server and creating HttpJmsConnections.

Version:
$Revision: 1.6 $ $Date: 2003/08/07 13:32:51 $
Author:
Jim Mourikis
See Also:
HttpClient

Constructor Summary
SslHttpJmsServerStub(java.util.Hashtable env)
          The constructor has a collection of environment variables which it uses to construct a connection to the remote server
SslHttpJmsServerStub(java.lang.String url)
          Construct an instance of this stub with the specified URL
 
Method Summary
 JmsConnectionStubIfc createConnection(java.lang.String clientId, java.lang.String username, java.lang.String password)
          Create a connection to the JMS Server
 
Methods inherited from class org.exolab.jms.client.http.HttpJmsServerStub
checkReply, pack, setExceptionListener, setLabel, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslHttpJmsServerStub

public SslHttpJmsServerStub(java.util.Hashtable env)
                     throws javax.jms.JMSException
The constructor has a collection of environment variables which it uses to construct a connection to the remote server
Parameters:
env - the connection properties
Throws:
javax.jms.JMSException - if required connection properties aren't specified

SslHttpJmsServerStub

public SslHttpJmsServerStub(java.lang.String url)
Construct an instance of this stub with the specified URL
Parameters:
url - url of the server hosting the servlet.
Method Detail

createConnection

public JmsConnectionStubIfc createConnection(java.lang.String clientId,
                                             java.lang.String username,
                                             java.lang.String password)
                                      throws javax.jms.JMSException
Create a connection to the JMS Server
Overrides:
createConnection in class HttpJmsServerStub
Parameters:
clientId - the identity of client
username - the client username
password - the client password
Throws:
javax.jms.JMSException - if the connection cannot be created


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.