| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.jboss.mq.il.rmi.RMIServerIL
The JVM implementation of the ServerIL object
| Field Summary | 
| Fields inherited from class java.rmi.server.RemoteObject | 
| ref | 
| Constructor Summary | |
| RMIServerIL(Invoker s)Constructor for the RMIServerIL object | |
| Method Summary | |
|  void | acknowledge(ConnectionToken dc,
            AcknowledgementRequest item)#Description of the Method | 
|  void | addMessage(ConnectionToken dc,
           SpyMessage val)Adds a feature to the Message attribute of the RMIServerIL object | 
|  String | authenticate(String userName,
             String password)Authenticate the user. | 
|  SpyMessage[] | browse(ConnectionToken dc,
       javax.jms.Destination dest,
       String selector)#Description of the Method | 
|  void | checkID(String ID)#Description of the Method | 
|  String | checkUser(String userName,
          String password)#Description of the Method | 
|  ServerIL | cloneServerIL()No need to clone because there are no instance variables tha can get clobbered. | 
|  void | connectionClosing(ConnectionToken dc)#Description of the Method | 
|  javax.jms.Queue | createQueue(ConnectionToken dc,
            String dest)#Description of the Method | 
|  javax.jms.Topic | createTopic(ConnectionToken dc,
            String dest)#Description of the Method | 
|  void | deleteTemporaryDestination(ConnectionToken dc,
                           SpyDestination dest)#Description of the Method | 
|  void | destroySubscription(ConnectionToken dc,
                    DurableSubscriptionID id)#Description of the Method | 
|  String | getID()Gets the ID attribute of the RMIServerIL object | 
|  javax.jms.TemporaryQueue | getTemporaryQueue(ConnectionToken dc)Gets the TemporaryQueue attribute of the RMIServerIL object | 
|  javax.jms.TemporaryTopic | getTemporaryTopic(ConnectionToken dc)Gets the TemporaryTopic attribute of the RMIServerIL object | 
|  void | ping(ConnectionToken dc,
     long clientTime)#Description of the Method | 
|  SpyMessage | receive(ConnectionToken dc,
        int subscriberId,
        long wait)#Description of the Method | 
|  void | setConnectionToken(ConnectionToken newConnectionToken)Sets the ConnectionToken attribute of the RMIServerIL object | 
|  void | setEnabled(ConnectionToken dc,
           boolean enabled)Sets the Enabled attribute of the RMIServerIL object | 
|  void | subscribe(ConnectionToken dc,
          Subscription s)#Description of the Method | 
|  void | transact(ConnectionToken dc,
         TransactionRequest t)#Description of the Method | 
|  void | unsubscribe(ConnectionToken dc,
            int subscriptionId)#Description of the Method | 
| Methods inherited from class java.rmi.server.UnicastRemoteObject | 
| clone, exportObject, exportObject, exportObject, unexportObject | 
| Methods inherited from class java.rmi.server.RemoteServer | 
| getClientHost, getLog, setLog | 
| Methods inherited from class java.rmi.server.RemoteObject | 
| equals, getRef, hashCode, toString, toStub | 
| Methods inherited from class java.lang.Object | 
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public RMIServerIL(Invoker s) throws RemoteException
s - Description of Parameter
RemoteException - Description of Exception| Method Detail | 
public void setConnectionToken(ConnectionToken newConnectionToken)
setConnectionToken in interface ServerILnewConnectionToken - The new ConnectionToken valuepublic void setEnabled(ConnectionToken dc, boolean enabled) throws Exception
setEnabled in interface ServerILdc - The new Enabled valueenabled - The new Enabled value
Exception - Description of Exceptionpublic String getID() throws javax.jms.JMSException
javax.jms.JMSException - Description of Exceptionpublic javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc) throws javax.jms.JMSException
getTemporaryQueue in interface ServerILdc - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc) throws javax.jms.JMSException
getTemporaryTopic in interface ServerILdc - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic ServerIL cloneServerIL()
cloneServerIL in interface ServerILpublic void addMessage(ConnectionToken dc, SpyMessage val) throws javax.jms.JMSException
addMessage in interface ServerILdc - The feature to be added to the Message attributeval - The feature to be added to the Message attribute
javax.jms.JMSException - Description of Exceptionpublic javax.jms.Topic createTopic(ConnectionToken dc, String dest) throws javax.jms.JMSException
createTopic in interface ServerILdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic javax.jms.Queue createQueue(ConnectionToken dc, String dest) throws javax.jms.JMSException
createQueue in interface ServerILdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void deleteTemporaryDestination(ConnectionToken dc, SpyDestination dest) throws javax.jms.JMSException
deleteTemporaryDestination in interface ServerILdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void checkID(String ID) throws javax.jms.JMSException
ID - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void connectionClosing(ConnectionToken dc) throws javax.jms.JMSException
connectionClosing in interface ServerILdc - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void acknowledge(ConnectionToken dc, AcknowledgementRequest item) throws Exception, RemoteException
acknowledge in interface ServerILdc - Description of Parameteritem - Description of Parameter
Exception - Description of Exception
RemoteException - Description of Exceptionpublic SpyMessage[] browse(ConnectionToken dc, javax.jms.Destination dest, String selector) throws Exception
dc - Description of Parameterdest - Description of Parameterselector - Description of Parameter
Exception - Description of Exceptionpublic SpyMessage receive(ConnectionToken dc, int subscriberId, long wait) throws Exception
dc - Description of ParametersubscriberId - Description of Parameterwait - Description of Parameter
Exception - Description of Exceptionpublic void unsubscribe(ConnectionToken dc, int subscriptionId) throws Exception
unsubscribe in interface ServerILdc - Description of ParametersubscriptionId - Description of Parameter
Exception - Description of Exceptionpublic void destroySubscription(ConnectionToken dc, DurableSubscriptionID id) throws Exception
destroySubscription in interface ServerILid - Description of Parameter
Exception - Description of Exceptionpublic String checkUser(String userName, String password) throws javax.jms.JMSException
userName - Description of Parameterpassword - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic String authenticate(String userName, String password) throws javax.jms.JMSException
ServerIL
authenticate in interface ServerILuserName - a username.password - a password.
javax.jms.JMSExceptionpublic void subscribe(ConnectionToken dc, Subscription s) throws Exception
dc - Description of Parameters - Description of Parameter
Exception - Description of Exceptionpublic void transact(ConnectionToken dc, TransactionRequest t) throws javax.jms.JMSException
dc - Description of Parametert - Description of Parameter
javax.jms.JMSException - Description of Exceptionpublic void ping(ConnectionToken dc, long clientTime) throws javax.jms.JMSException
dc - Description of ParameterclientTime - Description of Parameter
javax.jms.JMSException - Description of Exception| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||