Uses of Interface
com.tnsai.communication.MessageTypeMarker
Packages that use MessageTypeMarker
Package
Description
Agent messaging infrastructure for inter-agent communication.
-
Uses of MessageTypeMarker in com.tnsai.communication
Classes in com.tnsai.communication that implement MessageTypeMarkerModifier and TypeClassDescriptionenumMessage types for acknowledgment protocol.enumContract Net Protocol (CNP) message types.enumQuery/Information exchange message types.enumTask-related message types for direct task delegation.Methods in com.tnsai.communication with parameters of type MessageTypeMarkerModifier and TypeMethodDescriptionAgentCommunicationManager.broadcastMessage(String senderId, MessageTypeMarker messageType, Map<String, Object> content) Broadcasts a message to all agents.static AgentMessageAgentMessage.create(String senderId, String receiverId, MessageTypeMarker messageType, Map<String, Object> content) Creates a new message with auto-generated ID and timestamp.static AgentMessageAgentMessage.createReply(AgentMessage originalMessage, MessageTypeMarker replyType, Map<String, Object> content) Creates a reply to this message (swaps sender and receiver).booleanAgentMessage.isType(MessageTypeMarker type) Check if message is of a specific type.AgentCommunicationManager.sendMessage(String senderId, String receiverId, MessageTypeMarker messageType, Map<String, Object> content) Sends a message from one agent to another.Constructors in com.tnsai.communication with parameters of type MessageTypeMarker