|
XML Connector API 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a Dispatcher.
This object will allow invocation for various backends. Any application can use this object to send Request (predefined) to a particular backend
| Method Summary | |
void |
close()
Releases all resources associated with this object. |
com.baan.ow.xmlconnector.dispatcher.IRequest |
newRequest()
Produces a new request to send to this BAC backend. |
com.baan.ow.xmlconnector.dispatcher.IRequest |
newRequest(org.w3c.dom.Element p_request)
Produces a new request to send to this BAC backend. |
void |
setTimeout(int p_timeout)
Sets how long to wait for a response from the backend. |
| Method Detail |
public com.baan.ow.xmlconnector.dispatcher.IRequest newRequest()
The new empty request object returned provides methods for filling the request and sending it.
Threading policy: Unsafe
null)public com.baan.ow.xmlconnector.dispatcher.IRequest newRequest(org.w3c.dom.Element p_request)
The request object returned provides methods for filling the request and sending it.
Threading policy: Unsafe
p_request - the Element that creates a new Request object
null)public void setTimeout(int p_timeout)
By default the timeout configured for the Adapter Client is used.
Postconditions: The timeout is set for all BAC request.
Threading policy: Unsafe
p_timeout - the time (in milliseconds) to wait for responses from the backend. Must be greater than 0.public void close()
All API objects produced (directly or indirectly) by this object become
unusable. For example, an IReply received from an IRequest
produced by this object would become unusable.
Postconditions: All resources are released. This object cannot be used again.
Threading policy: Unsafe
|
XML Connector API 6.0.2.61 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||