|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.jms.administration.mipc.IpcJmsAdminConnection
org.exolab.jms.administration.http.HttpJmsAdminConnection
public class HttpJmsAdminConnection
This class is repsonsible for opening an http connection to the server and passing and packing all requests for delivery.
HttpClient| Constructor Summary | |
|---|---|
HttpJmsAdminConnection(java.lang.String host,
int port,
java.lang.String path,
java.lang.String username,
java.lang.String password)
Create the connection to the server |
|
| Method Summary | |
|---|---|
void |
close()
Close the connection. |
protected java.lang.String |
getPath()
Returns the admin servlet path |
protected java.lang.String |
getURL(java.lang.String scheme,
java.lang.String host,
int port)
Returns the admin servlet URL |
protected void |
openConnection()
Create HTTP client connection. |
| Methods inherited from class org.exolab.jms.administration.mipc.IpcJmsAdminConnection |
|---|
addDestination, addDurableConsumer, addUser, changePassword, connect, createClientConnection, destinationExists, durableConsumerExists, getAllDestinations, getAllUsers, getConnection, getDurableConsumerMessageCount, getDurableConsumers, getHost, getPort, getQueueMessageCount, isConnected, purgeMessages, removeDestination, removeDurableConsumer, removeUser, setConnection, stopServer, unregisterConsumer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpJmsAdminConnection(java.lang.String host,
int port,
java.lang.String path,
java.lang.String username,
java.lang.String password)
throws javax.jms.JMSException
host - the webserver hostport - the webserver portpath - the admin servlet path. May be nullusername - the admin user namepassword - the admin password
javax.jms.JMSException - if a connection cannot be established| Method Detail |
|---|
public void close()
JmsAdminServerIfc
close in interface JmsAdminServerIfcclose in class IpcJmsAdminConnection
protected void openConnection()
throws javax.jms.JMSException
openConnection in class IpcJmsAdminConnectionhost - The client to connect toport - The port used to connect to the client above
javax.jms.JMSException - If the connection fails.protected java.lang.String getPath()
protected java.lang.String getURL(java.lang.String scheme,
java.lang.String host,
int port)
scheme - the connection protocolhost - the webserver hostport - the webserver port
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||