Giter Club home page Giter Club logo

ackack's Introduction

Ack Ack

de.qabel.ackack.Actor library

ackack's People

Contributors

gottox avatar l-henke avatar

Watchers

Oliver Weidner avatar  avatar James Cloos avatar Jens Kadenbach avatar  avatar Jan S avatar  avatar Julian Seeger avatar Markus Thimm avatar  avatar Fabian Träger avatar  avatar  avatar  avatar Nermin Nicevic avatar  avatar

Forkers

l-henke jogir

ackack's Issues

Add zero copy post

post always copies the posted object. This is slow and might be unwanted sometimes. I think that there should be additional methods that allow to hand over an object instead of a copy.

Add locking

Ackack should support a way of locking objects while they are changed by an Actor.

Publish with maven

ackack needs to be accessible with maven. We need this for qabel-core

Make the event types more robust

I think that the event type should be an Integer and not a string, because it is probably faster to switch on an integer than on a string. This is widely used in other event systems (e.g. Android request codes in startActivityForResult)

Actor needs onStart method

instead of overwriting the run() method and call super(), it's nicer to have an onStart() method which is called (either in the calling or in the actor Thread) just before the thread starts processing events.

move answer() tests to own method

Currently the test suite tests multiple features in a single function. The answer feature should not tested together with a basic post() or emit() test.

Move the test of answer() to a dedicated test method.

The idea behind this is if answer is buggy, we will have a test which tells us, that answer is buggy. In the current situation we just get the information, that something is wrong with emit (for EventActor) or post (for Actor). It is okay to duplicate the post test and add the answer methods there.

In general: It's not a good idea to change working tests at all! Add a new test if you test a new feature.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.