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
- See Also:
IClusterManager.createClusterMessage(String, java.io.Serializable)
,
IClusterManager.send(IClusterTransmission)
,
lumis.portal.event
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterMessageReceivedEvent
public ClusterMessageReceivedEvent(IClusterMessage message,
String receiverId)
getMessage
public IClusterMessage getMessage()
- Returns the cluster message received.
- Returns:
- the cluster message received.
- Since:
- 4.1.0
getReceiverId
public String getReceiverId()
- The identifier of the server that received the message.
- Returns:
- identifier of the server that received the message.
- Since:
- 4.1.0
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.