Back to index

rabbitmq-server  2.8.4
Public Member Functions | Public Attributes
amqp_codegen.AmqpMethod Class Reference
Inheritance diagram for amqp_codegen.AmqpMethod:
Inheritance graph
[legend]
Collaboration diagram for amqp_codegen.AmqpMethod:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 klass
 index
 isSynchronous
 hasContent
 arguments
 element
 name

Detailed Description

Definition at line 205 of file amqp_codegen.py.


Constructor & Destructor Documentation

def amqp_codegen.AmqpMethod.__init__ (   self,
  klass,
  element 
)

Definition at line 206 of file amqp_codegen.py.

00206 
00207     def __init__(self, klass, element):
00208         AmqpEntity.__init__(self, element)
00209         self.klass = klass
00210         self.index = int(self.element['id'])
00211         if self.element.has_key('synchronous'):
00212             self.isSynchronous = self.element['synchronous']
00213         else:
00214             self.isSynchronous = False
00215         if self.element.has_key('content'):
00216             self.hasContent = self.element['content']
00217         else:
00218             self.hasContent = False
00219         self.arguments = []
00220 
00221         index = 0
00222         for argument in element['arguments']:
00223             self.arguments.append(AmqpField(self, argument, index))
00224             index = index + 1
        

Member Function Documentation

Definition at line 225 of file amqp_codegen.py.

00225 
00226     def __repr__(self):
00227         return 'AmqpMethod("' + self.klass.name + "." + self.name + '" ' + repr(self.arguments) + ')'


Member Data Documentation

Definition at line 218 of file amqp_codegen.py.

Definition at line 173 of file amqp_codegen.py.

Definition at line 215 of file amqp_codegen.py.

Definition at line 209 of file amqp_codegen.py.

Definition at line 211 of file amqp_codegen.py.

Definition at line 208 of file amqp_codegen.py.

Definition at line 174 of file amqp_codegen.py.


The documentation for this class was generated from the following file: