Skip to content

Event API #25

Description

@ProjectMoon

Jython has the ability to turn Java event handling into Pythonic event-handling constructs. If you have an event-handling interface that extends EventListener, and then provide an addListener method to a given object, Jython will automagically convert the event listener's methods to properties of the object that take a Python function as a parameter.

This technology should be leveraged for the event-handling framework if at all possible. It is more intuitive than the "query language" idea that is currently kicking around in the RingMUD code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions