Class BasicSecurityMessage
- java.lang.Object
-
- jadex.platform.service.security.handshake.BasicSecurityMessage
-
- Direct Known Subclasses:
HandshakeRejectionMessage
,InitialHandshakeFinalMessage
,InitialHandshakeMessage
,InitialHandshakeReplyMessage
public class BasicSecurityMessage extends java.lang.Object
Base class for security messages.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
conversationid
The conversation ID.protected java.lang.String
messageid
The unique message ID to filter duplicates.protected IComponentIdentifier
sender
The message sender.
-
Constructor Summary
Constructors Constructor Description BasicSecurityMessage()
Create message.BasicSecurityMessage(IComponentIdentifier sender, java.lang.String conversationid)
Create message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConversationId()
Gets the conversation ID.java.lang.String
getMessageId()
Get the message ID.IComponentIdentifier
getSender()
Gets the sender.void
setConversationId(java.lang.String conversationid)
Sets the conversation ID.void
setMessageId(java.lang.String messageid)
Sets the message ID.void
setSender(IComponentIdentifier sender)
Sets the sender.java.lang.String
toString()
-
-
-
Field Detail
-
sender
protected IComponentIdentifier sender
The message sender.
-
conversationid
protected java.lang.String conversationid
The conversation ID.
-
messageid
protected java.lang.String messageid
The unique message ID to filter duplicates.
-
-
Constructor Detail
-
BasicSecurityMessage
public BasicSecurityMessage()
Create message.
-
BasicSecurityMessage
public BasicSecurityMessage(IComponentIdentifier sender, java.lang.String conversationid)
Create message.
-
-
Method Detail
-
getSender
public IComponentIdentifier getSender()
Gets the sender.- Returns:
- The sender
-
setSender
public void setSender(IComponentIdentifier sender)
Sets the sender.- Parameters:
sender
- The sender to set.
-
getConversationId
public java.lang.String getConversationId()
Gets the conversation ID.- Returns:
- The conversation ID.
-
setConversationId
public void setConversationId(java.lang.String conversationid)
Sets the conversation ID.- Parameters:
conversationid
- The conversation ID.
-
getMessageId
public java.lang.String getMessageId()
Get the message ID.- Returns:
- Message ID.
-
setMessageId
public void setMessageId(java.lang.String messageid)
Sets the message ID.- Parameters:
messageid
- The message ID.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-