org.exolab.jms.client
Interface JmsServerStubIfc

All Known Implementing Classes:
HttpJmsServerStub, IntravmJmsServerStub, IpcJmsServerStub, RmiJmsServerStub, SslHttpJmsServerStub, SslJmsServerStub

public interface JmsServerStubIfc

This is the interface for the JMS server stub. The stub really deifnes what calls can be made across the client server boundary.

Version:
$Revision: 1.5 $ $Date: 2003/08/07 13:32:50 $
Author:
Jim Alateras

Method Summary
 JmsConnectionStubIfc createConnection(java.lang.String id, java.lang.String username, java.lang.String password)
          Create a connection to the JMS Server.
 void setExceptionListener(javax.jms.ExceptionListener listener)
          Set the exception listener so that the client can be notified of client disconnection events.
 

Method Detail

createConnection

JmsConnectionStubIfc createConnection(java.lang.String id,
                                      java.lang.String username,
                                      java.lang.String password)
                                      throws javax.jms.JMSException
Create a connection to the JMS Server. If one cannot be established then throw JMSException exception

Parameters:
id - identity of client
username - clients username
password - clients password
Throws:
javax.jms.JMSException

setExceptionListener

void setExceptionListener(javax.jms.ExceptionListener listener)
Set the exception listener so that the client can be notified of client disconnection events.

Parameters:
listener - the exception listener


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