Package jadex.messaging.impl
Class MessageEvent
java.lang.Object
jadex.messaging.impl.MessageEvent
Represents the event of a sent or received message for monitoring of communication.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
The message body.protected ISecurityInfo
The security infos (only for received).protected MessageEvent.Type
The event type. -
Constructor Summary
ConstructorsConstructorDescriptionBean constructor.MessageEvent
(MessageEvent.Type type, ISecurityInfo secinfos, Object body) Instance constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
Get the body.Get the security infos.getType()
Get the type.void
Set the body.void
setSecinfos
(ISecurityInfo secinfos) Set the security infos.void
setType
(MessageEvent.Type type) Set the type.
-
Field Details
-
type
The event type. -
secinfos
The security infos (only for received). -
body
The message body.
-
-
Constructor Details
-
MessageEvent
public MessageEvent()Bean constructor. -
MessageEvent
Instance constructor.
-
-
Method Details
-
getType
Get the type. -
setType
Set the type. -
getSecinfos
Get the security infos. -
setSecinfos
Set the security infos. -
getBody
Get the body. -
setBody
Set the body.
-