Sha256: 6b32227f9a9615750ff9297dabe5615f23d0e75df0051653c9cfe65c2c4fe39a
Contents?: true
Size: 450 Bytes
Versions: 6
Compression:
Stored size: 450 Bytes
Contents
module GameMachine class SystemMonitor < Actor::Base def post_init(*args) end def preStart #getContext.system.eventStream.subscribe(getSelf, JavaLib::DeadLetter.java_class) end def on_receive(message) if message.is_a?(JavaLib::DeadLetter) #GameMachine.logger.debug("DeadLetter #{message.message}") else #GameMachine.logger.info("Unrecognized message #{message}") end end end end
Version data entries
6 entries across 6 versions & 1 rubygems