|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsofttranslator.api.v1.soap_svc.SoapCallbackHandler
public abstract class SoapCallbackHandler
SoapCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
Field Summary | |
---|---|
protected java.lang.Object |
clientData
|
Constructor Summary | |
---|---|
SoapCallbackHandler()
Please use this constructor if you don't want to set any clientData |
|
SoapCallbackHandler(java.lang.Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called. |
Method Summary | |
---|---|
java.lang.Object |
getClientData()
Get the client data |
void |
receiveErrordetect(java.lang.Exception e)
auto generated Axis2 Error handler override this method for handling error response from detect operation |
void |
receiveErrorgetLanguageNames(java.lang.Exception e)
auto generated Axis2 Error handler override this method for handling error response from getLanguageNames operation |
void |
receiveErrorgetLanguages(java.lang.Exception e)
auto generated Axis2 Error handler override this method for handling error response from getLanguages operation |
void |
receiveErrortranslate(java.lang.Exception e)
auto generated Axis2 Error handler override this method for handling error response from translate operation |
void |
receiveResultdetect(SoapStub.DetectResponse result)
auto generated Axis2 call back method for detect method override this method for handling normal response from detect operation |
void |
receiveResultgetLanguageNames(SoapStub.GetLanguageNamesResponse result)
auto generated Axis2 call back method for getLanguageNames method override this method for handling normal response from getLanguageNames operation |
void |
receiveResultgetLanguages(SoapStub.GetLanguagesResponse result)
auto generated Axis2 call back method for getLanguages method override this method for handling normal response from getLanguages operation |
void |
receiveResulttranslate(SoapStub.TranslateResponse result)
auto generated Axis2 call back method for translate method override this method for handling normal response from translate operation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object clientData
Constructor Detail |
---|
public SoapCallbackHandler(java.lang.Object clientData)
clientData
- Object mechanism by which the user can pass in user data
that will be avilable at the time this callback is called.public SoapCallbackHandler()
Method Detail |
---|
public java.lang.Object getClientData()
public void receiveResultdetect(SoapStub.DetectResponse result)
public void receiveErrordetect(java.lang.Exception e)
public void receiveResulttranslate(SoapStub.TranslateResponse result)
public void receiveErrortranslate(java.lang.Exception e)
public void receiveResultgetLanguageNames(SoapStub.GetLanguageNamesResponse result)
public void receiveErrorgetLanguageNames(java.lang.Exception e)
public void receiveResultgetLanguages(SoapStub.GetLanguagesResponse result)
public void receiveErrorgetLanguages(java.lang.Exception e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |