Class BasicSecurityMessage
java.lang.Object
jadex.ipc.impl.security.handshake.BasicSecurityMessage
- Direct Known Subclasses:
HandshakeRejectionMessage
,InitialHandshakeFinalMessage
,InitialHandshakeMessage
,InitialHandshakeReplyMessage
Base class for security messages.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate message.BasicSecurityMessage
(jadex.core.impl.GlobalProcessIdentifier sender, String conversationid) Create message. -
Method Summary
Modifier and TypeMethodDescriptionGets the conversation ID.Get the message ID.jadex.core.impl.GlobalProcessIdentifier
Gets the sender.void
setConversationId
(String conversationid) Sets the conversation ID.void
setMessageId
(String messageid) Sets the message ID.void
setSender
(jadex.core.impl.GlobalProcessIdentifier sender) Sets the sender.toString()
-
Field Details
-
sender
protected jadex.core.impl.GlobalProcessIdentifier senderThe message sender. -
conversationid
The conversation ID. -
messageid
The unique message ID to filter duplicates.
-
-
Constructor Details
-
BasicSecurityMessage
public BasicSecurityMessage()Create message. -
BasicSecurityMessage
Create message.
-
-
Method Details
-
getSender
public jadex.core.impl.GlobalProcessIdentifier getSender()Gets the sender.- Returns:
- The sender
-
setSender
public void setSender(jadex.core.impl.GlobalProcessIdentifier sender) Sets the sender.- Parameters:
sender
- The sender to set.
-
getConversationId
Gets the conversation ID.- Returns:
- The conversation ID.
-
setConversationId
Sets the conversation ID.- Parameters:
conversationid
- The conversation ID.
-
getMessageId
Get the message ID.- Returns:
- Message ID.
-
setMessageId
Sets the message ID.- Parameters:
messageid
- The message ID.
-
toString
-