|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.il.http.HTTPServerIL
Client proxy to the server. For each request, an HTTP or HTTPS request is created, and posted to the given URL. The URL is supplied in the HTTPServerILService MBean configuration, or automatically generated by as localhost here, but can be overridden on the client side by specifying a property name for the URL value, which will be resolved to a system property on the client side.
| Constructor Summary | |
HTTPServerIL(java.lang.String url)
|
|
| Method Summary | |
void |
acknowledge(ConnectionToken (src) dc,
AcknowledgementRequest (src) item)
#Description of the Method |
void |
addMessage(ConnectionToken (src) dc,
SpyMessage (src) message)
Adds a message to the destination specifyed in the message. |
java.lang.String |
authenticate(java.lang.String userName,
java.lang.String password)
Authenticate the user. |
SpyMessage (src) [] |
browse(ConnectionToken (src) dc,
Destination (src) dest,
java.lang.String selector)
#Description of the Method |
void |
checkID(java.lang.String ID)
Check if clientID is a valid ID. |
java.lang.String |
checkUser(java.lang.String userName,
java.lang.String password)
Get a clientID for a given user/password. |
ServerIL (src) |
cloneServerIL()
#Description of the Method |
void |
connectionClosing(ConnectionToken (src) dc)
The client is closing the connection. |
Queue (src) |
createQueue(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
Topic (src) |
createTopic(ConnectionToken (src) dc,
java.lang.String dest)
#Description of the Method |
void |
deleteTemporaryDestination(ConnectionToken (src) dc,
SpyDestination (src) dest)
#Description of the Method |
void |
destroySubscription(ConnectionToken (src) dc,
DurableSubscriptionID (src) id)
Unsubscribe from a durable subscription. |
java.lang.String |
getID()
Get a clientID from the server. |
TemporaryQueue (src) |
getTemporaryQueue(ConnectionToken (src) dc)
Gets the TemporaryQueue attribute of the ServerIL object |
TemporaryTopic (src) |
getTemporaryTopic(ConnectionToken (src) dc)
Gets the TemporaryTopic attribute of the ServerIL object |
void |
ping(ConnectionToken (src) dc,
long clientTime)
Ping the server. |
SpyMessage (src) |
receive(ConnectionToken (src) dc,
int subscriberId,
long wait)
Get a message synchronously. |
void |
setConnectionToken(ConnectionToken (src) newConnectionToken)
|
void |
setEnabled(ConnectionToken (src) dc,
boolean enabled)
Sets the Enabled attribute of the ServerIL object |
void |
subscribe(ConnectionToken (src) dc,
Subscription (src) s)
|
void |
transact(ConnectionToken (src) dc,
TransactionRequest (src) t)
#Description of the Method |
void |
unsubscribe(ConnectionToken (src) 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 HTTPServerIL(java.lang.String url)
throws java.lang.Exception
| Method Detail |
public void acknowledge(ConnectionToken (src) dc,
AcknowledgementRequest (src) item)
throws java.lang.Exception
ServerIL (src)
acknowledge in interface ServerIL (src) dc - Description of Parameteritem - Description of Parameter
java.lang.Exception - Description of Exception
public void addMessage(ConnectionToken (src) dc,
SpyMessage (src) message)
throws java.lang.Exception
ServerIL (src)
addMessage in interface ServerIL (src) dc - The feature to be added to the Message attributemessage - The feature to be added to the Message attribute
java.lang.Exception - Description of Exception
public java.lang.String authenticate(java.lang.String userName,
java.lang.String password)
throws java.lang.Exception
ServerIL (src)
authenticate in interface ServerIL (src) userName - a username.password - a password.
java.lang.Exception - Description of Exception
public SpyMessage (src) [] browse(ConnectionToken (src) dc,
Destination (src) dest,
java.lang.String selector)
throws java.lang.Exception
ServerIL (src)
browse in interface ServerIL (src) dc - Description of Parameterdest - Description of Parameterselector - Description of Parameter
java.lang.Exception - Description of Exception
public void checkID(java.lang.String ID)
throws java.lang.Exception
ServerIL (src)
checkID in interface ServerIL (src) ID - a clientID set by the client.
java.lang.Exception - if the clientID was not vallid.
public java.lang.String checkUser(java.lang.String userName,
java.lang.String password)
throws java.lang.Exception
ServerIL (src)
checkUser in interface ServerIL (src) userName - a valid user name that the StateManager knows about.password - a password
java.lang.Exception - Description of Exception
public ServerIL (src) cloneServerIL()
throws java.lang.Exception
ServerIL (src)
cloneServerIL in interface ServerIL (src) java.lang.Exception - Description of Exception
public void connectionClosing(ConnectionToken (src) dc)
throws java.lang.Exception
ServerIL (src)
connectionClosing in interface ServerIL (src) dc - Description of Parameter
java.lang.Exception - Description of Exception
public Queue (src) createQueue(ConnectionToken (src) dc,
java.lang.String dest)
throws java.lang.Exception
ServerIL (src)
createQueue in interface ServerIL (src) dc - Description of Parameterdest - Description of Parameter
java.lang.Exception - Description of Exception
public Topic (src) createTopic(ConnectionToken (src) dc,
java.lang.String dest)
throws java.lang.Exception
ServerIL (src)
createTopic in interface ServerIL (src) dc - Description of Parameterdest - Description of Parameter
java.lang.Exception - Description of Exception
public void deleteTemporaryDestination(ConnectionToken (src) dc,
SpyDestination (src) dest)
throws java.lang.Exception
ServerIL (src)
deleteTemporaryDestination in interface ServerIL (src) dc - Description of Parameterdest - Description of Parameter
java.lang.Exception - Description of Exception
public void destroySubscription(ConnectionToken (src) dc,
DurableSubscriptionID (src) id)
throws java.lang.Exception
ServerIL (src)
destroySubscription in interface ServerIL (src) id - Description of Parameter
java.lang.Exception - Description of Exception
public java.lang.String getID()
throws java.lang.Exception
ServerIL (src)
getID in interface ServerIL (src) java.lang.Exception - Description of Exception
public TemporaryQueue (src) getTemporaryQueue(ConnectionToken (src) dc)
throws java.lang.Exception
ServerIL (src)
getTemporaryQueue in interface ServerIL (src) dc - Description of Parameter
java.lang.Exception - Description of Exception
public TemporaryTopic (src) getTemporaryTopic(ConnectionToken (src) dc)
throws java.lang.Exception
ServerIL (src)
getTemporaryTopic in interface ServerIL (src) dc - Description of Parameter
java.lang.Exception - Description of Exception
public void ping(ConnectionToken (src) dc,
long clientTime)
throws java.lang.Exception
ServerIL (src)
ping in interface ServerIL (src) dc - Description of ParameterclientTime - Description of Parameter
java.lang.Exception - Description of Exception
public SpyMessage (src) receive(ConnectionToken (src) dc,
int subscriberId,
long wait)
throws java.lang.Exception
ServerIL (src)
receive in interface ServerIL (src) dc - Description of ParametersubscriberId - Description of Parameterwait - Description of Parameter
java.lang.Exception - Description of Exception
public void setConnectionToken(ConnectionToken (src) newConnectionToken)
throws java.lang.Exception
setConnectionToken in interface ServerIL (src) newConnectionToken - org.jboss.mq.ConnectionToken
java.lang.Exception - The exception description.
public void setEnabled(ConnectionToken (src) dc,
boolean enabled)
throws java.lang.Exception
ServerIL (src)
setEnabled in interface ServerIL (src) dc - The new Enabled valueenabled - The new Enabled value
java.lang.Exception - Description of Exception
public void subscribe(ConnectionToken (src) dc,
Subscription (src) s)
throws java.lang.Exception
subscribe in interface ServerIL (src) dc - org.jboss.mq.ConnectionTokens - org.jboss.mq.Subscription
java.lang.Exception - The exception description.
public void transact(ConnectionToken (src) dc,
TransactionRequest (src) t)
throws java.lang.Exception
ServerIL (src)
transact in interface ServerIL (src) dc - Description of Parametert - Description of Parameter
java.lang.Exception - Description of Exception
public void unsubscribe(ConnectionToken (src) dc,
int subscriptionId)
throws java.lang.Exception
ServerIL (src)
unsubscribe in interface ServerIL (src) dc - Description of ParametersubscriptionId - Description of Parameter
java.lang.Exception - Description of Exception
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||