Difference between revisions of "RPCService"
From OpenKM Documentation
(Created page with 'RPCService class defines all RPC constants service that can be used == Example == <source lang="java"> ServiceDefTarget endPoint = (ServiceDefTarget) mes…') |
|||
Line 5: | Line 5: | ||
ServiceDefTarget endPoint = (ServiceDefTarget) messageService; | ServiceDefTarget endPoint = (ServiceDefTarget) messageService; | ||
endPoint.setServiceEntryPoint(RPCService.MessageService); | endPoint.setServiceEntryPoint(RPCService.MessageService); | ||
− | messageService.deleteSent( | + | messageService.deleteSent(1, new AsyncCallback<Object>() { |
@Override | @Override | ||
public void onSuccess(Object result) { | public void onSuccess(Object result) { |
Revision as of 13:27, 8 December 2010
RPCService class defines all RPC constants service that can be used
Example
ServiceDefTarget endPoint = (ServiceDefTarget) messageService;
endPoint.setServiceEntryPoint(RPCService.MessageService);
messageService.deleteSent(1, new AsyncCallback<Object>() {
@Override
public void onSuccess(Object result) {
}
@Override
public void onFailure(Throwable caught) {
}
});