| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TransportManager
A singleton object that provides the main point of centralization for managing different transport providers, endpoint registration, control, processing of inbound and outbound messages, etc
| Field Summary | |
|---|---|
| static String | TRANSPORT_ERROR_GENERICString representation of generic error code | 
| static String | TRANSPORT_RESOURCE_NAMEinternal name used by monitoring subsystem | 
| static int | TRANSPORT_STATUS_ERRORtransport specific status code that indicates generic error | 
| static int | TRANSPORT_STATUS_OKtransport specific status code that indicates success | 
| Method Summary | |
|---|---|
|  Transformer | getTransformer() | 
|  void | receiveMessage(InboundTransportMessageContext ctx,
               TransportOptions options)Processes an inbound message: the caller is the transport endpoint implementation, and transport manager passes the message context down to the router manager, which sends the incoming message down the request pipeline. | 
|  void | registerProvider(TransportProvider p,
                 Transformer t)Registers a new provider with the transport manager. | 
| Field Detail | 
|---|
static final int TRANSPORT_STATUS_OK
static final int TRANSPORT_STATUS_ERROR
static final String TRANSPORT_RESOURCE_NAME
static final String TRANSPORT_ERROR_GENERIC
| Method Detail | 
|---|
void registerProvider(TransportProvider p,
                      Transformer t)
                      throws TransportException
p - new tramsport provider to be registered with ALSB subsystemt - transformer for those provider that support custom sources and
 tranbsformations. Maybe null.
TransportException
void receiveMessage(InboundTransportMessageContext ctx,
                    TransportOptions options)
                    throws TransportException
ctx - message context created by transport provideroptions - provider-supplied directives on processing the message, e.g.
        desired quality of service
TransportExceptionTransformer getTransformer()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||