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
H
halt()
- Method in class gps.util.
LogServer
hanlt log server
HAND_SHAKING
- Static variable in class gps.protocol.BT.param.
BTPeerMessage
hand shaking
handle(SimEvent)
- Method in interface gps.event.
SimEventHandler
provides an common interface for event handler
handle(SimEvent)
- Method in class gps.network.graph.
Node
handles node level event
handle(SimEvent)
- Method in class gps.protocol.
Agent
handles agent level event
handle(SimEvent)
- Method in class gps.protocol.BT.algorithm.
BTAlgorithmOptimisticUnchoking
handles optimistic unchoking events
handle(SimEvent)
- Method in class gps.protocol.BT.algorithm.
BTAlgorithmReChoking
handles rechoking events
handle(SimEvent)
- Method in class gps.protocol.BT.
BTPeer
handles peer level events
handle(SimEvent)
- Method in class gps.protocol.BT.
BTSession
process event sent to this session
handle(SimEvent)
- Method in class gps.protocol.BT.
BTSocket
process event sent to this connection
handle(SimEvent)
- Method in class gps.protocol.BT.
BTTracker
handles tracker level events
handle(SimEvent)
- Method in class gps.
Simulator
handles simulator level event.
handleBlockFinished(BTEvent)
- Method in class gps.protocol.BT.
BTSocket
when a block is finished downloading, this event is triggered
handleConnectionTimeout(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles connection time event, cuts connection
handleDownload(BTEvent)
- Method in class gps.protocol.BT.
BTPeer
handles events for downloading a specific ducument from a specified tracker at a specific time.
handleGetRequest(BTEvent)
- Method in class gps.protocol.BT.
BTTracker
handleHandShaking(BTEvent)
- Method in class gps.protocol.BT.
BTPeer
handleHandShaking makes sure each side a session.
handleKeepAlive(BTEvent)
- Method in class gps.protocol.BT.
BTSocket
handles keep alive event
handlePeerMessage(BTEvent)
- Method in class gps.protocol.BT.
BTPeer
handles HAND_SHAKING, all other peer messages are not supposed to be sent to BTPeer.
handlePeerMessage(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles all the peer message from peers except for hand shaking.
handlePMBitField(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the bitfield type peer message In this simulation, bitfiled message works as the reply of handshaking this is received by the initiator, and the connection is really setup.
handlePMCancel(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the cancel type peer message
handlePMChoke(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the choke type peer message
handlePMHave(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the have type peer message
handlePMInterested(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the interested type peer message
handlePMNotInterested(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the notInterested type peer message
handlePMPiece(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the piece type peer message
handlePMRequest(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the request type peer message
handlePMUnChoke(BTEvent)
- Method in class gps.protocol.BT.
BTSession
handles the unchoke type peer message
handlePublish(BTEvent)
- Method in class gps.protocol.BT.
BTPeer
handles events for publishing a specific ducument to a specified tracker at a specific time.
handleRandomDownload(BTEvent)
- Method in class gps.protocol.BT.
BTPeer
handles events for downloading a random ducument from a specified tracker at a specific time.
handleRequestTimeout(BTEvent)
- Method in class gps.protocol.BT.
BTSocket
handles request timeout event
handleTrackerResponse(BTEvent)
- Method in class gps.protocol.BT.
BTSession
process tracker response evnet
hasLinkTo(Node, Link)
- Method in class gps.network.graph.
Node
add a link between this node and another node
HAVE
- Static variable in class gps.protocol.BT.param.
BTPeerMessage
finished downloading a piece
havePiece(int)
- Method in class gps.protocol.BT.
BTDocument
checks if the document has that piece or not
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