--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Add a callback that will be called when there is action regarding SOCKS stream-hosts
- !ruby/struct:SM::Flow::P 
  body: Usage of this callback is optional and serves informational purposes only.
- !ruby/struct:SM::Flow::P 
  body: "block takes three arguments:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: The StreamHost instance that is currently being tried
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: State information (is either :connecting, :authenticating, :success or :failure)
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: The exception value for the state :failure, else nil
  type: :BULLET
full_name: Jabber::Bytestreams::SOCKS5Bytestreams#add_streamhost_callback
is_singleton: false
name: add_streamhost_callback
params: (priority = 0, ref = nil, &block)
visibility: public
