MCPcopy Create free account
hub / github.com/bft-smart/library / invokeOrdered

Method invokeOrdered

src/main/java/bftsmart/tom/ServiceProxy.java:154–156  ·  view source on GitHub ↗

This method sends an ordered request to the replicas, and returns the related reply. If the servers take more than invokeTimeout seconds the method returns null. This method is thread-safe. @param request to be sent @return The reply from the replicas related to request

(byte[] request)

Source from the content-addressed store, hash-verified

152 * @return The reply from the replicas related to request
153 */
154 public byte[] invokeOrdered(byte[] request) {
155 return invoke(request, TOMMessageType.ORDERED_REQUEST);
156 }
157
158 public byte[] invokeOrderedHashed(byte[] request) {
159 return invoke(request, TOMMessageType.ORDERED_HASHED_REQUEST);

Callers 11

invokeMethod · 0.95
runMethod · 0.80
executeRequestMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
runMethod · 0.80
insertMethod · 0.80
updateMethod · 0.80
putMethod · 0.80
removeMethod · 0.80

Calls 1

invokeMethod · 0.95

Tested by 3

executeRequestMethod · 0.64
mainMethod · 0.64
mainMethod · 0.64