|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerIL
Defines the methods that can be called by a client on the server.
| Method Summary | |
|---|---|
void |
acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
#Description of the Method |
void |
addMessage(ConnectionToken dc,
SpyMessage message)
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. |
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. |
| Method Detail |
|---|
ServerIL cloneServerIL()
throws Exception
Exception - Description of Exception
void setConnectionToken(ConnectionToken newConnectionToken)
throws Exception
newConnectionToken - org.jboss.mq.ConnectionToken
Exception - The exception description.
String getID()
throws Exception
Exception - Description of Exception
javax.jms.TemporaryTopic getTemporaryTopic(ConnectionToken dc)
throws Exception
dc - Description of Parameter
Exception - Description of Exception
javax.jms.TemporaryQueue getTemporaryQueue(ConnectionToken dc)
throws Exception
dc - Description of Parameter
Exception - Description of Exception
void connectionClosing(ConnectionToken dc)
throws Exception
dc - Description of Parameter
Exception - Description of Exception
void checkID(String ID)
throws Exception
ID - a clientID set by the client.
Exception - if the clientID was not vallid.
void addMessage(ConnectionToken dc,
SpyMessage message)
throws Exception
dc - The feature to be added to the Message attributemessage - The feature to be added to the Message attribute
Exception - Description of Exception
javax.jms.Queue createQueue(ConnectionToken dc,
String dest)
throws Exception
dc - Description of Parameterdest - Description of Parameter
Exception - Description of Exception
javax.jms.Topic createTopic(ConnectionToken dc,
String dest)
throws Exception
dc - Description of Parameterdest - Description of Parameter
Exception - Description of Exception
void deleteTemporaryDestination(ConnectionToken dc,
SpyDestination dest)
throws Exception
dc - Description of Parameterdest - Description of Parameter
Exception - Description of Exception
void transact(ConnectionToken dc,
TransactionRequest t)
throws Exception
dc - Description of Parametert - Description of Parameter
Exception - Description of Exception
void acknowledge(ConnectionToken dc,
AcknowledgementRequest item)
throws Exception
dc - Description of Parameteritem - Description of Parameter
Exception - Description of Exception
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 Exception
SpyMessage receive(ConnectionToken dc,
int subscriberId,
long wait)
throws Exception
dc - Description of ParametersubscriberId - Description of Parameterwait - Description of Parameter
Exception - Description of Exception
void setEnabled(ConnectionToken dc,
boolean enabled)
throws Exception
dc - The new Enabled valueenabled - The new Enabled value
Exception - Description of Exception
void unsubscribe(ConnectionToken dc,
int subscriptionId)
throws Exception
dc - Description of ParametersubscriptionId - Description of Parameter
Exception - Description of Exception
void destroySubscription(ConnectionToken dc,
DurableSubscriptionID id)
throws Exception
id - Description of Parameter
Exception - Description of Exception
String checkUser(String userName,
String password)
throws Exception
userName - a valid user name that the StateManager knows about.password - a password
Exception - Description of Exception
String authenticate(String userName,
String password)
throws Exception
userName - a username.password - a password.
Exception - Description of Exception
void subscribe(ConnectionToken dc,
Subscription s)
throws Exception
dc - org.jboss.mq.ConnectionTokens - org.jboss.mq.Subscription
Exception - The exception description.
void ping(ConnectionToken dc,
long clientTime)
throws Exception
dc - Description of ParameterclientTime - Description of Parameter
Exception - Description of Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||