Coalevo Logo

net.coalevo.messaging.model
Interface EventInfo

All Known Subinterfaces:
EditableInteractiveMessage, InteractiveMessage, Message, Request, Response
All Known Implementing Classes:
BaseEventInfo

public interface EventInfo

Defines an interface that allows access to a subset of information for forwarding the base events for interactive messages.

Version:
1.0.0 (10/02/2009)
Author:
Dieter Wimberger (wimpi)
See Also:
MessagingServiceListener.startedMessage(AgentIdentifier, String), MessagingServiceListener.stoppedMessage(AgentIdentifier, String), MessagingServiceListener.confirmed(EventInfo, long)

Method Summary
 long getCreated()
          Returns the system time when this object was created.
 AgentIdentifier getFrom()
          Returns the sender.
 java.lang.String getIdentifier()
          Returns an identifier that corresponds to a specific message (to be send, cancelled, to be confirmed).
 AgentIdentifier getTo()
          Returns the addressee.
 boolean isMulticast()
          Flag that indicates whether this info is related to a multicast or not.
 

Method Detail

getIdentifier

java.lang.String getIdentifier()
Returns an identifier that corresponds to a specific message (to be send, cancelled, to be confirmed).

Returns:
a unique identifier.

getFrom

AgentIdentifier getFrom()
Returns the sender.

Returns:
the sender as AgentIdentifier.

getTo

AgentIdentifier getTo()
Returns the addressee.

Returns:
the addressee as AgentIdentifier.

isMulticast

boolean isMulticast()
Flag that indicates whether this info is related to a multicast or not.

Returns:
true if related to a multicast, false otherwise.

getCreated

long getCreated()
Returns the system time when this object was created.

Returns:
the system time in milliseconds (from UTC).

Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)