org.objectweb.jotm.btp.client
Class BtpClient
java.lang.Object
org.objectweb.jotm.btp.client.BtpClient
- public class BtpClient
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BtpClient
public BtpClient()
sendReceive
public BtpMessage sendReceive(String endpointURL,
BtpMessage msg)
throws Exception
- Throws:
Exception
sendCtxApp
public BtpMessage sendCtxApp(String endpointURL,
Context ctx,
BtpMessage app)
throws Exception
- Throws:
Exception
begin
public BtpMessage begin(String endpointURL)
throws Exception
- Throws:
Exception
begin
public BtpMessage begin(String endpointURL,
boolean atom)
throws Exception
- Throws:
Exception
confirmTransaction
public BtpMessage confirmTransaction(String endpointURL,
Context ctx)
throws Exception
- Throws:
Exception
cancelTransaction
public BtpMessage cancelTransaction(String endpointURL,
Context ctx)
throws Exception
- Throws:
Exception
setLogFormat
public void setLogFormat(String fmt)
setLogMessages
public void setLogMessages(boolean log)
getLastOutgoing
public String getLastOutgoing()
getLastIncoming
public String getLastIncoming()
main
public void main(String[] args)