Package org.zeromq
Class ZMonitor.ZEvent
- java.lang.Object
-
- org.zeromq.ZMonitor.ZEvent
-
- Enclosing class:
- ZMonitor
public static final class ZMonitor.ZEvent extends java.lang.Object
High-level representation of an event.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
address
The address of the source of the event.int
code
The numerical code of the event.private static ZMonitor.Event[]
EVENTVALUES
ZMonitor.Event
type
The type of the event.java.lang.String
value
String representation of the event value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
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 java.lang.String address
The address of the source of the event.
-
value
public final java.lang.String value
String representation of the event value. Nature of the value depends on the type of event. May be null
-
-