public class SipClient
extends org.eclipse.jetty.util.component.AbstractLifeCycle
| Modifier and Type | Class and Description |
|---|---|
static class |
SipClient.Protocol |
| Constructor and Description |
|---|
SipClient()
Creates a new client with no connector.
|
SipClient(int port) |
SipClient(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnector(SipClient.Protocol protocol,
String host,
int port) |
void |
addUserAgent(UserAgent agent) |
UserAgent |
createUserAgent(String aor) |
protected void |
doStart() |
protected void |
doStop() |
javax.servlet.sip.SipURI |
getContact() |
javax.servlet.sip.SipFactory |
getFactory() |
UserAgent |
getUserAgent(javax.servlet.sip.URI uri) |
public SipClient()
public SipClient(String host, int port)
public SipClient(int port)
protected void doStart()
throws Exception
doStart in class org.eclipse.jetty.util.component.AbstractLifeCycleExceptionprotected void doStop()
throws Exception
doStop in class org.eclipse.jetty.util.component.AbstractLifeCycleExceptionpublic javax.servlet.sip.SipFactory getFactory()
public javax.servlet.sip.SipURI getContact()
public void addConnector(SipClient.Protocol protocol, String host, int port) throws Exception
Exceptionpublic void addUserAgent(UserAgent agent)
public UserAgent getUserAgent(javax.servlet.sip.URI uri)
Copyright © 2014. All Rights Reserved.