Module proton :: Class Session
[frames] | no frames]

Class Session

source code

object --+    
         |    
  Endpoint --+
             |
            Session

Instance Methods
 
__init__(self, ssn)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
free(self)
Release the Session, freeing its resources.
source code
 
outgoing_bytes(self) source code
 
incoming_bytes(self) source code
 
open(self) source code
 
close(self) source code
 
next(self, mask) source code
 
state(self) source code
 
connection(self) source code
 
sender(self, name) source code
 
receiver(self, name) source code

Inherited from Endpoint: remote_condition

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  incoming_capacity = property(_get_incoming_capacity, _set_inco...

Inherited from Endpoint: LOCAL_ACTIVE, LOCAL_CLOSED, LOCAL_UNINIT, REMOTE_ACTIVE, REMOTE_CLOSED, REMOTE_UNINIT

Properties

Inherited from object: __class__

Method Details

__init__(self, ssn)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

free(self)

source code 

Release the Session, freeing its resources.

Call this when you no longer need the session. This will allow the session's resources to be reclaimed. Once called, you should no longer reference the session.

outgoing_bytes(self)

source code 
Decorators:
  • @property

incoming_bytes(self)

source code 
Decorators:
  • @property

state(self)

source code 
Decorators:
  • @property

connection(self)

source code 
Decorators:
  • @property

Class Variable Details

incoming_capacity

Value:
property(_get_incoming_capacity, _set_incoming_capacity)