}
@Override
public void onComplete(final Context context, final Object data) throws IOException {
if (context.wasSuspended() || context.isManualIOEventControl()) {
final IOEvent ioEvent = context.getIoEvent();
final Connection connection = context.getConnection();
if (AsyncQueue.EXPECTING_MORE_OPTION.equals(data)) {
connection.simulateIOEvent(ioEvent);
} else {