|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cisco.scabb.servconf.mgmt.ServiceConfig
public class ServiceConfig
ServiceConfig is the whole set of lists, protocols, services and packages that an ISP has defined. The ServiceConfig is applied to the ServiceConfig Domain's SCE boxes and sets their application's parameters to regulate the subscriber's flows.
| Constructor Summary | |
|---|---|
ServiceConfig()
ServiceConfig Constructor. |
|
ServiceConfig(Policy policy)
ServiceConfig Constructor. |
|
ServiceConfig(java.lang.String descriptionText)
Deprecated. use ServiceConfig()instead. |
|
| Method Summary | |
|---|---|
void |
fromStream(java.io.BufferedReader in,
Formatter f)
Reading this object from a BufferedReader |
CalendarArray |
getCalendarList()
Gets the calendar-list |
ClassificationConfiguration |
getClassificationCfg()
Gets the classification configuration |
NotifyingProperties |
getCustomNonPersistentProperties()
Gets the notification-properties of the domain |
DynamicSignaturesScript |
getDynamicSignatureScript()
Gets the dynamic-signature configuration |
long |
getLastApplyTimestamp()
Gets the timestamp of the time this Service-Configuration was successfully applied to any Service-Configuration Domain. |
com.pcube.apps.engage.management.PrimitiveList |
getListenersDataList()
Gets the predifined-listeners' related configuration |
PackageArray |
getPackageList()
Gets this Service-Configuration's Package list. |
PolicySettings |
getPolicySettings()
Gets this Service-Configuration's settings. |
ProtocolFamiliesManager |
getProtocolFamiliesManager()
Use the ProtocolFamiliesManager to manage the Service-Configuration's protocol families settings |
ProtocolList |
getProtocolList()
Gets this Service-Configuration's Protocol list. |
ProtocolRedirectIndexNameArray |
getProtocolRedirectIndexNameArray()
Gets the list of the Protocols' redirect index names. |
java.lang.String |
getProtocolRedirectString(java.lang.String protocolName)
Gets the default redirect address for the Protocol. |
java.lang.String |
getProtocolRedirectString(java.lang.String protocolName,
int redirectIndex)
Gets the redirect address for the Protocol in a certain index in its redirect String array. |
java.lang.String |
getRealTimeFrameName(java.lang.String name)
Gets the predefined API name for a certain TimeFrame. |
ServiceArray |
getServiceList()
Gets this Service-Configuration's Service list. |
SubscriberRedirectionArray |
getSubNotifications()
Gets the subscriber's notification as configured in the Service-Configuration |
java.lang.String[] |
getTimeFrameNames()
Gets the time frame names this Service-Configuration has assigned the different TimeFrames. |
TimeSlotMatrix |
getTimeSlotMatrix()
Deprecated. use CalendarArray.getDefaultTimeSlotMatrix() |
ZoneList |
getZoneList()
Gets this Service-Configuration's IP, IP ranges and host lists array. |
boolean |
isProtocolRedirectable(java.lang.String protocolName)
Deprecated. |
void |
setAddOnGroupsList(AddOnGroupArray settings)
|
void |
setLastApplyTimestamp(long newLastApplyTimestamp)
Sets the "last-apply-timestamp" |
void |
setPackageList(PackageArray list)
Sets a package-list |
void |
setProtocolRedirectString(java.lang.String protocolName,
int redirectIndex,
java.lang.String value)
Sets the address to redirect a certain flow to. |
void |
setProtocolRedirectString(java.lang.String protocolName,
java.lang.String value)
Sets the default address to redirect a certain flow to. |
void |
setServConfSettings(PolicySettings settings)
Sets Service-Configuration-settings |
void |
setServiceList(ServiceArray list)
Sets a list of services |
void |
setSubNotifications(SubscriberRedirectionArray subNotifications)
|
void |
setTimeFrameName(int index,
java.lang.String newName)
Sets an alias for the specific TimeFrame which has a certain index. |
void |
setTimeFrameName(TimeFrame frame,
java.lang.String newName)
Sets an alias for the specific TimeFrame. |
void |
setTimeFrameNames(java.lang.String[] newNames)
Sets the names of all time frames. |
void |
setTimeSlotMatrix(TimeSlotMatrix newTimeSlotMatrix)
Deprecated. use CalendarArray.getDefaultTimeSlotMatrix() |
void |
toStream(java.io.PrintStream out,
Formatter f)
Writing this object to a PrintStream |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceConfig()
public ServiceConfig(Policy policy)
policy - -
the current policypublic ServiceConfig(java.lang.String descriptionText)
ServiceConfig()instead.
descriptionText - | Method Detail |
|---|
public void fromStream(java.io.BufferedReader in,
Formatter f)
throws ImportExportException
fromStream in interface Formattablein - the BufferedReaderf - the formatter used to read this object from the BufferedReader
ImportExportExceptionpublic CalendarArray getCalendarList()
public ClassificationConfiguration getClassificationCfg()
public NotifyingProperties getCustomNonPersistentProperties()
public DynamicSignaturesScript getDynamicSignatureScript()
public long getLastApplyTimestamp()
public com.pcube.apps.engage.management.PrimitiveList getListenersDataList()
public PackageArray getPackageList()
public PolicySettings getPolicySettings()
public ProtocolFamiliesManager getProtocolFamiliesManager()
public ProtocolList getProtocolList()
public ProtocolRedirectIndexNameArray getProtocolRedirectIndexNameArray()
public java.lang.String getProtocolRedirectString(java.lang.String protocolName,
int redirectIndex)
throws ItemNotFoundException
protocolName - the queried ProtocolredirectIndex - the index in the redirect String array
ItemNotFoundException - if there is no such predefined Protocol in this Policy's
ProtocolArray, or if the redirect index is out of bound
public java.lang.String getRealTimeFrameName(java.lang.String name)
throws ItemNotFoundException
name - this Service-Configuration's alias for the TimeFrame
ItemNotFoundException - if there is no such alias in this Service-Configurationpublic ServiceArray getServiceList()
public SubscriberRedirectionArray getSubNotifications()
public java.lang.String[] getTimeFrameNames()
public TimeSlotMatrix getTimeSlotMatrix()
CalendarArray.getDefaultTimeSlotMatrix()
public java.lang.String getProtocolRedirectString(java.lang.String protocolName)
throws ItemNotFoundException
protocolName - the queried Protocol
ItemNotFoundException - if there is no such predefined Protocol in this
Service-Configuration's ProtocolArraypublic ZoneList getZoneList()
public boolean isProtocolRedirectable(java.lang.String protocolName)
throws ItemNotFoundException
protocolName - the queried Protocol's name
ItemNotFoundException - if there is no such predefined Protocol in this
Service-Configuration's ProtocolArraypublic void setLastApplyTimestamp(long newLastApplyTimestamp)
newLastApplyTimestamp - the apply-timestamp to setpublic void setPackageList(PackageArray list)
list - a package-list to setpublic void setServConfSettings(PolicySettings settings)
settings - com.pcube.apps.engage.policypublic void setAddOnGroupsList(AddOnGroupArray settings)
public void setProtocolRedirectString(java.lang.String protocolName,
int redirectIndex,
java.lang.String value)
throws ItemNotFoundException,
java.net.MalformedURLException
protocolName - the desired Protocol whose activity is to be redirectedredirectIndex - the redirect String index in the Protocol's redirect String
arrayvalue - the Protocol's new redirect address
ItemNotFoundException - if there is no such predefined Protocol in this
Service-Configuration's ProtocolArray, or if the redirect
index is out of bound
java.net.MalformedURLException - if the string is an illegal URL name
public void setProtocolRedirectString(java.lang.String protocolName,
java.lang.String value)
throws ItemNotFoundException,
java.net.MalformedURLException
protocolName - the desired Protocol whose activity is to be redirectedvalue - the Protocol's new redirect address
ItemNotFoundException - if there is no such predefined Protocol in this
Service-Configuration's ProtocolArray
java.net.MalformedURLException - if the string is an illegal URL namepublic void setServiceList(ServiceArray list)
list - a services list to setpublic void setSubNotifications(SubscriberRedirectionArray subNotifications)
subNotifications - The subNotifications to set.
public void setTimeFrameName(int index,
java.lang.String newName)
throws ItemNotFoundException,
DuplicateItemException
index - the index of the TimeFrame to which the alias is givennewName - the alias
ItemNotFoundException - if there is no such TimeFrame
DuplicateItemException
public void setTimeFrameName(TimeFrame frame,
java.lang.String newName)
throws ItemNotFoundException,
DuplicateItemException
frame - the TimeFrame to which the alias is givennewName - the alias
ItemNotFoundException - if there is no such TimeFrame
DuplicateItemExceptionpublic void setTimeFrameNames(java.lang.String[] newNames)
newNames - the names to setpublic void setTimeSlotMatrix(TimeSlotMatrix newTimeSlotMatrix)
CalendarArray.getDefaultTimeSlotMatrix()
newTimeSlotMatrix - the matrix of time-slots to set
public void toStream(java.io.PrintStream out,
Formatter f)
toStream in interface Formattableout - the PrintStreamf - the formatter used to write this object
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||