|
Joram 5.0.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.soap.SoapConnection
public class SoapConnection
A SoapConnection
links a Joram client and a Joram platform
with HTTP connections.
Requests and replies travel through the connections in SOAP (XML) format.
Constructor Summary | |
---|---|
SoapConnection(FactoryParameters factParams2,
java.lang.String name2,
java.lang.String password2)
Creates a SoapConnection instance. |
Method Summary | |
---|---|
void |
close()
Closes the SoapConnection . |
void |
connect()
|
AbstractJmsReply |
receive()
|
void |
send(AbstractJmsRequest request)
Sending a JMS request through the SOAP protocol. |
void |
setTimer(java.util.Timer timer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoapConnection(FactoryParameters factParams2, java.lang.String name2, java.lang.String password2) throws javax.jms.JMSException
SoapConnection
instance.
params
- Factory parameters.name
- Name of user.password
- Password of user.
javax.jms.JMSSecurityException
- If the user identification is incorrrect.
javax.jms.IllegalStateException
- If the server is not reachable.
javax.jms.JMSException
Method Detail |
---|
public void setTimer(java.util.Timer timer)
setTimer
in interface RequestChannel
public void connect() throws java.lang.Exception
connect
in interface RequestChannel
java.lang.Exception
public void send(AbstractJmsRequest request) throws java.lang.Exception
send
in interface RequestChannel
javax.jms.IllegalStateException
- If the SOAP service fails.
java.lang.Exception
public void close()
SoapConnection
.
close
in interface RequestChannel
public AbstractJmsReply receive() throws java.lang.Exception
receive
in interface RequestChannel
java.lang.Exception
|
Joram 5.0.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |