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

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

Uses of SIPAgent in org.echarts.test.sip
 

Classes in org.echarts.test.sip that implement SIPAgent
 class SIPAgentImpl
          For internal use only
 

Methods in org.echarts.test.sip that return SIPAgent
 SIPAgent CATTestCase.createAgent(java.lang.String userName)
          Create an instance of SIPAgent.
 

Methods in org.echarts.test.sip that return types with arguments of type SIPAgent
static org.hamcrest.Matcher<SIPAgent> CATMatchers.blackHoleSDP()
          Factory method to create a matcher to check whether agent has current SDP with "black-hole" connection address (0.0.0.0)
static org.hamcrest.Matcher<SIPAgent> CATMatchers.connected()
          Factory method to create a matcher to check whether an agent is in a SIP dialog.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.connectedTo(SIPAgent peerAgent)
          Factory method to create a matcher to check whether an agent is connected to another agent.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.disconnected()
          Factory method to create a matcher to check whether an agent has terminated its SIP dialog.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.idle()
          Factory method to create a matcher to check whether the current state of an agent is idle.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.incomingMedia()
          Factory method to create a matcher to check whether agent has RTP packets in its media buffer.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.inState(BaseState expectedState)
          Factory method for matcher to check whether agent is in a specific state.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.invited()
          Factory method to create a matcher to check whether an agent is in a state where it has received an INVITE.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.onHold()
          Factory method to create a matcher to check whether agent is on hold, either via "black-hole" SDP, or SDP in which all media descriptions have port 0.
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.recvdErrorResponse(CommandId cmdId)
          Factory method to create a matcher to check whether agent received a error response (response code between 400 and 699) for the specified earlier request.
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.recvdFinalResponse(CommandId cmdId)
          Factory method to create a matcher to check whether agent received a final response (response code between 200 and 699) for the specified earlier request.
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.recvdMessage(CommandId cmdId, MessageComparator comparator)
          Factory method to create a matcher to check whether agent received a response with particular properties to a request sent earlier.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdMessage(MessageComparator comparator)
          Factory method to create a matcher to check whether agent ever received a message with specific properties.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdNewSDP()
          Factory method to create a matcher to check whether an agent has received a different SDP since the last call to markSDP() on the agent.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdNewSDP(boolean temporal)
          Factory method to create a matcher to check whether an agent has received a SDP since the last call to markSDP() on the agent.
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.recvdProvisionalResponse(CommandId cmdId)
          Factory method to create a matcher to check whether agent received a provisional response (response code between 100 and 199) for the specified earlier request.
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.recvdRedirectResponse(CommandId cmdId)
          Factory method to create a matcher to check whether agent received a rediect response (response code between 300 and 399) for the specified earlier request.
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.recvdRequest(java.lang.String method)
          Factory method to create a matcher to check whether agent ever received a request with the specified method
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdRequest(java.lang.String method, java.util.regex.Pattern messagePattern, java.util.regex.Pattern contentPattern)
          Factory method to create a matcher to check whether agent received a request with the specified method and the message satisfies the specified regex pattern and the message body sastisfies the specified regex pattern.
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.recvdResponse(CommandId cmdId, int respCode)
          Factory method to create a matcher to check whether agent received a response for a specified earlier request and with specified response code.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdResponse(CommandId cmdId, int respCode1, int respCode2)
          Factory method to create a matcher to check whether agent received a response for a specified earlier request and with response code in the specified range.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdResponse(CommandId cmdId, int respCode, java.util.regex.Pattern messagePattern, java.util.regex.Pattern contentPattern)
           
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdResponse(int respCode)
          Factory method to create a matcher to check whether agent ever received a response with the specified response code.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.recvdResponse(int respCode, java.util.regex.Pattern messagePattern, java.util.regex.Pattern contentPattern)
          Factory method to create a matcher to check whether agent received a response with the specified response code and the response satisfies the specified regex pattern and the response body sastisfies the specified regex pattern.
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.recvdSuccessResponse(CommandId cmdId)
          Factory method to create a matcher to check whether agent received a success response (response code between 200 and 299) for the specified earlier request.
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.sentMessage(MessageComparator comparator)
          Factory method to create a matcher to check whether agent ever sent a message with specific properties.
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.sentRequest(java.lang.String method)
          Factory method to create a matcher to check whether agent ever sent a request with the specified method.
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.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.sentResponse(int respCode)
          Factory method to create a matcher to check whether agent sent a response with the specified response code.
static org.hamcrest.Matcher<SIPAgent> CATMatchers.zeroPortSDP()
          Factory method to create a matcher to check whether agent has current SDP in which all media descriptions have port 0.
 

Methods in org.echarts.test.sip with parameters of type SIPAgent
 CommandId SIPAgentImpl.call(SIPAgent callee)
           
 CommandId SIPAgent.call(SIPAgent callee)
          Sends an INVITE with the request URI containing the SipURI of the agent specified in callee
 CommandId SIPAgentImpl.call(SIPAgent callee, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap)
           
 CommandId SIPAgent.call(SIPAgent callee, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap)
          Sends an INVITE with the request URI containing the SipURI of the agent specified in callee and with the additional headers specified
 CommandId SIPAgentImpl.call(SIPAgent callee, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerMap, java.lang.String fromUri)
           
 CommandId SIPAgentImpl.call(SIPAgent callee, java.lang.String fromUri)
           
 CommandId SIPAgent.call(SIPAgent callee, java.lang.String fromUri)
          Sends an INVITE with the request URI containing the SipURI of the agent specified in callee and From header containing the value specified in fromUri.
 CommandId SIPAgentImpl.callNoSdp(SIPAgent callee)
           
 CommandId SIPAgent.callNoSdp(SIPAgent callee)
          Variant of call method where no SDP is sent
 CommandId SIPAgentImpl.callNoSdp(SIPAgent callee, java.lang.String fromUri)
           
 CommandId SIPAgent.callNoSdp(SIPAgent callee, java.lang.String fromUri)
          Variant of call method where no SDP is sent
static org.hamcrest.Matcher<SIPAgent> CATMatchers.connectedTo(SIPAgent peerAgent)
          Factory method to create a matcher to check whether an agent is connected to another agent.
 boolean ZeroPortSDPMatcher.matchesSafely(SIPAgent agent)
           
 boolean BlackHoleSDPMatcher.matchesSafely(SIPAgent agent)
           
 void CATTestCase.releaseAgent(SIPAgent agent)
          Releases resources associated with an agent.
 

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

Methods in org.echarts.test.sip.matchers with parameters of type SIPAgent
 boolean StateMatcher.matchesSafely(SIPAgent agent)
           
 boolean MessageHistoryMatcher.matchesSafely(SIPAgent agent)
           
 boolean MediaCheckMatcher.matchesSafely(SIPAgent agent)
           
 boolean SDPChangedMatcher.matchesSafely(SIPAgent agent)
           
 boolean ConnectedToMatcher.matchesSafely(SIPAgent agent)
           
 

Constructors in org.echarts.test.sip.matchers with parameters of type SIPAgent
ConnectedToMatcher(SIPAgent agent)