java.lang.Object
convex.peer.AThreadedComponent
convex.peer.QueryHandler
-
Field Summary
Fields inherited from class convex.peer.AThreadedComponent
server, thread
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class convex.peer.AThreadedComponent
close, getLoad, start
-
Constructor Details
-
QueryHandler
-
-
Method Details
-
offerQuery
Offer a transaction for handling- Parameters:
m
- Message offered- Returns:
- True if queued for handling, false otherwise
-
loop
- Specified by:
loop
in classAThreadedComponent
- Throws:
InterruptedException
-
handleDataRequest
Respond to a request for missing data, on a best-efforts basis. Requests for missing data we do not hold are ignored.- Parameters:
m
-- Throws:
BadFormatException
-
getThreadName
- Specified by:
getThreadName
in classAThreadedComponent
-