Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
W
Z
A
about()
- Method in class gps.gui.
SimGuiControl
simulator information
actionPerformed(ActionEvent)
- Method in class gps.gui.
ControlPanel
process click events from toolbar and menu.
actionPerformed(ActionEvent)
- Method in class gps.gui.
ProtocolPanel
abstract function actionPerformed
actionPerformed(ActionEvent)
- Method in class gps.gui.
SimulatorPanel
Handle clicks on the Set and Cancel buttons.
actionPerformed(ActionEvent)
- Method in class gps.protocol.BT.
BTPanel
action event handler
activeConnection(Connection)
- Method in class gps.network.
BandwidthManager
active a existing connection on this link
addConnection(Connection)
- Method in class gps.network.
BandwidthManager
add a connection on this link
addLink(Link)
- Method in class gps.network.graph.
Graph
add link
addNode(Node)
- Method in class gps.network.graph.
Graph
add a node to the graph
addNodeAssociatedWithDoc(String, BTPeer)
- Method in class gps.protocol.BT.
BTTracker
addNodeHasPiece(BTPeer, int)
- Method in class gps.protocol.BT.
BTSession
update piece information in local database
addPieceDownloading(int)
- Method in class gps.protocol.BT.
BTDocument
add a piece into downloading set
addTorrent(BTTorrent)
- Method in class gps.protocol.BT.
BTTracker
adjustBandwidth(double)
- Method in class gps.network.
Connection
adjust bandwidth for provided amount
adjustBandwidth(double)
- Method in class gps.protocol.BT.
BTConnection
request more or less bandwidth for a connection
adjustBandwidthForConnection(Connection, double)
- Method in class gps.network.
BandwidthManager
adjucst bandwidth for a connection
adjustInBandwidth(double)
- Method in class gps.protocol.BT.
BTSocket
adjusts bandwidth during download, called by counterpart
adjustOutBandwidth(double)
- Method in class gps.protocol.BT.
BTSocket
adjust out bandwidth
Agent
- Class in
gps.protocol
Agent base class, all specific protocol agents inherit from it.
Agent()
- Constructor for class gps.protocol.
Agent
constructs a new Agent object with next available id
Agent(int)
- Constructor for class gps.protocol.
Agent
constructs a new Agent object with giving id
agentDraw(Graphics, int, int)
- Method in class gps.protocol.
Agent
do some agent specific drawing on the graph to be implemented in sub class
agentDraw(Graphics, int, int)
- Method in class gps.protocol.BT.
BTPeer
do some BTPeer specific drawing on the graph
agentDraw(Graphics, int, int)
- Method in class gps.protocol.BT.
BTTracker
allPairsShortestPaths(float[][])
- Method in class gps.util.
FloydWarshall
calculates all pairs delay
announcePeer(int)
- Method in class gps.protocol.BT.
BTSession
let all the connected peers know that this node finishes downloading a piece.
announceTracker()
- Method in class gps.protocol.BT.
BTSession
sends announcement to tracker
apply()
- Method in class gps.gui.
ProtocolPanel
put information in panel into protocol properties
apply()
- Method in class gps.gui.
SimulatorPanel
save values from panel to properties
AsyncFileHandler
- Class in
gps.util
Asynchronous file handler, asynchronously handles log record.
AsyncFileHandler()
- Constructor for class gps.util.
AsyncFileHandler
constructor, simply call super class
AsyncFileHandler(String)
- Constructor for class gps.util.
AsyncFileHandler
constructor, simply call super class
AsyncFileHandler(String, boolean)
- Constructor for class gps.util.
AsyncFileHandler
constructor, simply call super class
AsyncFileHandler(String, int, int)
- Constructor for class gps.util.
AsyncFileHandler
constructor, simply call super class
AsyncFileHandler(String, int, int, boolean)
- Constructor for class gps.util.
AsyncFileHandler
constructor, simply call super class
atof(String)
- Static method in class gps.util.
Format
Converts a string of digits to an double
atoi(String)
- Static method in class gps.util.
Format
Converts a string of digits (decimal, octal or hex) to an integer
atol(String)
- Static method in class gps.util.
Format
Converts a string of digits (decimal, octal or hex) to a long integer
attach(Agent)
- Method in class gps.network.graph.
Node
attachs agents on that node
attachTo(Node)
- Method in class gps.protocol.
Agent
attach this agent to a node
avg(String)
- Static method in class gps.toolbox.
PostProcess
calculate average downloading time
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
W
Z