|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
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(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,
Request req)
Send a SIP response by stateless. |
void |
sendResponse(int num,
RequestEvent evt,
java.lang.String sender_uri)
Send a SIP response. |
void |
sendResponse(SessionDescription sdp,
Request req,
SipURI target,
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 SipException,
java.io.IOException,
java.text.ParseException,
InvalidArgumentException,
java.util.TooManyListenersException
name - Name of EntityContainerhostname - sip_port - sip_config -
SipException
java.io.IOException
java.text.ParseException
InvalidArgumentException
java.util.TooManyListenersExceptionpublic static SipCore getInstance()
public void sendResponse(int num,
Request req)
throws java.text.ParseException,
InvalidArgumentException,
SipException
num - req -
java.text.ParseException
InvalidArgumentException
SipException
public void sendResponse(int num,
RequestEvent evt,
java.lang.String sender_uri)
throws java.text.ParseException,
SipException,
InvalidArgumentException
num - evt - sender_uri -
java.text.ParseException
SipException
InvalidArgumentException
public void sendResponse(SessionDescription sdp,
Request req,
SipURI target,
SipURI source)
sdp - req - uri2 -
public void sendRequest(Entity target,
Entity source,
java.lang.String method)
throws SipException
target - method -
SipException
public void sendRequest(java.lang.String message,
Entity target,
Entity source,
java.lang.String method)
throws SipException,
java.text.ParseException
message - target - source - method -
SipException
java.text.ParseException
public void sendInvite(SessionDescription sdp,
Entity target,
Entity source)
throws SipException,
java.text.ParseException
sdp - target - source -
SipException
java.text.ParseException
public void sendSubscribe(Entity target,
Entity source,
int expire)
throws SipException
target - source - subscribe - default_expires2 -
SipException
public void sendBye(Entity target)
throws SipException
SipExceptionpublic void sendAck(Entity target)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||