class ActorHandlerBase extends Handler {

    boolean sendTransaction(@NonNull Transaction transaction) {
        final int id;
        synchronized (this) {
            if (mLastId == -1) {
                return false;
            }
            id = ++mLastId;
        }

        return sendMessage(obtainMessage(MSG_TRANSACTION, id, 0, transaction));
    }

      ActorHandlerBase(Looper looper, long stopDelay, @Nullable PowerManager.WakeLock wakeLock);

}