Back to project page android-sqlite-server.
The source code is released under:
Apache License
If you think the Android project android-sqlite-server listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.devtcg.sqliteserver.impl.binder.protocol; /*w ww . j av a 2 s . com*/ import android.os.Bundle; import org.devtcg.sqliteserver.exception.SQLiteServerException; import org.devtcg.sqliteserver.impl.SQLiteExecutor; import org.devtcg.sqliteserver.impl.binder.ClientTransactor; import org.devtcg.sqliteserver.impl.binder.ServerImpl; public class SetTransactionSuccessfulCommand { public static class SetTransactionSuccessfulMessage extends AbstractCommandMessage { public SetTransactionSuccessfulMessage(ClientTransactor transactor) { super(transactor, MethodName.SET_TRANSACTION_SUCCESSFUL); } @Override protected Bundle onBuildRequest(Bundle request) { return request; } @Override protected void onParseResponse(Bundle response) { // Nothing to do... } } public static class SetTransactionSuccessfulHandler extends AbstractCommandHandler { public SetTransactionSuccessfulHandler(ServerImpl serverImpl) { super(serverImpl); } @Override protected Bundle onHandle(Bundle request) { getExecutor().setTransactionSuccessful(); return null; } } }