Class: Qpid::Management::Connection

Inherits:
BrokerObject show all
Defined in:
lib/qpid_management/connection.rb

Overview

Representation of a client connection. Properties include:

  • SystemConnection

  • address

  • authIdentity

  • bytesFromClient

  • bytesToClient

  • closing

  • federationLink

  • framesFromClient

  • framesToClient

  • incoming

  • msgsFromClient

  • msgsToClient

  • remoteParentPid

  • remotePid

  • remoteProcessName

  • remoteProperties

  • saslMechanism

  • saslSsf

  • shadow

  • userProxyAuth

  • vhostRef

Instance Attribute Summary

Attributes inherited from BrokerObject

#content

Instance Method Summary collapse

Methods inherited from BrokerObject

#[], #created_at, #deleted_at, #id, #initialize, #invoke_method, #method_missing, qmf_class, #refresh!, #short_id, #to_s, #updated_at

Constructor Details

This class inherits a constructor from Qpid::Management::BrokerObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Qpid::Management::BrokerObject

Instance Method Details

#closeObject

Closes this connection to the broker



46
47
48
# File 'lib/qpid_management/connection.rb', line 46

def close
  invoke_method('close', {}, "org.apache.qpid.broker:connection:#{address}")
end