net.tomp2p.connection
Class ConnectionBean
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionBean
public ConnectionBean(int p2pID,
DispatcherReply dispatcherRequest,
Sender sender,
org.jboss.netty.channel.group.ChannelGroup channelGroup,
ConnectionReservation connectionReservation,
ConnectionConfiguration configuration,
Scheduler scheduler)
getDispatcherRequest
public DispatcherReply getDispatcherRequest()
getP2PID
public int getP2PID()
getChannelGroup
public org.jboss.netty.channel.group.ChannelGroup getChannelGroup()
getConnectionReservation
public ConnectionReservation getConnectionReservation()
getConfiguration
public ConnectionConfiguration getConfiguration()
getScheduler
public Scheduler getScheduler()
getSender
public Sender getSender()
setSender
public void setSender(Sender sender)
Copyright © 2013. All Rights Reserved.