|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.narada.wsinfra.wsr.storage.impl.WsrGroupInfoImpl
This interface encapsulates information pertaining to a group.
| Constructor Summary | |
WsrGroupInfoImpl()
|
|
WsrGroupInfoImpl(String groupId)
|
|
WsrGroupInfoImpl(String groupId,
boolean isSource,
byte[] marshalledBytesOfAddresses)
|
|
WsrGroupInfoImpl(String groupId,
boolean isSource,
EndpointReferenceType source,
EndpointReferenceType destination)
|
|
| Method Summary | |
byte[] |
getBytesOfAddresses()
Get a byte representation of the Source and Destination Addresses |
EndpointReferenceType |
getDestination()
Returns the destination of this group |
Calendar |
getGroupExpiryTime()
Returns the GroupExpiryTime |
String |
getGroupId()
Retrieve the groupId. |
GDuration |
getGroupMaxIdleDuration()
Returns the groupMaxIdleDuration |
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()
Returns the source of this group |
boolean |
hasGroupExpiryTime()
Checks if GroupExpiryTime parameter is present |
boolean |
hasGroupMaxIdleDuration()
Checks if GroupMaxIdleDuration parameter is present |
boolean |
hasLastSequenceNumber()
Check to see if we have information regarding the last message of a 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 |
void |
setDestination(EndpointReferenceType destination)
sets the destination of this group |
void |
setGroupExpiryTime(Calendar groupExpiryTime)
sets the groupExpiryTime |
void |
setGroupId(String groupId)
sets the groupId. |
void |
setGroupMaxIdleDuration(GDuration groupMaxIdleDuration)
sets the groupMaxIdleDuration |
void |
setHasGroupExpiryTime(boolean hasGroupExpiryTime)
sets the hasGroupExpiryTime parameter |
void |
setHasGroupMaxIdleDuration(boolean hasGroupMaxIdleDuration)
sets the hasGroupExpiryTime parameter |
void |
setHasLastSequenceNumber(boolean hasLastSequenceNumber)
Sets the variable with boolean value if we have information regarding the last message of the group |
void |
setIsSource(boolean isSource)
sets the isSource parameter |
void |
setLastSequenceNumber(long lastSequenceNumber)
sets the hasLastSequenceNumber parameter |
void |
setSequenceNumberLastDelivered(long sequenceNumberLastDelivered)
sets the sequenceNumberLastDelivered parameter |
void |
setSource(EndpointReferenceType source)
sets the source of this group |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WsrGroupInfoImpl()
public WsrGroupInfoImpl(String groupId)
public WsrGroupInfoImpl(String groupId,
boolean isSource,
EndpointReferenceType source,
EndpointReferenceType destination)
public WsrGroupInfoImpl(String groupId,
boolean isSource,
byte[] marshalledBytesOfAddresses)
| Method Detail |
public String getGroupId()
getGroupId in interface WsrGroupInfopublic void setGroupId(String groupId)
public boolean hasGroupExpiryTime()
hasGroupExpiryTime in interface WsrGroupInfopublic void setHasGroupExpiryTime(boolean hasGroupExpiryTime)
public Calendar getGroupExpiryTime()
getGroupExpiryTime in interface WsrGroupInfopublic void setGroupExpiryTime(Calendar groupExpiryTime)
public boolean hasGroupMaxIdleDuration()
hasGroupMaxIdleDuration in interface WsrGroupInfopublic void setHasGroupMaxIdleDuration(boolean hasGroupMaxIdleDuration)
public GDuration getGroupMaxIdleDuration()
getGroupMaxIdleDuration in interface WsrGroupInfopublic void setGroupMaxIdleDuration(GDuration groupMaxIdleDuration)
public boolean hasLastSequenceNumber()
hasLastSequenceNumber in interface WsrGroupInfopublic void setHasLastSequenceNumber(boolean hasLastSequenceNumber)
public long getLastSequenceNumber()
getLastSequenceNumber in interface WsrGroupInfopublic void setLastSequenceNumber(long lastSequenceNumber)
public long getSequenceNumberLastDelivered()
getSequenceNumberLastDelivered in interface WsrGroupInfopublic void setSequenceNumberLastDelivered(long sequenceNumberLastDelivered)
public boolean isSource()
isSource in interface WsrGroupInfopublic void setIsSource(boolean isSource)
public boolean isDestination()
isDestination in interface WsrGroupInfopublic EndpointReferenceType getSource()
getSource in interface WsrGroupInfopublic void setSource(EndpointReferenceType source)
public EndpointReferenceType getDestination()
getDestination in interface WsrGroupInfopublic void setDestination(EndpointReferenceType destination)
public byte[] getBytesOfAddresses()
getBytesOfAddresses in interface WsrGroupInfopublic String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||