|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.engage.foundations.NamedObjectBase
com.pcube.apps.engage.policy.ProtocolFamily
public class ProtocolFamily
A category of protocols. A Protocol Family is a group of protocols sharing common properties, like the P2P protocol family. Grouping protocols into famlies is used in the reporter to create famliy oriented reports, e.g P2P or VOIP usage reports.
| Field Summary | |
|---|---|
static String |
XML_ATT_ID
|
static String |
XML_ATT_NAME
|
static String |
XML_TAG_NAME
|
static String |
XML_TAG_REF_PROTOCOL
|
static String |
XML_TAG_REF_SIGNATURE
|
| Constructor Summary | |
|---|---|
ProtocolFamily()
|
|
| Method Summary | |
|---|---|
boolean |
accept(Object p)
return true if the specified protocol is a member of this family |
void |
addProtocol(Protocol p)
|
void |
addProtocol(String name)
|
void |
addSignature(Signature s)
|
void |
addSignature(String name)
|
com.pcube.apps.framework.commons.Filter |
chain(com.pcube.apps.framework.commons.Filter f)
|
boolean |
equals(Object o)
|
void |
fromStream(BufferedReader in,
Formatter f)
Method fromStream |
ProtocolFamily |
fromXML(Element familyElement)
parse family from XML element |
int |
getId()
|
List |
getProtocolNames()
|
List |
getSignatureNames()
|
boolean |
isHidden()
|
void |
setHidden(boolean hidden)
|
void |
toStream(PrintStream out,
Formatter f)
Method toStream |
String |
toString()
|
Element |
toXML(Document doc)
convert to DOM element |
| Methods inherited from class com.pcube.apps.engage.foundations.NamedObjectBase |
|---|
addPropertyChangedListener, addVetoableChangeListener, getName, removePropertyChangedListener, removeVetoableChangeListener, setName |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String XML_TAG_NAME
public static final String XML_ATT_NAME
public static final String XML_ATT_ID
public static final String XML_TAG_REF_PROTOCOL
public static final String XML_TAG_REF_SIGNATURE
| Constructor Detail |
|---|
public ProtocolFamily()
| Method Detail |
|---|
public void fromStream(BufferedReader in,
Formatter f)
throws ImportExportException
Formattable
fromStream in interface FormattableImportExportExceptionFormattable.fromStream(java.io.BufferedReader,
com.pcube.apps.engage.common.Formatter)
public void toStream(PrintStream out,
Formatter f)
Formattable
toStream in interface FormattableFormattable.toStream(java.io.PrintStream,
com.pcube.apps.engage.common.Formatter)public boolean isHidden()
public int getId()
public List getSignatureNames()
public List getProtocolNames()
public void addProtocol(Protocol p)
public void addProtocol(String name)
public void addSignature(Signature s)
public void addSignature(String name)
public ProtocolFamily fromXML(Element familyElement)
throws ImportExportException
familyElement -
ImportExportExceptionpublic void setHidden(boolean hidden)
public Element toXML(Document doc)
doc -
public boolean accept(Object p)
accept in interface com.pcube.apps.framework.commons.Filtercom.pcube.apps.engage.policy.ProtocolFilter#accept(com.pcube.apps.engage.policy.Protocol)public boolean equals(Object o)
equals in class Objectpublic com.pcube.apps.framework.commons.Filter chain(com.pcube.apps.framework.commons.Filter f)
chain in interface com.pcube.apps.framework.commons.Filterpublic String toString()
toString in class Object
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||