Uses of Interface
org.echarts.test.sip.BaseState

Packages that use BaseState
org.echarts.test.sip   
org.echarts.test.sip.matchers   
 

Uses of BaseState in org.echarts.test.sip
 

Classes in org.echarts.test.sip that implement BaseState
 class CATState
          Enumerations for states of the agent machine in KitCAT.
 

Methods in org.echarts.test.sip that return BaseState
 BaseState SIPAgentImpl.getCurrentState()
           
 BaseState SIPAgent.getCurrentState()
          Get the current state of the agent state machine
 BaseState MessageExchangeRecord.getState()
           
 

Methods in org.echarts.test.sip with parameters of type BaseState
static org.hamcrest.Matcher<SIPAgent> CATMatchers.inState(BaseState expectedState)
          Factory method for matcher to check whether agent is in a specific state.
 void SIPAgentImpl.msgRecvd(BaseState state, Message msg)
           
 void SIPAgentImpl.msgSent(BaseState state, Message msg)
           
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdErrorResponse(BaseState state)
          Factory method to create a matcher to check whether agent received an error response (response code between 400 and 699) in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdFinalResponse(BaseState state)
          Factory method to create a matcher to check whether agent received a final response (response code between 200 and 699) in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdMessage(BaseState state, MessageComparator comparator)
          Factory method to create a matcher to check whether agent received a message with particular properties in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdProvisionalResponse(BaseState state)
          Factory method to create a matcher to check whether agent received a provisional response (response code between 100 and 199) in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdRedirectResponse(BaseState state)
          Factory method to create a matcher to check whether agent received a redirect response (response code between 300 and 399) in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdRequest(BaseState state, java.lang.String method)
          Factory method to create a matcher to check whether agent received a request with the specified method in the specified state
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdResponse(BaseState state, int respCode)
          Factory method to create a matcher to check whether agent received a response with the specified response code in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdResponse(BaseState state, int respCode1, int respCode2)
          Factory method to create a matcher to check whether agent received a response in the specified state and the response code is in the specified range.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdSuccessResponse(BaseState state)
          Factory method to create a matcher to check whether agent received a success response (response code between 200 and 299) in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.sentMessage(BaseState state, MessageComparator comparator)
          Factory method to create a matcher to check whether agent sent a message with specific properties in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.sentRequest(BaseState state, java.lang.String method)
          Factory method to create a matcher to check whether agent sent a request with the specified method in the specified state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.sentResponse(BaseState state, int respCode)
          Factory method to create a matcher to check whether agent sent a response with the specified response code in the specified state.
 

Uses of BaseState in org.echarts.test.sip.matchers
 

Constructors in org.echarts.test.sip.matchers with parameters of type BaseState
MessageHistoryMatcher(MessageExchangeRecord.Operation op, MessageComparator msgComparator, BaseState state)
           
StateMatcher(BaseState... states)