Changeset 711
- Timestamp:
- 06/20/08 16:37:38 (4 months ago)
- Files:
-
- trunk/lib/jeventmachine.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jeventmachine.rb
r668 r711 42 42 LoopbreakSignalled = 105 43 43 44 class EM < com.rubyeventmachine.EmReactor 44 # This thunk class used to be called EM, but that caused conflicts with 45 # the alias "EM" for module EventMachine. (FC, 20Jun08) 46 class JEM < com.rubyeventmachine.EmReactor 45 47 def eventCallback a1, a2, a3 46 48 s = String.from_java_bytes(a3.array[a3.position...a3.limit]) … … 49 51 end 50 52 def self.initialize_event_machine 51 @em = EM.new53 @em = JEM.new 52 54 end 53 55 def self.release_machine … … 103 105 :java 104 106 end 107 108 class Connection 109 def associate_callback_target sig 110 # No-op for the time being 111 end 112 end 105 113 end 106 114
