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
 
open(self) source code
 
close(self) source code
 
next(self, mask) source code
 
sender(self, name) source code
 
receiver(self, name) source code

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

Class Variables

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

Properties
  incoming_capacity
  outgoing_bytes
  incoming_bytes
  state
  connection

Inherited from Endpoint: remote_condition

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.


Property Details

incoming_capacity

Get Method:
_get_incoming_capacity(self)
Set Method:
_set_incoming_capacity(self, capacity)

outgoing_bytes

Get Method:
unreachable.outgoing_bytes(self)

incoming_bytes

Get Method:
unreachable.incoming_bytes(self)

state

Get Method:
unreachable.state(self)

connection

Get Method:
unreachable.connection(self)