jrun.jms.core.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.4 $ $Date: 2000/04/19 12:06:35 $ created by Jim Alateras
See Also:
Remote

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

Method Detail

createConnection

public RemoteJmsServerConnectionIfc createConnection(java.lang.String id)
                                              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
Returns:
RemoteJmsServerConnectionIfc
Throws:
JMSException -  
java.rmi.RemoteException -  

createConnection

public RemoteJmsServerConnectionIfc createConnection(java.lang.String id,
                                                     java.lang.String user,
                                                     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
user - user id
password - user password
Returns:
RemoteJmsServerConnectionIfc
Throws:
JMSException -  
java.rmi.RemoteException -  


Copyright � 2002 Macromedia Corporation. All Rights Reserved.