class ActorHandlerBase extends Handler {

    @Override
    public void handleMessage(@NonNull Message msg) {
        switch (msg.what) {
            case MSG_TRANSACTION:
                handleTransaction((Transaction) msg.obj, msg.arg1);
                break;
            case MSG_POISON_PILL:
                handlePoisonPill(msg.arg1);
                break;
        }
    }

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

}