libevent $ NativeEvent :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Pointer :: defaultinit
core :: Object :: defaultinit
libevent :: NativeEvent :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# Event, libevent's basic unit of operation
extern class NativeEvent `{ struct event * `}
# Add to the set of pending events
#
# TODO support timeout
fun add `{ event_add(self, NULL); `}
# Remove from the set of monitored events
fun del `{ event_del(self); `}
redef fun free `{ event_free(self); `}
end
lib/libevent/libevent.nit:118,1--130,3