|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SipClient
Interface for an individual SIP client connected to an individual SIP proxy.
| Method Summary | |
|---|---|
void |
connect()
Connects to the proxy server. |
URI |
getContactUri()
Accessor the contact URI for the client. |
org.apache.commons.id.uuid.UUID |
getInstanceId()
Accessor for the unique instance ID for this client. |
URI |
getProxyUri()
Accessor for the URI of the SIP proxy the client is connected to and registered with. |
URI |
getSipUri()
Accessor for the SIP URI for this client. |
void |
register()
Registers the SIP client. |
void |
writeCrlfKeepAlive()
Sends a CRLF keep-alive message, as specified in the SIP outbound draft at: http://www.ietf.org/internet-drafts/draft-ietf-sip-outbound-08.txt |
void |
writeInviteOk(org.lastbamboo.common.sip.stack.message.Invite invite,
org.littleshoot.mina.common.ByteBuffer body)
Sends an INVITE OK message. |
void |
writeInviteRejected(org.lastbamboo.common.sip.stack.message.Invite invite,
int responseCode,
String reasonPhrase)
Writes an INVITE rejected response. |
| Methods inherited from interface org.lastbamboo.common.offer.answer.Offerer |
|---|
offer |
| Method Detail |
|---|
org.apache.commons.id.uuid.UUID getInstanceId()
URI getContactUri()
URI getSipUri()
URI getProxyUri()
void writeCrlfKeepAlive()
void writeInviteOk(org.lastbamboo.common.sip.stack.message.Invite invite,
org.littleshoot.mina.common.ByteBuffer body)
invite - The INVITE we're responding to.body - The body of the INVITE OK.
void writeInviteRejected(org.lastbamboo.common.sip.stack.message.Invite invite,
int responseCode,
String reasonPhrase)
invite - The invite.responseCode - The response code.reasonPhrase - The reason phrase for the error.
void register()
throws IOException
IOException - If we do not get a successful registration response.
void connect()
throws IOException
IOException - If we cannot connect.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||