org.apache.qpid.proton.engine
Class TransportResultFactory

java.lang.Object
  extended by org.apache.qpid.proton.engine.TransportResultFactory

public class TransportResultFactory
extends java.lang.Object

Creates TransportResults. Only intended for use by internal Proton classes. This class resides in the api module so it can be used by both proton-j-impl and proton-jni.


Constructor Summary
TransportResultFactory()
           
 
Method Summary
static TransportResult error(java.lang.Exception e)
           
static TransportResult error(java.lang.String errorDescription)
           
static TransportResult error(java.lang.String format, java.lang.Object... args)
           
static TransportResult ok()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportResultFactory

public TransportResultFactory()
Method Detail

ok

public static TransportResult ok()

error

public static TransportResult error(java.lang.String format,
                                    java.lang.Object... args)

error

public static TransportResult error(java.lang.String errorDescription)

error

public static TransportResult error(java.lang.Exception e)