cgl.narada.wsinfra.wsr.storage
Interface WsrGroupInfo

All Known Implementing Classes:
WsrGroupInfoImpl

public interface WsrGroupInfo

This interface encapsulates information pertaining to a group.


Method Summary
 byte[] getBytesOfAddresses()
          Get a byte representation of the Source and Destination address
 EndpointReferenceType getDestination()
          Returns the destination of this group
 Calendar getGroupExpiryTime()
          Retrieve the specified group expiration
 String getGroupId()
          Retrieve the GroupId
 GDuration getGroupMaxIdleDuration()
          Retrieve specified inactivity timeout info
 long getLastSequenceNumber()
          If we do have information regarding the last message of a Group, proceed to retrieve it
 long getSequenceNumberLastDelivered()
          If we do have information regarding the sequence Number last Delivered of a Group, proceed to retrieve it
 EndpointReferenceType getSource()
          As the groupId is always generated by source,Returns the source of this group
 boolean hasGroupExpiryTime()
          Check to see if group expiration has been specified
 boolean hasGroupMaxIdleDuration()
          Check to see if an inactivity timeout has been specified
 boolean hasLastSequenceNumber()
          Checks to see if there is last sequence number in a given group.
 boolean isDestination()
          Checks if this node is the destination of the group in question
 boolean isSource()
          Checks if this node is the source of the Group in question
 

Method Detail

getGroupId

String getGroupId()
Retrieve the GroupId


hasGroupExpiryTime

boolean hasGroupExpiryTime()
Check to see if group expiration has been specified


getGroupExpiryTime

Calendar getGroupExpiryTime()
Retrieve the specified group expiration


hasGroupMaxIdleDuration

boolean hasGroupMaxIdleDuration()
Check to see if an inactivity timeout has been specified


getGroupMaxIdleDuration

GDuration getGroupMaxIdleDuration()
Retrieve specified inactivity timeout info


hasLastSequenceNumber

boolean hasLastSequenceNumber()
Checks to see if there is last sequence number in a given group. It should be noted that the indication of last message is available only within the last message in a group.


getLastSequenceNumber

long getLastSequenceNumber()
If we do have information regarding the last message of a Group, proceed to retrieve it


getSequenceNumberLastDelivered

long getSequenceNumberLastDelivered()
If we do have information regarding the sequence Number last Delivered of a Group, proceed to retrieve it


isSource

boolean isSource()
Checks if this node is the source of the Group in question


isDestination

boolean isDestination()
Checks if this node is the destination of the group in question


getSource

EndpointReferenceType getSource()
As the groupId is always generated by source,Returns the source of this group


getDestination

EndpointReferenceType getDestination()
Returns the destination of this group


getBytesOfAddresses

byte[] getBytesOfAddresses()
Get a byte representation of the Source and Destination address



For comments and suggestions please send e-mail to The NaradaBrokering Project