org.exolab.jms.administration.mipc
Class SslIpcJmsAdminConnection

java.lang.Object
  |
  +--org.exolab.jms.administration.mipc.IpcJmsAdminConnection
        |
        +--org.exolab.jms.administration.mipc.SslIpcJmsAdminConnection
All Implemented Interfaces:
AdminConnection, JmsAdminServerIfc

public class SslIpcJmsAdminConnection
extends IpcJmsAdminConnection

This class is repsonsible for opening an SSL TCP connection to the server and passing and packing all requests for delivery.

Version:
$Revision: 1.10 $ $Date: 2003/08/07 13:32:48 $
Author:
Jim Mourikis

Constructor Summary
SslIpcJmsAdminConnection(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Construct a new SslIpcJmsAdminConnection, establishing a connection to the server
 
Method Summary
protected  org.exolab.core.mipc.MultiplexConnectionIfc createClientConnection(java.lang.String host, int port)
          Create an SSL connection.
 
Methods inherited from class org.exolab.jms.administration.mipc.IpcJmsAdminConnection
addDestination, addDurableConsumer, addUser, changePassword, close, connect, destinationExists, durableConsumerExists, getAllDestinations, getAllUsers, getConnection, getDurableConsumerMessageCount, getDurableConsumers, getHost, getPort, getQueueMessageCount, isConnected, openConnection, purgeMessages, removeDestination, removeDurableConsumer, removeUser, setConnection, stopServer, unregisterConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslIpcJmsAdminConnection

public SslIpcJmsAdminConnection(java.lang.String host,
                                int port,
                                java.lang.String username,
                                java.lang.String password)
                         throws javax.jms.JMSException
Construct a new SslIpcJmsAdminConnection, establishing a connection to the server
Parameters:
host - the server host
port - the server port
username - the admin user name
password - the admin password
Throws:
JMSEXception - if a connection cannot be established
Method Detail

createClientConnection

protected org.exolab.core.mipc.MultiplexConnectionIfc createClientConnection(java.lang.String host,
                                                                             int port)
                                                                      throws java.io.IOException
Create an SSL connection.
Overrides:
createClientConnection in class IpcJmsAdminConnection
Parameters:
host - the address of the server
port - the port number to use
Returns:
a new connection
Throws:
java.io.IOException - if the server fails to initialise the ip service


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