NTT DOCOMO and Hitachi Kokusai Electric Know-how & Confidential

クラス
com.docomo_um.module.net.Session の使用

Session を使用しているパッケージ
com.docomo_um.module.net 無線通信に関するクラスを定義します。 
 

com.docomo_um.module.net での Session の使用
 

com.docomo_um.module.net での Session のサブクラス
 class PacketSession
          パケット通信の接続を表すクラスです。
 class VoiceSession
          音声通話の接続を表すクラスです。
 

Session を返す com.docomo_um.module.net のメソッド
abstract  Session ModemController.createSession(java.lang.String destination)
          音声通話またはパケット通信の接続を表すインスタンスを生成します。
 Session PacketController.createSession(java.lang.String destination)
          パケット通信の接続を表すインスタンスを生成します。
 Session VoiceController.createSession(java.lang.String destination)
           音声通話の接続を表すインスタンスを生成します。
abstract  Session ModemController.getConnectedSession()
          現在接続中のSessionを取得します。
 Session PacketController.getConnectedSession()
          現在パケット通信中のSessionを取得します。
 Session VoiceController.getConnectedSession()
          現在音声通話が通話呼のSessionを取得します。
 

Session 型のパラメータを持つ com.docomo_um.module.net のメソッド
 void ModemControllerListener.onChangedStatus(ModemController controller, Session session)
          セッションの状態が変化した場合に呼ばれます。
 void ModemControllerListener.onReceived(ModemController controller, Session session)
          音声またはパケットの着信があった場合に呼ばれます。
 


Copyright © 2013 NTT DOCOMO, INC. and Hitachi Kokusai Electric Inc. All Rights Reserved.