Package lumis.portal.cluster.event
Class ClusterMessageReceivedEvent
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEvent
-
- lumis.portal.cluster.event.ClusterMessageReceivedEvent
-
- All Implemented Interfaces:
IPortalEvent
public class ClusterMessageReceivedEvent extends AbstractPortalEvent
Event raised whenever a cluster message is received. This event is also raised when a message sent by a server is received by itself.The group of this event is the same as the group defined for the cluster message. If the cluster message does not have a group defined, then this event has no group.
- Since:
- 4.1.0
- Version:
- $Revision: 8618 $ $Date: 2007-12-18 11:34:20 -0200 (Tue, 18 Dec 2007) $
- See Also:
IClusterManager.createClusterMessage(String, java.io.Serializable)
,IClusterManager.send(IClusterTransmission)
,lumis.portal.event
-
-
Constructor Summary
Constructors Constructor Description ClusterMessageReceivedEvent(IClusterMessage message, java.lang.String receiverId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IClusterMessage
getMessage()
Returns the cluster message received.java.lang.String
getReceiverId()
The identifier of the server that received the message.-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups, setOperationType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.event.IPortalEvent
toString
-
-
-
-
Constructor Detail
-
ClusterMessageReceivedEvent
public ClusterMessageReceivedEvent(IClusterMessage message, java.lang.String receiverId)
-
-
Method Detail
-
getMessage
public IClusterMessage getMessage()
Returns the cluster message received.- Returns:
- the cluster message received.
- Since:
- 4.1.0
-
getReceiverId
public java.lang.String getReceiverId()
The identifier of the server that received the message.- Returns:
- identifier of the server that received the message.
- Since:
- 4.1.0
-
-