# File ../lib/fox/responder2.rb, line 31 def pconnect(messageType, callableObject, block) if callableObject.nil? @blocks[messageType] = block else @blocks[messageType] = callableObject end FXMAPTYPE(messageType, :onHandleMsg) case messageType when SEL_TIMEOUT @@targets_of_pending_timers[self] = self when SEL_CHORE @@targets_of_pending_chores[self] = self when SEL_SIGNAL @@targets_of_pending_signals[self] = self when SEL_IO_READ, SEL_IO_WRITE, SEL_IO_EXCEPT @@targets_of_pending_inputs[self] = self end end