org.apache.qpid.proton.engine
Interface Session

All Superinterfaces:
Endpoint

public interface Session
extends Endpoint

Session Note that session level flow control is handled internally by Proton.


Method Summary
 Connection getConnection()
           
 int getIncomingBytes()
           
 int getIncomingCapacity()
           
 int getOutgoingBytes()
           
 Session next(java.util.EnumSet<EndpointState> local, java.util.EnumSet<EndpointState> remote)
           
 Receiver receiver(java.lang.String name)
          Returns a newly created receiver endpoint
 Sender sender(java.lang.String name)
          Returns a newly created sender endpoint
 void setIncomingCapacity(int bytes)
           
 
Methods inherited from interface org.apache.qpid.proton.engine.Endpoint
close, free, getCondition, getContext, getLocalState, getRemoteCondition, getRemoteState, open, setCondition, setContext
 

Method Detail

sender

Sender sender(java.lang.String name)
Returns a newly created sender endpoint


receiver

Receiver receiver(java.lang.String name)
Returns a newly created receiver endpoint


next

Session next(java.util.EnumSet<EndpointState> local,
             java.util.EnumSet<EndpointState> remote)

getConnection

Connection getConnection()

getIncomingCapacity

int getIncomingCapacity()

setIncomingCapacity

void setIncomingCapacity(int bytes)

getIncomingBytes

int getIncomingBytes()

getOutgoingBytes

int getOutgoingBytes()