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(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
           
 Receiver receiver(String name)
          Returns a newly created receiver endpoint
 Sender sender(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(String name)
Returns a newly created sender endpoint


receiver

Receiver receiver(String name)
Returns a newly created receiver endpoint


next

Session next(EnumSet<EndpointState> local,
             EnumSet<EndpointState> remote)

getConnection

Connection getConnection()

getIncomingCapacity

int getIncomingCapacity()

setIncomingCapacity

void setIncomingCapacity(int bytes)

getIncomingBytes

int getIncomingBytes()

getOutgoingBytes

int getOutgoingBytes()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.