com.aia_itp.itpdsapi
The ITPDSExchangeData interface provides for receiving name - value pair data from the ITP/Server server.
This interface is used to exchange data via the exchange_data(key, value, time-out) function.
import com.aia_itp.itpdsapi.*;
class MyClass implements ITPDSExchangeData {
....
public String ITPDSExchangeData(String Key, String Value){
return "my_own_data";
}
....
}
public java.lang.String ITPDSExchangeData(java.lang.String ID, java.lang.String Data)
Method called when the ITP/Server server executes an exchange_data(Key, Value, Time-out) function call. This method should return an (optionally empty) string to the server.
Key: The k parameter as passed in the exchange_data function.
Value: The v parameter as passed in the exchange_data function.