|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Reads or modifies data in publisher and subscriber requests and responses. To implement this interface, you must implement the init() method from the Extension interface, as well as four additional methods that the driver shim calls at various points during data processing. Two of those points are on the subscriber channel, and two are on the publisher channel. All four methods receive a byte array and return a byte array. In general, if you need to only see the data and don't need to modify it, return the data parameter unmodified. If you want to deal with DOM Documents directly rather than use byte arrays, implement DocumentModifiers instead of this interface.
DocumentModifiers
Method Summary | |
byte[] |
modifyPublisherRequest(byte[] data)
Processes all data received by the application on the publisher channel before the data is processed by the shim. |
byte[] |
modifyPublisherResponse(byte[] data)
Processes the result (or response) of a publisher event before it is returned to the application. |
byte[] |
modifySubscriberRequest(byte[] data)
Processes all data that is sent to the application on the subscriber channel. |
byte[] |
modifySubscriberResponse(byte[] data)
Processes the result (or response) of a subscriber command before the shim returns the result to the engine. |
Methods inherited from interface com.novell.nds.dirxml.driver.soap.util.Extension |
init |
Method Detail |
public byte[] modifyPublisherRequest(byte[] data)
data
- The byte array received from the application on the publisher channel.
DocumentModifiers.modifyPublisherRequest(org.w3c.dom.Document)
public byte[] modifyPublisherResponse(byte[] data)
data
- The response data to be returned to the application in response to a publisher event.
DocumentModifiers.modifyPublisherResponse(org.w3c.dom.Document)
public byte[] modifySubscriberRequest(byte[] data)
data
- The data intended for the application.
DocumentModifiers.modifySubscriberRequest(org.w3c.dom.Document)
public byte[] modifySubscriberResponse(byte[] data)
data
- The byte array received from the application in response to a subscriber command.
DocumentModifiers.modifySubscriberResponse(org.w3c.dom.Document)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |