Created
November 24, 2014 03:09
-
-
Save shirish87/daeb785447a182272b4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface SerialOp<T, U> { | |
public SerialHandler getHandler(); | |
public void setHandler(SerialHandler handler); | |
public abstract void execute(T arg1, U arg2); | |
public void onSuccess(); | |
public void onFailure(FailureType type, String reason); | |
public void onComplete(); | |
public long getTimeout(); | |
public String getTag(); | |
public boolean autoDequeue(); | |
public boolean ignoreErrors(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment