Class: Client::Monitor
- Inherits:
-
Object
- Object
- Client::Monitor
- Defined in:
- lib/tcp_server/client.rb
Overview
The Monitor class
Instance Method Summary collapse
Instance Method Details
#channel_registered(ctx) ⇒ Object
563 564 565 |
# File 'lib/tcp_server/client.rb', line 563 def channel_registered(ctx) log.info "Channel registered: #{ctx.channel}" end |
#exception_caught(ctx, cause) ⇒ Object
559 560 561 |
# File 'lib/tcp_server/client.rb', line 559 def exception_caught(ctx, cause) log.warn "Unexpected exception from downstream channel #{ctx.channel}: #{cause.}" end |