A B C D E F G H I K L M N O P Q R S T U W Z

C

calcBandwidth(double, double, double, double, double) - Method in class gps.network.Topology
calculate bandwidth through tcp formula
calcInAverageSince(double) - Method in class gps.protocol.BT.BTSocket
calculate average input bandwidth since a time spot
calcOutAverageSince(double) - Method in class gps.protocol.BT.BTSocket
calculate average output bandwidth since a time spot
cancel(SimEvent) - Method in class gps.event.SimEventScheduler
cancels a scheduled event, and remove it from the queue
CANCEL - Static variable in class gps.protocol.BT.param.BTPeerMessage
cancel a request
CHOKE - Static variable in class gps.protocol.BT.param.BTPeerMessage
choke
cleanup() - Method in class gps.Simulator
closes log files and calculate total running time
close() - Method in class gps.util.AsyncFileHandler
Asynchronous close.
closeConnection(BTPeer) - Method in class gps.protocol.BT.BTSession
close connection to peer
coef - Static variable in class gps.gui.GraphPanel
coefficient
comparePieces() - Method in class gps.protocol.BT.BTSocket
compare piece between two peers at both end of the connection
compareTo(Object) - Method in class gps.event.SimEvent
compare the order of two events
COMPLETED - Static variable in class gps.protocol.BT.BTSession
session status - completed
COMPLETED - Static variable in class gps.protocol.BT.param.BTGetRequest
download finished
confAgents() - Method in class gps.protocol.BT.BT
configures agents
confAgents() - Method in class gps.protocol.Protocol
configure agents for this protocol, to be overriden
confDocuments() - Method in class gps.protocol.BT.BT
configures initial documents
confDocuments() - Method in class gps.protocol.Protocol
configure documents for this protocol, to be overriden
confEvents() - Method in class gps.protocol.BT.BT
configures scheduled events
confEvents() - Method in class gps.protocol.Protocol
configure events for this protocol, to be overriden
Config - Class in gps.util
a global object to deal with configuraiton files
Config() - Constructor for class gps.util.Config
 
configFilter - Static variable in class gps.util.MyFileChooser
 
confNetwork(Graph, Properties) - Method in class gps.network.Topology
constructs topology from graph file and properties
confProtocol(Protocol) - Method in class gps.Simulator
configures a specific protocol using virtual function.(factory patton)
confTopology() - Method in class gps.Simulator
generates topology from graph file
Connection - Class in gps.network
high level directed connection between nodes
Connection(Agent, Agent) - Constructor for class gps.network.Connection
constructs a connection between agents
Connection(Node, Node) - Constructor for class gps.network.Connection
constructs a connection between nodes
CONNECTION_DOWNLOAD_BLOCK_FINISH - Static variable in class gps.protocol.BT.BTEvent
download block finish
CONNECTION_KEEP_ALIVE - Static variable in class gps.protocol.BT.BTEvent
connection keep alive
CONNECTION_KEEP_ALIVE - Static variable in class gps.protocol.BT.BTSocket
keep alive time
CONNECTION_TIMEOUT - Static variable in class gps.protocol.BT.BTEvent
check alive
CONNECTION_TIMEOUT - Static variable in class gps.protocol.BT.BTSocket
connection timeout
connectTo(BTPeer, boolean) - Method in class gps.protocol.BT.BTSession
set up a connection to a peer
ControlPanel - Class in gps.gui
The panel at the right side of the simulator, it includes a setting panel for simulator, and a protocol panel.
ControlPanel() - Constructor for class gps.gui.ControlPanel
dummy constructor
ControlPanel(SimGuiControl) - Constructor for class gps.gui.ControlPanel
constructs ControlPanel with a back referenc to SimGuiControl
CORE_NODE - Static variable in class gps.network.graph.NodeProperties
node type - CORE_NODE
countPeersWithPiece(int) - Method in class gps.protocol.BT.BTSession
count peers with a specific piece

A B C D E F G H I K L M N O P Q R S T U W Z