Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Function

Description

send(String peerName, BSPMessage msg)

Send a message to another peer.

put(BSPMessage msg)

Put a message to local queue.

getCurrentMessage()

Get a received message.

getNumCurrentMessages()

Get the number of received messages.

sync()

Barrier synchronization.

getPeerName()

Get a peer name.

getPeerName(int index)

Get a nth peer 's name.

getNumPeers()

Get the number of peers.

getAllPeerNames()

Get all peer names.

...