Package jadex.bridge.component.impl
Class MessageEvent
- java.lang.Object
-
- jadex.bridge.component.impl.MessageEvent
-
public class MessageEvent extends java.lang.Object
Represents the event of a sent or received message for monitoring of communication.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MessageEvent.Type
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
body
The message body.protected IMsgHeader
header
The message header.protected ISecurityInfo
secinfos
The security infos (only for received).protected MessageEvent.Type
type
The event type.
-
Constructor Summary
Constructors Constructor Description MessageEvent()
Bean constructor.MessageEvent(MessageEvent.Type type, ISecurityInfo secinfos, IMsgHeader header, java.lang.Object body)
Instance constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getBody()
Get the body.IMsgHeader
getHeader()
Get the header.ISecurityInfo
getSecinfos()
Get the security infos.MessageEvent.Type
getType()
Get the type.void
setBody(java.lang.Object body)
Set the body.void
setHeader(IMsgHeader header)
Set the header.void
setSecinfos(ISecurityInfo secinfos)
Set the security infos.void
setType(MessageEvent.Type type)
Set the type.
-
-
-
Field Detail
-
type
protected MessageEvent.Type type
The event type.
-
secinfos
protected ISecurityInfo secinfos
The security infos (only for received).
-
header
protected IMsgHeader header
The message header.
-
body
protected java.lang.Object body
The message body.
-
-
Constructor Detail
-
MessageEvent
public MessageEvent()
Bean constructor.
-
MessageEvent
public MessageEvent(MessageEvent.Type type, ISecurityInfo secinfos, IMsgHeader header, java.lang.Object body)
Instance constructor.
-
-
Method Detail
-
getType
public MessageEvent.Type getType()
Get the type.
-
setType
public void setType(MessageEvent.Type type)
Set the type.
-
getSecinfos
public ISecurityInfo getSecinfos()
Get the security infos.
-
setSecinfos
public void setSecinfos(ISecurityInfo secinfos)
Set the security infos.
-
getHeader
public IMsgHeader getHeader()
Get the header.
-
setHeader
public void setHeader(IMsgHeader header)
Set the header.
-
getBody
public java.lang.Object getBody()
Get the body.
-
setBody
public void setBody(java.lang.Object body)
Set the body.
-
-