Class SingleMessenger<M>
java.lang.Object
org.apache.tinkerpop.gremlin.process.computer.util.SingleMessenger<M>
- All Implemented Interfaces:
Messenger<M>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReceive all incoming messages to the currently executing vertex.voidsendMessage(MessageScope messageScope, M message) The currently executing vertex can send a message with providedMessageScope.
-
Constructor Details
-
SingleMessenger
-
-
Method Details
-
receiveMessages
Description copied from interface:MessengerReceive all incoming messages to the currently executing vertex.- Specified by:
receiveMessagesin interfaceMessenger<M>- Returns:
- the messages for the vertex
-
sendMessage
Description copied from interface:MessengerThe currently executing vertex can send a message with providedMessageScope.- Specified by:
sendMessagein interfaceMessenger<M>- Parameters:
messageScope- the message scope of the message being sentmessage- the message to send
-