org.objectweb.jotm.btp.client
Class BtpClient

java.lang.Object
  extended byorg.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
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)