Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public class ServiceData { /*...*/ }
  2. public class EchoData extends ServiceData { /*...*/ }
  3.  
  4. public abstract class Service {
  5. protected abstract ServiceResponse onExecute(ServiceData data) throws Exception;
  6. }
  7.  
  8. public class EchoService extends Service {
  9. @Override
  10. protected ServiceResponse onExecute(EchoData data) throws Exception {
  11. return null;
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement