org.exolab.jms.server.rmi
Interface RemoteJmsServerIfc

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RmiJmsServer

public interface RemoteJmsServerIfc
extends java.rmi.Remote

This specifies all the JmsServer methods that are available remotely. (i.e can be called from another VM). As with all RMI remote methods they each throw the RemoteException exception.

Version:
$Revision: 1.6 $ $Date: 2003/08/07 13:33:10 $
Author:
Jim Alateras
See Also:
Remote

Method Summary
 RemoteJmsServerConnectionIfc createConnection(java.lang.String id, java.lang.String username, java.lang.String password)
          Create a connection to the specified server.
 

Method Detail

createConnection

public RemoteJmsServerConnectionIfc createConnection(java.lang.String id,
                                                     java.lang.String username,
                                                     java.lang.String password)
                                              throws javax.jms.JMSException,
                                                     java.rmi.RemoteException
Create a connection to the specified server. This will create an instance of a JmsServerConnection and then return a remote reference to it.
Parameters:
id - client identity
username - the user's name
password - the user's password
Returns:
RemoteJmsServerConnectionIfc
Throws:
javax.jms.JMSException -  
java.rmi.RemoteException -  


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