|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.ac.naka.ec.sip.SipCore
public class SipCore
SIPリクエスト、レスポンスの送信を行うクラス。NOTIFYリクエストのの自動送信もになう。
フィールドの概要 | |
---|---|
static int |
DEFAULT_EXPIRES
|
static java.lang.String |
event_package
|
static int |
PORT
|
static java.lang.String |
TRANSPORT
|
コンストラクタの概要 | |
---|---|
SipCore()
|
メソッドの概要 | |
---|---|
static SipCore |
getInstance()
It retrieve an Instance of SipCore. |
void |
initialize(java.lang.String hostname,
int sip_port)
|
void |
sendAck(Entity target)
|
void |
sendBye(Entity target)
|
void |
sendInvite(javax.sdp.SessionDescription sdp,
Entity target,
Entity source)
INVITE送信専用メソッド |
void |
sendRequest(Entity target,
Entity source,
java.lang.String method)
Send a SIP Message by a specified method. |
void |
sendRequest(java.lang.String message,
Entity target,
Entity source,
java.lang.String method)
|
void |
sendResponse(int num,
javax.sip.message.Request req)
Send a SIP response by stateless. |
void |
sendResponse(int num,
javax.sip.RequestEvent evt,
java.lang.String sender_uri)
Send a SIP response. |
void |
sendResponse(javax.sdp.SessionDescription sdp,
javax.sip.message.Request req,
javax.sip.address.SipURI target,
javax.sip.address.SipURI source)
ANSWER送信 |
void |
sendSubscribe(Entity target,
Entity source,
int expire)
SUBSCRIBE送信用 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static int DEFAULT_EXPIRES
public static java.lang.String event_package
public static int PORT
public static java.lang.String TRANSPORT
コンストラクタの詳細 |
---|
public SipCore()
メソッドの詳細 |
---|
public void initialize(java.lang.String hostname, int sip_port) throws javax.sip.SipException, java.io.IOException, java.text.ParseException, javax.sip.InvalidArgumentException, java.util.TooManyListenersException
name
- Name of EntityContainerhostname
- sip_port
- sip_config
-
javax.sip.SipException
java.io.IOException
java.text.ParseException
javax.sip.InvalidArgumentException
java.util.TooManyListenersException
public static SipCore getInstance()
public void sendResponse(int num, javax.sip.message.Request req) throws java.text.ParseException, javax.sip.InvalidArgumentException, javax.sip.SipException
num
- req
-
java.text.ParseException
javax.sip.InvalidArgumentException
javax.sip.SipException
public void sendResponse(int num, javax.sip.RequestEvent evt, java.lang.String sender_uri) throws java.text.ParseException, javax.sip.SipException, javax.sip.InvalidArgumentException
num
- evt
- sender_uri
-
java.text.ParseException
javax.sip.SipException
javax.sip.InvalidArgumentException
public void sendResponse(javax.sdp.SessionDescription sdp, javax.sip.message.Request req, javax.sip.address.SipURI target, javax.sip.address.SipURI source)
sdp
- req
- uri2
- public void sendRequest(Entity target, Entity source, java.lang.String method) throws javax.sip.SipException
target
- method
-
javax.sip.SipException
public void sendRequest(java.lang.String message, Entity target, Entity source, java.lang.String method) throws javax.sip.SipException, java.text.ParseException
message
- target
- source
- method
-
javax.sip.SipException
java.text.ParseException
public void sendInvite(javax.sdp.SessionDescription sdp, Entity target, Entity source) throws javax.sip.SipException, java.text.ParseException
sdp
- target
- source
-
javax.sip.SipException
java.text.ParseException
public void sendSubscribe(Entity target, Entity source, int expire) throws javax.sip.SipException
target
- source
- subscribe
- default_expires2
-
javax.sip.SipException
public void sendBye(Entity target) throws javax.sip.SipException
javax.sip.SipException
public void sendAck(Entity target)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |