org.objectweb.jotm.btp.client
Class BtpClient

java.lang.Object
  |
  +--org.objectweb.jotm.btp.client.BtpClient

public class BtpClient
extends Object


Constructor Summary
BtpClient()
           
 
Method Summary
 BtpMessage begin(String endpointURL)
           
 BtpMessage begin(String endpointURL, boolean atom)
           
 BtpMessage cancelTransaction(String endpointURL, Context ctx)
           
 BtpMessage confirmTransaction(String endpointURL, Context ctx)
           
 String getLastIncoming()
           
 String getLastOutgoing()
           
 void main(String[] args)
           
 BtpMessage sendCtxApp(String endpointURL, Context ctx, BtpMessage app)
           
 BtpMessage sendReceive(String endpointURL, BtpMessage msg)
           
 void setLogFormat(String fmt)
           
 void setLogMessages(boolean log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BtpClient

public BtpClient()
Method Detail

sendReceive

public BtpMessage sendReceive(String endpointURL,
                              BtpMessage msg)
                       throws Exception
Exception

sendCtxApp

public BtpMessage sendCtxApp(String endpointURL,
                             Context ctx,
                             BtpMessage app)
                      throws Exception
Exception

begin

public BtpMessage begin(String endpointURL)
                 throws Exception
Exception

begin

public BtpMessage begin(String endpointURL,
                        boolean atom)
                 throws Exception
Exception

confirmTransaction

public BtpMessage confirmTransaction(String endpointURL,
                                     Context ctx)
                              throws Exception
Exception

cancelTransaction

public BtpMessage cancelTransaction(String endpointURL,
                                    Context ctx)
                             throws Exception
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)