All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.ipop.CallSession
java.lang.Object
|
+----iceberg.ipop.CallSession
- public class CallSession
- extends Object
-
CallStatePktSize
-
-
Period
-
-
Timeout
-
-
CallSession(CallAgent, String, int, CallState)
-
-
getMyCallState()
- Get my current call state
-
getNumCallParties()
- Get the current number of communication endpoints in the call
session.
-
getNumEndPoints()
- Get the current number of communication endpoints in the call
session.
-
getTheOtherCallState()
- When the number of end points in a call session has been reduced
to 2, get the other call state than my own.
-
recvCallSessionMsg(MulticastSocket)
- Obtain a CallSessionMsg object from the socket.
-
sendCallSessionMsg(CallSessionMsg)
- Send out a CallSessionMsg object out to a socket.
-
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.
-
stop()
- Terminate the call by leaving the call session.
Timeout
public static final int Timeout
Period
public static final int Period
CallStatePktSize
public static final int CallStatePktSize
CallSession
public CallSession(CallAgent callAgent,
String mcastAddr,
int port,
CallState myCallState)
getNumEndPoints
public int getNumEndPoints()
- Get the current number of communication endpoints in the call
session.
getNumCallParties
public int getNumCallParties()
- Get the current number of communication endpoints in the call
session.
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.
recvCallSessionMsg
public CallSessionMsg recvCallSessionMsg(MulticastSocket sock)
- Obtain a CallSessionMsg object from the socket.
sendCallSessionMsg
public void sendCallSessionMsg(CallSessionMsg msgObj)
- Send out a CallSessionMsg object out to a socket.
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.
getMyCallState
public CallState getMyCallState()
- Get my current call state
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