Package org.apache.qpid.proton.engine
Class TransportResultFactory
- java.lang.Object
-
- 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
Constructors Constructor Description TransportResultFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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)
-
-