net.tomp2p.connection
Class ConnectionBean

java.lang.Object
  extended by net.tomp2p.connection.ConnectionBean

public class ConnectionBean
extends Object

A bean that holds sharable configuration settings for the peer. The non-sharable configurations are stored in PeerBean.

Author:
Thomas Bocek

Constructor Summary
ConnectionBean(int p2pID, DispatcherReply dispatcherRequest, Sender sender, org.jboss.netty.channel.group.ChannelGroup channelGroup, Scheduler scheduler, ConnectionReservation reservation, ConnectionConfigurationBean configuration)
           
 
Method Summary
 org.jboss.netty.channel.group.ChannelGroup getChannelGroup()
           
 ConnectionConfigurationBean getConfiguration()
           
 DispatcherReply getDispatcherRequest()
           
 int getP2PID()
           
 ConnectionReservation getReservation()
           
 Scheduler getScheduler()
           
 Sender getSender()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionBean

public ConnectionBean(int p2pID,
                      DispatcherReply dispatcherRequest,
                      Sender sender,
                      org.jboss.netty.channel.group.ChannelGroup channelGroup,
                      Scheduler scheduler,
                      ConnectionReservation reservation,
                      ConnectionConfigurationBean configuration)
Method Detail

getSender

public Sender getSender()

getDispatcherRequest

public DispatcherReply getDispatcherRequest()

getP2PID

public int getP2PID()

getChannelGroup

public org.jboss.netty.channel.group.ChannelGroup getChannelGroup()

getScheduler

public Scheduler getScheduler()

getReservation

public ConnectionReservation getReservation()

getConfiguration

public ConnectionConfigurationBean getConfiguration()


Copyright © 2011. All Rights Reserved.