|
||||||||||
| 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
public class 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 value
public void setEnabled(ConnectionToken dc,
boolean enabled)
throws Exception
setEnabled in interface ServerILdc - The new Enabled valueenabled - The new Enabled value
Exception - Description of Exception
public String getID()
throws javax.jms.JMSException
getID in interface ServerILjavax.jms.JMSException - Description of Exception
public javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc)
throws javax.jms.JMSException
getTemporaryQueue in interface ServerILdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public 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 ServerIL
public 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 Exception
public 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 Exception
public 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 Exception
public 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 Exception
public void checkID(String ID)
throws javax.jms.JMSException
checkID in interface ServerILID - Description of Parameter
javax.jms.JMSException - Description of Exception
public void connectionClosing(ConnectionToken dc)
throws javax.jms.JMSException
connectionClosing in interface ServerILdc - Description of Parameter
javax.jms.JMSException - Description of Exception
public 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 Exception
public SpyMessage[] browse(ConnectionToken dc,
javax.jms.Destination dest,
String selector)
throws Exception
browse in interface ServerILdc - Description of Parameterdest - Description of Parameterselector - Description of Parameter
Exception - Description of Exception
public SpyMessage receive(ConnectionToken dc,
int subscriberId,
long wait)
throws Exception
receive in interface ServerILdc - Description of ParametersubscriberId - Description of Parameterwait - Description of Parameter
Exception - Description of Exception
public void unsubscribe(ConnectionToken dc,
int subscriptionId)
throws Exception
unsubscribe in interface ServerILdc - Description of ParametersubscriptionId - Description of Parameter
Exception - Description of Exception
public void destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
throws Exception
destroySubscription in interface ServerILid - Description of Parameter
Exception - Description of Exception
public String checkUser(String userName,
String password)
throws javax.jms.JMSException
checkUser in interface ServerILuserName - Description of Parameterpassword - Description of Parameter
javax.jms.JMSException - Description of Exception
public String authenticate(String userName,
String password)
throws javax.jms.JMSException
ServerIL
authenticate in interface ServerILuserName - a username.password - a password.
javax.jms.JMSException
public void subscribe(ConnectionToken dc,
Subscription s)
throws Exception
subscribe in interface ServerILdc - Description of Parameters - Description of Parameter
Exception - Description of Exception
public void transact(ConnectionToken dc,
TransactionRequest t)
throws javax.jms.JMSException
transact in interface ServerILdc - Description of Parametert - Description of Parameter
javax.jms.JMSException - Description of Exception
public void ping(ConnectionToken dc,
long clientTime)
throws javax.jms.JMSException
ping in interface ServerILdc - 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 | |||||||||