|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface TransportInterface
The TransportInterface interface provides common behavior for delivery transports when retrieving and publishing result packages. A delivery transport is a method of delivering a result set package to the consumer. Each delivery transport provides a mechanism for publishing the result package and retrieving a result package. How the result package is delivered is transport-specific. Supported delivery transports include:
TransportFactory| Method Summary | |
|---|---|
abstract org.apache.logging.log4j.Logger |
getLogger()
Deprecated. The Logging Service has been deprecated. Use Log4J directly instead of calling this method to get the Logging Service logger. |
abstract ResultPackageInterface |
getResultPackage()
Retrieves an existing result package for browsing. |
abstract SessionContextInterface |
getSessionContext()
Returns the session context. |
abstract EventDataInterface |
publishResultPackage(ResultPackageInterface rpkg,
boolean buildEvent)
Publish the result package. |
abstract void |
setLogger(org.apache.logging.log4j.Logger logger)
Deprecated. The Logging Service has been deprecated. Use Log4J directly instead of calling this method to set the Logging Service logger. |
| Method Detail |
|---|
ResultPackageInterface getResultPackage()
throws TransportException
ResultPackageInterface The existing result package to browse.
TransportException - If the transport encounters an error
retrieving the package.
EventDataInterface publishResultPackage(ResultPackageInterface rpkg,
boolean buildEvent)
throws TransportException
true, the SASPackage XML event is created and returned
in the event data. The SASPackage event body describes the published result package.
See SASPackage
Event Usage for more details.
rpkg - The result package to publish.buildEvent - true if the SASPackage event
should be created and returned after the
result package is published. If set to false,
the event body will not be created and null
will be returned.
EventDataInterface The event data is returned if buildEvent is
set to true. If buildEvent is set
to false, this will be null. The
event data includes the event body, as well as the
event persistence information.
TransportException - If the transport encounters an error
publishing the package.SessionContextInterface getSessionContext()
The session context will also be used by the transports to track any retrieved result packages. If the tracked result package is not closed prior to session context destruction, it will be closed when the session context is destroyed.
SessionContextInterface The session context;
may be null if not previously set.void setLogger(org.apache.logging.log4j.Logger logger)
The logger provided on this method will override the current logger being utilized by the publish services.
logger - The logger.org.apache.logging.log4j.Logger getLogger()
LoggerInterface The logger that is being used by the publish services
for logging purposes.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||