jrun.jms.core.client
Interface JmsServerStubIfc
- All Known Implementing Classes:
- IntravmJmsServerStub, RmiJmsServerStub, IpcJmsServerStub
- 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.
createConnection
public JmsConnectionStubIfc createConnection(java.lang.String id)
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- Throws:
JMSException -
createConnection
public 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 clientuserName - password - - Throws:
JMSException -
setExceptionListener
public 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 � 2002 Macromedia Corporation. All Rights Reserved.