org.apache.qpid.client
Class AMQConnection.ChannelToSessionMap

java.lang.Object
  extended by org.apache.qpid.client.AMQConnection.ChannelToSessionMap
Enclosing class:
AMQConnection

public static final class AMQConnection.ChannelToSessionMap
extends Object


Constructor Summary
AMQConnection.ChannelToSessionMap()
           
 
Method Summary
 void clear()
           
 AMQSession get(int channelId)
           
 int getNextChannelId()
           
 AMQSession put(int channelId, AMQSession session)
           
 AMQSession remove(int channelId)
           
 void setMaxChannelID(int maxChannelID)
           
 int size()
           
 Collection<AMQSession> values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMQConnection.ChannelToSessionMap

public AMQConnection.ChannelToSessionMap()
Method Detail

get

public AMQSession get(int channelId)

put

public AMQSession put(int channelId,
                      AMQSession session)

remove

public AMQSession remove(int channelId)

values

public Collection<AMQSession> values()

size

public int size()

clear

public void clear()

getNextChannelId

public int getNextChannelId()

setMaxChannelID

public void setMaxChannelID(int maxChannelID)


Licensed to the Apache Software Foundation