|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ami.AMIOutputProcessor
Centralizes sending requests and check them
Constructor Summary | |
private |
AMIOutputProcessor()
Default constructor
|
Method Summary | |
(package private) static void |
addressDeclaration()
Broadcast the IAI ( done once, at ami start ) Used to declare ourselves to others |
(package private) static void |
broadcast(AMIQuery aq)
Add a packet to broadcast with no vException given, means all peers without exception |
(package private) static void |
broadcast(AMIQuery aq,
boolean bSorted)
Add a packet to broadcast with no vException given, means all peers without exception |
(package private) static void |
broadcast(AMIQuery aq,
Vector vExceptions)
Add a packet to broadcast with exceptions and no sorting |
(package private) static void |
broadcast(AMIQuery aq,
Vector vExceptions,
boolean bSorted)
Add a packet to broadcast |
(package private) static void |
submit(AMIPacket ap)
Add a packet in the AMIOutputSpool |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
private AMIOutputProcessor()
Method Detail |
static void submit(AMIPacket ap)
static void broadcast(AMIQuery aq, Vector vExceptions, boolean bSorted)
aq
- query to brodcastvException
- contains public keys of peers not concerned by the broadcastbSorted
- if true, sorts peers by performance and broadcast best peers firststatic void broadcast(AMIQuery aq, Vector vExceptions)
aq
- query to brodcastvException
- contains public keys of peers not concerned by the broadcaststatic void broadcast(AMIQuery aq)
static void broadcast(AMIQuery aq, boolean bSorted)
static void addressDeclaration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |