All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.ipop.CallSession

java.lang.Object
   |
   +----iceberg.ipop.CallSession

public class CallSession
extends Object

Variable Index

 o CallStatePktSize
 o Period
 o Timeout

Constructor Index

 o CallSession(CallAgent, String, int, CallState)

Method Index

 o getMyCallState()
Get my current call state
 o getNumCallParties()
Get the current number of communication endpoints in the call session.
 o getNumEndPoints()
Get the current number of communication endpoints in the call session.
 o getTheOtherCallState()
When the number of end points in a call session has been reduced to 2, get the other call state than my own.
 o recvCallSessionMsg(MulticastSocket)
Obtain a CallSessionMsg object from the socket.
 o sendCallSessionMsg(CallSessionMsg)
Send out a CallSessionMsg object out to a socket.
 o setMyNewCallState(CallState)
Set my new call state when there is a change in my call state, and the new call state will be periodically announced to the call session.
 o stop()
Terminate the call by leaving the call session.

Variables

 o Timeout
 public static final int Timeout
 o Period
 public static final int Period
 o CallStatePktSize
 public static final int CallStatePktSize

Constructors

 o CallSession
 public CallSession(CallAgent callAgent,
                    String mcastAddr,
                    int port,
                    CallState myCallState)

Methods

 o getNumEndPoints
 public int getNumEndPoints()
Get the current number of communication endpoints in the call session.

 o getNumCallParties
 public int getNumCallParties()
Get the current number of communication endpoints in the call session.

 o getTheOtherCallState
 public CallState getTheOtherCallState()
When the number of end points in a call session has been reduced to 2, get the other call state than my own.

 o recvCallSessionMsg
 public CallSessionMsg recvCallSessionMsg(MulticastSocket sock)
Obtain a CallSessionMsg object from the socket.

 o sendCallSessionMsg
 public void sendCallSessionMsg(CallSessionMsg msgObj)
Send out a CallSessionMsg object out to a socket.

 o setMyNewCallState
 public void setMyNewCallState(CallState callState)
Set my new call state when there is a change in my call state, and the new call state will be periodically announced to the call session.

 o getMyCallState
 public CallState getMyCallState()
Get my current call state

 o stop
 public void stop()
Terminate the call by leaving the call session. The caller of the function also destroyes the paths that involves the call party leaving the call session.


All Packages  Class Hierarchy  This Package  Previous  Next  Index