org.apache.qpid.proton.engine
Interface Connection

All Superinterfaces:
Endpoint

public interface Connection
extends Endpoint

Connection


Method Summary
 String getRemoteContainer()
           
 String getRemoteHostname()
           
 Delivery getWorkHead()
           
 Link linkHead(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
           
 Session session()
           
 Session sessionHead(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
           
 void setContainer(String container)
           
 void setHostname(String hostname)
           
 
Methods inherited from interface org.apache.qpid.proton.engine.Endpoint
close, free, getContext, getLocalError, getLocalState, getRemoteError, getRemoteState, open, setContext
 

Method Detail

session

Session session()
Returns:
a newly created session

sessionHead

Session sessionHead(EnumSet<EndpointState> local,
                    EnumSet<EndpointState> remote)
Returns:
iterator for endpoints matching the specified local and remote states

linkHead

Link linkHead(EnumSet<EndpointState> local,
              EnumSet<EndpointState> remote)

getWorkHead

Delivery getWorkHead()

setContainer

void setContainer(String container)

setHostname

void setHostname(String hostname)

getRemoteContainer

String getRemoteContainer()

getRemoteHostname

String getRemoteHostname()


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