org.exolab.jms.client.mipc
Class SslJmsServerStub
java.lang.Object
|
+--org.exolab.jms.client.mipc.IpcJmsServerStub
|
+--org.exolab.jms.client.mipc.SslJmsServerStub
- All Implemented Interfaces:
- org.exolab.core.mipc.DisconnectionEventListener, JmsServerStubIfc
- public class SslJmsServerStub
- extends IpcJmsServerStub
Open an MIPC connection to the server using SSL connections.
- Version:
- $Revision: 1.7 $ $Date: 2003/08/07 13:32:54 $
- Author:
- Jim Mourikis
- See Also:
IpcJmsServerStub
,
IpcJmsServer
,
SslIpcJmsServer
Constructor Summary |
SslJmsServerStub()
Default constructor for serialization |
SslJmsServerStub(java.util.Hashtable env)
The constructor has a collection of environment variables
which it uses to construct a connection to the remote
server |
SslJmsServerStub(java.lang.String host,
int port)
Instantiate an instance of this stub with the specified host and
port numbers |
Method Summary |
protected org.exolab.core.mipc.MultiplexConnectionIfc |
createClientConnection(java.lang.String serverAddress,
java.lang.String internalServerAddress,
int port)
Create an SSL connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SslJmsServerStub
public SslJmsServerStub()
- Default constructor for serialization
SslJmsServerStub
public SslJmsServerStub(java.util.Hashtable env)
- The constructor has a collection of environment variables
which it uses to construct a connection to the remote
server
- Parameters:
env
-
SslJmsServerStub
public SslJmsServerStub(java.lang.String host,
int port)
- Instantiate an instance of this stub with the specified host and
port numbers
- Parameters:
host
- server host addressport
- server port number
createClientConnection
protected org.exolab.core.mipc.MultiplexConnectionIfc createClientConnection(java.lang.String serverAddress,
java.lang.String internalServerAddress,
int port)
throws java.lang.Exception
- Create an SSL connection.
- Overrides:
createClientConnection
in class IpcJmsServerStub
- Parameters:
serverAddress
- The address of the server.port
- The port number to use.- Returns:
MultiplexConnectionIfc
The created
connection.- Throws:
IOException
- If the server fails to initialise the
ip service.
Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.