Class: Inform::Daemons::Entheogen

Inherits:
System::Object show all
Defined in:
lib/runtime/daemon.rb

Overview

The Inform::Daemons::Entheogen class encapsulates a heartbeat which is a ScheduledFuture created by the Heart executor and instantiated when Inform::Daemons.start is executed.

Constant Summary

Constants inherited from System::Object

System::Object::Instances

Constants included from Inform::Daemons

DaemonExecutionElapsedMessage, DaemonScanElapsedMessage, RecordNotFoundPattern

Constants included from Prototypical

Prototypical::AccessorMethodTemplate, Prototypical::LinkPattern, Prototypical::MISSING_PROPERTIES_MESSAGE, Prototypical::MethodBooleanOrBangPattern, Prototypical::MethodWriterPattern, Prototypical::MethodWriterTemplate, Prototypical::VariableTemplate, Prototypical::WriterMethodTemplate

Constants included from Subscribers

Subscribers::REGISTRY

Constants included from Events

Events::DEFAULT_ADD_EVENT_PARAMS, Events::REGISTRY, Events::THREADS_PER_PROCESSOR

Constants included from IO

IO::ItemPaddingString, IO::MinimumCellPadding, IO::MinimumColumnPadding, IO::MinimumLineLength

Constants included from Inform

Inform::Dictionary, INFORM_DIR_PATH, LIB_DIR_PATH, MethodDefinitionPattern, MethodTerminationPattern, NOUN, PLURAL, PREPOSITION, PROJECT_DIR_PATH, RUNTIME_DIR_PATH, SystemObjects, VERB, VERSION, VN_1610

Constants included from Color

Color::BackgroundColorCodes, Color::ColorCodes, Color::NearestColor, Color::StyleCodes

Constants included from Articles

Articles::LowercaseASpaceString, Articles::LowercaseSomeSpaceString, Articles::LowercaseTheSpaceString

Instance Attribute Summary collapse

Attributes inherited from System::Object

#created_at, #description, #display_name, #inflib, #links, #modified_at, #modules, #properties, #short_name, #tags, #visited

Method Summary

Methods inherited from System::Object

#<<, #<=>, #[], #_get_object, #_set_object, all, #ancestors, #children, clear, #descendants, #empty?, #find_link, #id, #index_obj, #init, #initialize, #inspect, #link, #linked?, #linksfrom, #linkto, #list_together, #location, #name, #name_words, #object_name, #object_type, #parent, #parent=, #parse, #refresh, #remove, #root, #save, #tag, #to_hash, #to_s, #unlink, #untag

Methods included from Inform::Daemons

#StartDaemon, #StartTimer, #StopDaemon, #StopTimer, #before_destroy, #daemonic?, #daemonize, daemons, ensure_inform_library, execute, execute_daemon, execute_each_turn, #ghost, #heart, #init_heart, #occasionally, #on?, refresh_or_remove, #rescan, scan_objects, #schedules, #spawn, start, stop

Methods included from Genealogical

#>, #all?, #any?, #branch, #child, #children, #collect, #concat, #count, #delete_if, #each, #each_with_object, #find, #find_all, #having, #in?, #include?, #map, #notin?, #reject, #select, #sibling, #siblings, #within?

Methods included from Taggable

#nil_safe_tags, #tag, #tag_names, #tagged_with?, #tagged_with_all?, #tagged_with_any?, #tagged_with_none?, #untag

Methods included from TagHelpers

#attributes, #has, #has?, #hasany?, #hasnt, #hasnt?

Methods included from Linkable

#_set_object, #link, #linked?, #links, #linksfrom, #linkto, #unlink

Methods included from Prototypical

#&, #_assign, #_get, #_set, #accessor_and_writer, #context_event, #ensure_properties_attribute!, #instance_variables_map, #key_refers_to_link?, #method_missing, #prototype, #string?, #values, #|

Methods included from Publisher

#muted?, #publish, #publish_except, #publish_only, #publish_system_message, #subscribers

Methods included from Subscribers

#explicit_subscribers, #subscribe, #subscribers, #unsubscribe, #unsubscribe_all

Methods included from Events

#active?, active_objects, #add_event, available_processors, #contextualize, #delay, each, #elementally, #event, #events, #immediately, init_java_pool, init_java_pooled_executor, init_java_scheduled_executor, init_java_scheduler, init_pool, init_scheduled_executor, init_scheduler, #interrupt, object_events, pool, pooled_executor, possibilities, #register_callback, scheduled_executor, scheduler

Methods included from IO

#connections, #flush_io, #inform, #many_per_line, #new_line, #noop, #out, #output_stream, #print, #println, #prompt, #read, #reset_prompt, #session, #spaces, #tidy_output

Methods included from Inform

Grammar, #apply_instance_behavior!, attributes, #builder, #classification, #compass, #content, context, context_class, #context_proxy, #current_word, #deadflag, #deadflag=, #dict_par1, #dictionary, #disrobe, #drop, #emote, #ensure_behavior_module!, #extend_and_persist, #findobject, #getobject, #go, #initial, initialize_persistence_layer, #language_descriptors, #language_pronouns, #library_method?, #life?, #light_adjusted, load_grammar, load_grammar_by_path, #method_source, #nothing, #num_words, #number, #objectloop, #ofclass, #pause, prime_dictionary, #provides?, #quit, #randomly, #react_after?, #react_before?, #remaining_words, #resembles_method?, #run_daemons, #say, #score, #score=, #search, #special, #the_time, #the_time=, #things_score, #things_score=, #to_s, #topic, unload_grammars!, #visibility_ceiling=, #with, #workflags

Methods included from Plurals

#apply_inflections, #plural?, #pluralize, #singular?, #singularize

Methods included from Color

#background_color, #color, #nearest_color, #style, #un_background_color, #un_color, #un_style

Methods included from Articles

#A, #Cthatorthose, #Ctheyreorthats, #The, #a, #cthatorthose, #ctheyreorthats, #defart, #indefart, #isorare, #itorthem, #thatorthose, #the

Constructor Details

This class inherits a constructor from Inform::System::Object

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Inform::Prototypical

Instance Attribute Details

#heartbeatObject

Returns the value of attribute heartbeat.



105
106
107
# File 'lib/runtime/daemon.rb', line 105

def heartbeat
  @heartbeat
end