|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.siprop.stack.rtp.impl.RTPtransportUDP
public class RTPtransportUDP
RTP用UDPTransportクラス
| フィールドの概要 |
|---|
| インタフェース org.siprop.core.stack.rtp.RTPtransport から継承されたフィールド |
|---|
RTP_RCV_LEN, SOCKET_TIMEOUT |
| コンストラクタの概要 | |
|---|---|
RTPtransportUDP()
|
|
| メソッドの概要 | |
|---|---|
void |
close()
クローズする。 |
void |
connect(java.net.InetAddress remoteAddress,
int remotePort)
コネクションを張る。 |
int |
create()
ソケットを作成する。 |
int |
create(java.net.InetAddress localAddress,
int localPort)
ソケットを作成する。 |
int |
create(int port)
ソケットを作成する。 |
java.net.InetAddress |
getLocalAddress()
ローカルのIPアドレスを取得する。 |
int |
getLocalPort()
ローカルのポート番号を取得する。 |
java.net.InetAddress |
getRemoteAddress()
リモートのIPアドレスを取得する。 |
int |
getRemotePort()
リモートのポート番号を取得する。 |
byte[] |
receive()
受信する。 |
int |
send(byte[] data)
送信する。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public RTPtransportUDP()
| メソッドの詳細 |
|---|
public void close()
RTPtransport 内の close
public void connect(java.net.InetAddress remoteAddress,
int remotePort)
RTPtransport 内の connectremoteAddress - IPアドレスremotePort - ポート番号public int create()
RTPtransport 内の createpublic int create(int port)
RTPtransport 内の create -
public int create(java.net.InetAddress localAddress,
int localPort)
RTPtransport 内の createlocalAddress - localPort -
public java.net.InetAddress getLocalAddress()
RTPtransport 内の getLocalAddresspublic int getLocalPort()
RTPtransport 内の getLocalPortpublic java.net.InetAddress getRemoteAddress()
RTPtransport 内の getRemoteAddresspublic int getRemotePort()
RTPtransport 内の getRemotePort
public byte[] receive()
throws java.net.SocketException,
java.io.IOException
RTPtransport 内の receivejava.net.SocketException
java.io.IOException
public int send(byte[] data)
throws java.io.IOException
RTPtransport 内の send -
java.io.IOException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||