|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportAgent
Transport Agent interface. Implementing classes can use different media to communicate with the SyncML server.
Method Summary | |
---|---|
java.lang.String |
getResponseDate()
Get the last response date |
java.lang.String |
sendMessage(java.lang.String request)
|
java.lang.String |
sendMessage(java.lang.String request,
java.lang.String charset)
|
void |
setRequestURL(java.lang.String requestUrl)
Set the request's url |
void |
setRetryOnWrite(int retries)
Sets the number of writing tentatives for the the implementing transport agent |
Method Detail |
---|
java.lang.String sendMessage(java.lang.String request, java.lang.String charset) throws CodedException
request
- Message to sendcharset
- charset to use
SyncException
CodedException
java.lang.String sendMessage(java.lang.String request) throws CodedException
request
- Message to send
SyncException
CodedException
void setRetryOnWrite(int retries)
void setRequestURL(java.lang.String requestUrl)
requestURL
- the request's destination urljava.lang.String getResponseDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |