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

public String getGroupId()
Retrieve the GroupId


hasGroupExpiryTime

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


getGroupExpiryTime

public Calendar getGroupExpiryTime()
Retrieve the specified group expiration


hasGroupMaxIdleDuration

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


getGroupMaxIdleDuration

public GDuration getGroupMaxIdleDuration()
Retrieve specified inactivity timeout info


hasLastSequenceNumber

public 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

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


getSequenceNumberLastDelivered

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


isSource

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


isDestination

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


getSource

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


getDestination

public EndpointReferenceType getDestination()
Returns the destination of this group


getBytesOfAddresses

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