| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectProtocolLearner.FSATransition
public class FSATransition
Inner class that stores information relevant for each transition such as the destination state, input symbol and output symbol sequences. Every state is associated with a list of transactions in a hash map.
| Constructor Summary | |
|---|---|
| FSATransition(java.lang.String inputSymbol,
              int newState)Constructor 2 (without output message sequence) | |
| FSATransition(java.lang.String inputSymbol,
              int newState,
              java.util.ArrayList<java.lang.String> outputMsgSeq)Constructor 1 (with output message sequence) | |
| Method Summary | |
|---|---|
|  boolean | addOutputSequence(java.util.ArrayList<java.lang.String> outSeq)Adds an output message sequence to the list of output message sequences | 
|  boolean | checkOutMsgSeqPresense(java.util.ArrayList<java.lang.String> inputList)Checks if there is an output message sequences that matches to the input out. | 
|  void | decrementStepsBeforeAdding() | 
|  StringForFuzzing | getFuzzingString() | 
|  GenericSequence | getGenericSequence() | 
|  java.lang.String | getInputSymbol()Returns the input symbol of the transition | 
|  int | getNewState()Returns the next available index for a new state | 
|  java.util.ArrayList<java.util.ArrayList<java.lang.String>> | getOutputMsgSeq()Returns the list of output symbol messages | 
|  int | getStepsBeforeAdding() | 
|  void | setFuzzingString(StringForFuzzing g)Sets the fuzzing string for the transition | 
|  void | setStepsBeforeAdding(int s)Steps before adding the transition is used when restoring the loops while traversing the message trace | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FSATransition(java.lang.String inputSymbol,
                     int newState,
                     java.util.ArrayList<java.lang.String> outputMsgSeq)
inputSymbol - Input symbol for the transitionnewState - Destination stateoutputMsgSeq - A sequence of output messages associated with the transition
public FSATransition(java.lang.String inputSymbol,
                     int newState)
inputSymbol - Input symbol for the transitionnewState - Destination stateoutputMsgSeq - A sequence of output messages associated with the transition| Method Detail | 
|---|
public int getNewState()
public java.lang.String getInputSymbol()
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> getOutputMsgSeq()
public boolean checkOutMsgSeqPresense(java.util.ArrayList<java.lang.String> inputList)
inputList - ArrayList of output symbols ( ie output msg sequence )
public boolean addOutputSequence(java.util.ArrayList<java.lang.String> outSeq)
outSeq - An output message sequence
public GenericSequence getGenericSequence()
public void setFuzzingString(StringForFuzzing g)
public StringForFuzzing getFuzzingString()
public void setStepsBeforeAdding(int s)
public int getStepsBeforeAdding()
public void decrementStepsBeforeAdding()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||