Class TinkerMessenger<M>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerMessenger<M>
 
- 
- 
Constructor SummaryConstructors Constructor Description TinkerMessenger(Vertex vertex, org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerMessageBoard<M> messageBoard, Optional<MessageCombiner<M>> combiner)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<M>receiveMessages()Receive all incoming messages to the currently executing vertex.voidsendMessage(MessageScope messageScope, M message)The currently executing vertex can send a message with providedMessageScope.
 
- 
- 
- 
Constructor Detail- 
TinkerMessengerpublic TinkerMessenger(Vertex vertex, org.apache.tinkerpop.gremlin.tinkergraph.process.computer.TinkerMessageBoard<M> messageBoard, Optional<MessageCombiner<M>> combiner) 
 
- 
 - 
Method Detail- 
receiveMessagespublic Iterator<M> receiveMessages() Description copied from interface:MessengerReceive all incoming messages to the currently executing vertex.- Specified by:
- receiveMessagesin interface- Messenger<M>
- Returns:
- the messages for the vertex
 
 - 
sendMessagepublic void sendMessage(MessageScope messageScope, M message) Description copied from interface:MessengerThe currently executing vertex can send a message with providedMessageScope.- Specified by:
- sendMessagein interface- Messenger<M>
- Parameters:
- messageScope- the message scope of the message being sent
- message- the message to send
 
 
- 
 
-