|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteJmsServerConnectionIfc
This class RMI enables the JmsServerConnection by allowing clients to access the object across another VM. It basically has been grafted off the JmsServerConnection class with the RemoteException appended to the message signature.
JmsServerConnection
Method Summary | |
---|---|
void |
close()
Close all the sessions allocated to this collection. |
RemoteJmsServerSessionIfc |
createSession(int ackMode,
boolean transacted)
Create and return a sesion for this connection Assign the connection's clientId to the sessions. |
void |
deleteSession(RemoteJmsServerSessionIfc session)
Delete the specified session from the server. |
java.lang.String |
getConnectionId()
Retrieve the identity of this conection. |
int |
getSessionCount()
Return the number of session objects currently allocated to this connection. |
java.util.Enumeration |
getSessions()
Return an enumeration of RemoteJmsServerSessionIfc objects currently allocated to this session. |
void |
ping()
Send a ping to the server. |
void |
start()
Start all the sessions allocated to this connection. |
void |
stop()
Stop all the sessions allocated to this collection. |
Method Detail |
---|
RemoteJmsServerSessionIfc createSession(int ackMode, boolean transacted) throws javax.jms.JMSException, java.rmi.RemoteException
The created session represents an endpoint with the JmsServer where you can create consumers, producers and destinations. If there is an error creating the session then RemoteException is thrown
ackMode
- the ack mode for the session
javax.jms.JMSException
java.rmi.RemoteException
void deleteSession(RemoteJmsServerSessionIfc session) throws javax.jms.JMSException, java.rmi.RemoteException
If there is a problem completing this request then throw RemoteException exception
session
- session to delete
javax.jms.JMSException
java.rmi.RemoteException
int getSessionCount() throws javax.jms.JMSException, java.rmi.RemoteException
If there is a problem completing this request then throw RemoteException exception
javax.jms.JMSException
java.rmi.RemoteException
java.util.Enumeration getSessions() throws javax.jms.JMSException, java.rmi.RemoteException
If there is a problem completing this request then throw RemoteException exception
javax.jms.JMSException
java.rmi.RemoteException
void start() throws javax.jms.JMSException, java.rmi.RemoteException
If there is a problem completing this request then throw RemoteException exception
javax.jms.JMSException
java.rmi.RemoteException
void stop() throws javax.jms.JMSException, java.rmi.RemoteException
If there is a problem completing this request then throw RemoteException exception
javax.jms.JMSException
java.rmi.RemoteException
void close() throws javax.jms.JMSException, java.rmi.RemoteException
If there is a problem completing this request then throw RemoteException exception
javax.jms.JMSException
java.rmi.RemoteException
java.lang.String getConnectionId() throws java.rmi.RemoteException
java.rmi.RemoteException
void ping() throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |