Package org.zeromq

Class ZMonitor.ZEvent

java.lang.Object
org.zeromq.ZMonitor.ZEvent
Enclosing class:
ZMonitor

public static final class ZMonitor.ZEvent extends Object
High-level representation of an event.
  • Field Details

    • EVENTVALUES

      private static final ZMonitor.Event[] EVENTVALUES
    • type

      public final ZMonitor.Event type
      The type of the event. (never null)
    • code

      public final int code
      The numerical code of the event. (useful in case of unrecognized event, in which case type is ALL)
    • address

      public final String address
      The address of the source of the event.
    • value

      public final String value
      String representation of the event value. Nature of the value depends on the type of event. May be null
  • Constructor Details

    • ZEvent

      private ZEvent(ZMsg msg)
    • ZEvent

      public ZEvent(ZMQ.Event event)
  • Method Details