Package com.tnsai.protocols.models
Class AgentEndpoint
java.lang.Object
com.tnsai.protocols.models.AgentEndpoint
Represents an agent endpoint in communication.
Combines agentId and optional roleId.
Immutable, thread-safe.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasRole()Returns true if this endpoint has a role specified.static AgentEndpointCreates endpoint with agent ID only.static AgentEndpointCreates endpoint with agent ID and role ID.
-
Constructor Details
-
AgentEndpoint
-
AgentEndpoint
-
-
Method Details
-
of
Creates endpoint with agent ID only. -
of
Creates endpoint with agent ID and role ID. -
hasRole
public boolean hasRole()Returns true if this endpoint has a role specified.
-