org.siprop.stack.rtp.impl
クラス RTPpairs

java.lang.Object
  上位を拡張 org.siprop.stack.rtp.impl.RTPpairs

public class RTPpairs
extends java.lang.Object

RTPの接続先(SDPのオファーとアンサー)のセットを表すクラス

作成者:
masaxmasa

コンストラクタの概要
RTPpairs()
          コンストラクタ
 
メソッドの概要
 int addPair(int index, RTPUAModule ua)
          Pairを追加する。
 int addPair(RTPUAModule ua0, RTPUAModule ua1)
          Pairを追加する。
 void deletePair(int index)
          Pairを削除する。
 void deletePair(int index, RTPUAModule ua)
          Pairを削除する。
 boolean isEmpty()
          空かどうか?
 java.util.Iterator iterator()
           
 int length()
          Pairの数を取得する。
 java.util.Iterator pair_iterator(int index)
           
 int searchPairIndex(RTPUAModule ua)
          PairのIndexを取得する。
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RTPpairs

public RTPpairs()
コンストラクタ

メソッドの詳細

length

public int length()
Pairの数を取得する。

戻り値:

isEmpty

public boolean isEmpty()
空かどうか?

戻り値:

addPair

public int addPair(RTPUAModule ua0,
                   RTPUAModule ua1)
Pairを追加する。

パラメータ:
ua0 -
ua1 -
戻り値:

addPair

public int addPair(int index,
                   RTPUAModule ua)
Pairを追加する。

パラメータ:
index -
ua -
戻り値:

deletePair

public void deletePair(int index)
Pairを削除する。

パラメータ:
index -

deletePair

public void deletePair(int index,
                       RTPUAModule ua)
Pairを削除する。

パラメータ:
index -
ua -

searchPairIndex

public int searchPairIndex(RTPUAModule ua)
PairのIndexを取得する。

パラメータ:
ua -
戻り値:

iterator

public java.util.Iterator iterator()

pair_iterator

public java.util.Iterator pair_iterator(int index)