jain.protocol.ss7.oam.sccp
Interface SccpEntitySetMO


public abstract interface SccpEntitySetMO
extends SccpManagedObject

This class identifies the set of access points that result from a global title translation. This set may contain one or two access points that are stored in an array. The distribution of SCCP traffic over the entities in the set depends on the value of the Sharing Mode attribute.

NB: The two access points of this entity set are contained in an array where


Field Summary
static int SM_DUPLI_DOMINANT
          Sharing Mode Constant: "Dupli-Dominant", indicates that the second entity is a backup for the first entity.
static int SM_DUPLI_REPLACEMENT
          Sharing Mode Constant: "Dupli-Replacement", indicates the second entity is standby for backup for the first entity, but after changeover, the primary and backup roles are swapped.
static int SM_DUPLI_SHARED
          Sharing Mode Constant: "Dupli-Loadshared", indicates that the load is shared over both the entities in the set.
static int SM_SOLITARY
          Sharing Mode Constant: "Solitary", indicates that there can only be one access point in the set.
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 SccpSapMO[] getSccpSap()
          Returns the access points of this Entity Set.
 SccpSapMO getSccpSap(int index)
          Returns one of the access points of this Entity Set.
 int getSharingMode()
          Returns the sharing mode used by this SCCP entity set.
 void setSccpSap(int index, SccpSapMO accessPoint)
          Sets one of the access points of this Entity Set.
 void setSccpSap(SccpSapMO[] accessPoints)
          Sets the access points of this Entity Set.
 void setSharingMode(int sharingMode)
          Sets the sharing mode used by this SCCP entity set.
 
Methods inherited from interface jain.protocol.ss7.oam.sccp.SccpManagedObject
addSccpAlarmListener, addSccpErrorListener, removeSccpAlarmListener, removeSccpErrorListener
 
Methods inherited from interface jain.protocol.ss7.oam.OamManagedObject
addPropertyChangeListener, getName, removePropertyChangeListener, setName
 

Field Detail

SM_SOLITARY

public static final int SM_SOLITARY
Sharing Mode Constant: "Solitary", indicates that there can only be one access point in the set.

SM_DUPLI_DOMINANT

public static final int SM_DUPLI_DOMINANT
Sharing Mode Constant: "Dupli-Dominant", indicates that the second entity is a backup for the first entity.

SM_DUPLI_REPLACEMENT

public static final int SM_DUPLI_REPLACEMENT
Sharing Mode Constant: "Dupli-Replacement", indicates the second entity is standby for backup for the first entity, but after changeover, the primary and backup roles are swapped.

SM_DUPLI_SHARED

public static final int SM_DUPLI_SHARED
Sharing Mode Constant: "Dupli-Loadshared", indicates that the load is shared over both the entities in the set.
Method Detail

getSharingMode

public int getSharingMode()
Returns the sharing mode used by this SCCP entity set. The sharing mode determines the distribution of SCCP traffic over the entities in this set.
Returns:
one of the defined sharing mode constants

setSharingMode

public void setSharingMode(int sharingMode)
Sets the sharing mode used by this SCCP entity set. The sharing mode determines the distribution of SCCP traffic over the entities in this set.
Parameters:
sharingMode - one of the defined sharing mode constants

setSccpSap

public void setSccpSap(SccpSapMO[] accessPoints)
Sets the access points of this Entity Set. The distribution of SCCP traffic over the entities in the set depends on the value of the Sharing Mode attribute. There can be a maximum of two SCCP Access Points in the set, with only one access point if the sharing mode is SM_SOLITARY.
Parameters:
accessPoints - an array (with a maximum size = 2) of SCCP access points.

getSccpSap

public SccpSapMO[] getSccpSap()
Returns the access points of this Entity Set. The distribution of SCCP traffic over the entities in the set depends on the value of the Sharing Mode attribute. There can be a maximum of two SCCP Access Points in the set, with only one access point if the sharing mode is SM_SOLITARY.
Returns:
an array (with a maximum size = 2) of SCCP access points.

setSccpSap

public void setSccpSap(int index,
                       SccpSapMO accessPoint)
Sets one of the access points of this Entity Set.
Parameters:
index - the access point array index. There can be a maximum of two SCCP Access Points in the set, with only one access point if the sharing mode is SM_SOLITARY therefore the index can have a value of only 0 or 1.
accessPoint - an SCCP access point.

getSccpSap

public SccpSapMO getSccpSap(int index)
Returns one of the access points of this Entity Set.
Parameters:
index - the access point array index. There can be a maximum of two SCCP Access Points in the set, with only one access point if the sharing mode is SM_SOLITARY therefore the index can have a value of only 0 or 1.
accessPoint - the SCCP access point at the array position specified by index.


01 September 99
If you have any comments or queries, please mail them to JainOAM@East.Sun.Com

Copyright - 1999 Sun Microsystems