org.apache.qpid.proton.engine.impl
Class ConnectionImpl

java.lang.Object
  extended by org.apache.qpid.proton.engine.impl.EndpointImpl
      extended by org.apache.qpid.proton.engine.impl.ConnectionImpl
All Implemented Interfaces:
Connection, Endpoint

public class ConnectionImpl
extends EndpointImpl
implements Connection


Field Summary
static int MAX_CHANNELS
           
 
Constructor Summary
ConnectionImpl()
           
 
Method Summary
protected  org.apache.qpid.proton.engine.impl.LinkNode<LinkImpl> addLinkEndpoint(LinkImpl endpoint)
           
protected  org.apache.qpid.proton.engine.impl.LinkNode<SessionImpl> addSessionEndpoint(SessionImpl endpoint)
           
 void free()
           
protected  ConnectionImpl getConnectionImpl()
           
 String getHostname()
           
 String getLocalContainerId()
           
 int getMaxChannels()
           
 String getRemoteContainer()
           
 String getRemoteHostname()
           
 DeliveryImpl getWorkHead()
           
 Iterator<DeliveryImpl> getWorkSequence()
           
 void handleOpen(Open open)
           
 boolean isBound()
           
 Link linkHead(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
           
 void removeTransportWork(DeliveryImpl delivery)
           
 SessionImpl session()
           
 Session sessionHead(EnumSet<EndpointState> local, EnumSet<EndpointState> remote)
           
 void setBound(boolean bound)
           
 void setContainer(String container)
           
 void setHostname(String hostname)
           
 void setLocalContainerId(String localContainerId)
           
 
Methods inherited from class org.apache.qpid.proton.engine.impl.EndpointImpl
close, getContext, getLocalError, getLocalState, getRemoteError, getRemoteState, open, setContext, setLocalError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.qpid.proton.engine.Endpoint
close, getContext, getLocalError, getLocalState, getRemoteError, getRemoteState, open, setContext
 

Field Detail

MAX_CHANNELS

public static final int MAX_CHANNELS
See Also:
Constant Field Values
Constructor Detail

ConnectionImpl

public ConnectionImpl()
Method Detail

session

public SessionImpl session()
Specified by:
session in interface Connection

addSessionEndpoint

protected org.apache.qpid.proton.engine.impl.LinkNode<SessionImpl> addSessionEndpoint(SessionImpl endpoint)

addLinkEndpoint

protected org.apache.qpid.proton.engine.impl.LinkNode<LinkImpl> addLinkEndpoint(LinkImpl endpoint)

sessionHead

public Session sessionHead(EnumSet<EndpointState> local,
                           EnumSet<EndpointState> remote)
Specified by:
sessionHead in interface Connection

linkHead

public Link linkHead(EnumSet<EndpointState> local,
                     EnumSet<EndpointState> remote)
Specified by:
linkHead in interface Connection

getConnectionImpl

protected ConnectionImpl getConnectionImpl()
Specified by:
getConnectionImpl in class EndpointImpl

free

public void free()
Specified by:
free in interface Endpoint
Overrides:
free in class EndpointImpl

handleOpen

public void handleOpen(Open open)

getMaxChannels

public int getMaxChannels()

getLocalContainerId

public String getLocalContainerId()

setLocalContainerId

public void setLocalContainerId(String localContainerId)

getWorkHead

public DeliveryImpl getWorkHead()
Specified by:
getWorkHead in interface Connection

setContainer

public void setContainer(String container)
Specified by:
setContainer in interface Connection

setHostname

public void setHostname(String hostname)
Specified by:
setHostname in interface Connection

getRemoteContainer

public String getRemoteContainer()
Specified by:
getRemoteContainer in interface Connection

getRemoteHostname

public String getRemoteHostname()
Specified by:
getRemoteHostname in interface Connection

getHostname

public String getHostname()

getWorkSequence

public Iterator<DeliveryImpl> getWorkSequence()

setBound

public void setBound(boolean bound)

isBound

public boolean isBound()

removeTransportWork

public void removeTransportWork(DeliveryImpl delivery)


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