Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class ToSMarkingArray

java.lang.Object
  extended by com.pcube.apps.engage.policy.ToSMarkingArray
All Implemented Interfaces:
Formattable

public class ToSMarkingArray
extends java.lang.Object
implements Formattable


Field Summary
static int MAX_TOS_MARKERS
           
 
Constructor Summary
ToSMarkingArray()
           
 
Method Summary
 void fromStream(java.io.BufferedReader in, Formatter f)
          Method fromStream
 ToSMarker getAt(int i)
           
 ToSMarker getMarker(java.lang.String name)
           
 int indexOf(ToSMarker marker)
           
 boolean isDownstreamToSMarkingEnabled()
           
 boolean isUpstreamToSMarkingEnabled()
           
 java.util.Iterator iterator()
           
 void setDownstreamToSMarkingEnabled(boolean downstreamToSMarkingEnabled)
           
 void setUpstreamToSMarkingEnabled(boolean upstreamToSMarkingEnabled)
           
 void toStream(java.io.PrintStream out, Formatter f)
          Method toStream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_TOS_MARKERS

public static final int MAX_TOS_MARKERS
See Also:
Constant Field Values
Constructor Detail

ToSMarkingArray

public ToSMarkingArray()
Method Detail

toStream

public void toStream(java.io.PrintStream out,
                     Formatter f)
Description copied from interface: Formattable
Method toStream

Specified by:
toStream in interface Formattable

fromStream

public void fromStream(java.io.BufferedReader in,
                       Formatter f)
                throws ImportExportException
Description copied from interface: Formattable
Method fromStream

Specified by:
fromStream in interface Formattable
Throws:
ImportExportException

getAt

public ToSMarker getAt(int i)

getMarker

public ToSMarker getMarker(java.lang.String name)

isDownstreamToSMarkingEnabled

public boolean isDownstreamToSMarkingEnabled()

setDownstreamToSMarkingEnabled

public void setDownstreamToSMarkingEnabled(boolean downstreamToSMarkingEnabled)

isUpstreamToSMarkingEnabled

public boolean isUpstreamToSMarkingEnabled()

setUpstreamToSMarkingEnabled

public void setUpstreamToSMarkingEnabled(boolean upstreamToSMarkingEnabled)

iterator

public java.util.Iterator iterator()

indexOf

public int indexOf(ToSMarker marker)
Parameters:
marker -
Returns:
the index of this marker in this array or -1 if this array does not contain this maker

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.