Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ServiceData { /*...*/ }
- public class EchoData extends ServiceData { /*...*/ }
- public abstract class Service {
- protected abstract ServiceResponse onExecute(ServiceData data) throws Exception;
- }
- public class EchoService extends Service {
- @Override
- protected ServiceResponse onExecute(EchoData data) throws Exception {
- return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement