Class Event

java.lang.Object
org.apache.mina.statemachine.event.Event

public class Event extends Object
Represents an event which typically corresponds to a method call on a proxy. An event has an id and zero or more arguments typically corresponding to the method arguments.
  • Field Details

  • Constructor Details

    • Event

      public Event(Object id, StateContext context)
      Creates a new Event with the specified id and no arguments.
      Parameters:
      id - the event id.
      context - the StateContext the event was triggered for.
    • Event

      public Event(Object id, StateContext context, Object[] arguments)
      Creates a new Event with the specified id and arguments.
      Parameters:
      id - the event id.
      context - the StateContext the event was triggered for.
      arguments - the event arguments.
  • Method Details