|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.il.jvm.JVMServerIL
public class JVMServerIL
The JVM implementation of the ServerIL object
| Constructor Summary | |
|---|---|
JVMServerIL(Invoker s)
Constructor for the JVMServerIL object |
|
| Method Summary | |
|---|---|
void |
acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
#Description of the Method |
void |
addMessage(ConnectionToken dc,
SpyMessage val)
Adds a message to the destination specifyed in the message. |
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)
Check if clientID is a valid ID. |
String |
checkUser(String userName,
String password)
Get a clientID for a given user/password. |
ServerIL |
cloneServerIL()
#Description of the Method |
void |
connectionClosing(ConnectionToken dc)
The client is closing the connection. |
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)
Unsubscribe from a durable subscription. |
String |
getID()
Get a clientID from the server. |
javax.jms.TemporaryQueue |
getTemporaryQueue(ConnectionToken dc)
Gets the TemporaryQueue attribute of the ServerIL object |
javax.jms.TemporaryTopic |
getTemporaryTopic(ConnectionToken dc)
Gets the TemporaryTopic attribute of the ServerIL object |
void |
ping(ConnectionToken dc,
long clientTime)
Ping the server. |
SpyMessage |
receive(ConnectionToken dc,
int subscriberId,
long wait)
Get a message synchronously. |
Xid[] |
recover(ConnectionToken dc,
int flags)
Recover |
void |
setConnectionToken(ConnectionToken newConnectionToken)
|
void |
setEnabled(ConnectionToken dc,
boolean enabled)
Sets the Enabled attribute of the ServerIL object |
void |
subscribe(ConnectionToken dc,
Subscription s)
|
void |
transact(ConnectionToken dc,
TransactionRequest t)
#Description of the Method |
void |
unsubscribe(ConnectionToken dc,
int subscriptionId)
Remove a consumer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JVMServerIL(Invoker s)
s - Description of Parameter| Method Detail |
|---|
public void setConnectionToken(ConnectionToken newConnectionToken)
setConnectionToken in interface ServerILnewConnectionToken - org.jboss.mq.ConnectionToken
public void setEnabled(ConnectionToken dc,
boolean enabled)
throws Exception
ServerIL
setEnabled in interface ServerILdc - The new Enabled valueenabled - The new Enabled value
Exception - Description of Exception
public String getID()
throws javax.jms.JMSException
ServerIL
getID in interface ServerILjavax.jms.JMSException
public javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc)
throws javax.jms.JMSException
ServerIL
getTemporaryQueue in interface ServerILdc - Description of Parameter
javax.jms.JMSException
public javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc)
throws javax.jms.JMSException
ServerIL
getTemporaryTopic in interface ServerILdc - Description of Parameter
javax.jms.JMSExceptionpublic ServerIL cloneServerIL()
ServerIL
cloneServerIL in interface ServerIL
public void addMessage(ConnectionToken dc,
SpyMessage val)
throws javax.jms.JMSException
ServerIL
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
public javax.jms.Topic createTopic(ConnectionToken dc,
String dest)
throws javax.jms.JMSException
ServerIL
createTopic in interface ServerILdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException
public javax.jms.Queue createQueue(ConnectionToken dc,
String dest)
throws javax.jms.JMSException
ServerIL
createQueue in interface ServerILdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException
public void deleteTemporaryDestination(ConnectionToken dc,
SpyDestination dest)
throws javax.jms.JMSException
ServerIL
deleteTemporaryDestination in interface ServerILdc - Description of Parameterdest - Description of Parameter
javax.jms.JMSException
public void checkID(String ID)
throws javax.jms.JMSException
ServerIL
checkID in interface ServerILID - a clientID set by the client.
javax.jms.JMSException
public void connectionClosing(ConnectionToken dc)
throws javax.jms.JMSException
ServerIL
connectionClosing in interface ServerILdc - Description of Parameter
javax.jms.JMSException
public void acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
throws Exception
ServerIL
acknowledge in interface ServerILdc - Description of Parameteritem - Description of Parameter
Exception - Description of Exception
public SpyMessage[] browse(ConnectionToken dc,
javax.jms.Destination dest,
String selector)
throws Exception
ServerIL
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
ServerIL
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
ServerIL
unsubscribe in interface ServerILdc - Description of ParametersubscriptionId - Description of Parameter
Exception - Description of Exception
public void destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
throws Exception
ServerIL
destroySubscription in interface ServerILid - Description of Parameter
Exception - Description of Exception
public String checkUser(String userName,
String password)
throws javax.jms.JMSException
ServerIL
checkUser in interface ServerILuserName - a valid user name that the StateManager knows about.password - a password
javax.jms.JMSException
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 - org.jboss.mq.ConnectionTokens - org.jboss.mq.Subscription
Exception - The exception description.
public void transact(ConnectionToken dc,
TransactionRequest t)
throws javax.jms.JMSException
ServerIL
transact in interface ServerILdc - Description of Parametert - Description of Parameter
javax.jms.JMSException
public void ping(ConnectionToken dc,
long clientTime)
throws javax.jms.JMSException
ServerIL
ping in interface ServerILdc - Description of ParameterclientTime - Description of Parameter
javax.jms.JMSException
public Xid[] recover(ConnectionToken dc,
int flags)
throws Exception
Recoverable
recover in interface Recoverabledc - the connnection tokenflags - the recovery flags
Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||