All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.iap.RingReply

java.lang.Object
   |
   +----iceberg.iap.RingReply

public class RingReply
extends Object
implements Serializable
RingReply represents the callee response to a ring. It has three modes: ANS (the callee answers the call); NOANS (the callee does not answer); BUSY (the callee is busy on the phone).


Variable Index

 o ANS
The callee answers the phone.
 o BUSY
The callee is busy on the phone.
 o ERR
Some error occurred during ring.
 o NOANS
The callee does not answer the phone.

Constructor Index

 o RingReply(String, String, EndPointInfo, byte)
Constructor.

Method Index

 o getCalleeEndPointInfo()
 o getCalleeUID()
Get the callee Iceberg Unique ID.
 o getCallerUID()
Get the caller Iceberg Unique ID.
 o getPathInfo()
Get the path info specific to the device that is ring.
 o getResponse()
Get the response code
 o setPathInfo(String)
 o toString()
Generate the string form of the ring reply.

Variables

 o ANS
 public static final byte ANS
The callee answers the phone.

 o NOANS
 public static final byte NOANS
The callee does not answer the phone.

 o BUSY
 public static final byte BUSY
The callee is busy on the phone.

 o ERR
 public static final byte ERR
Some error occurred during ring.

Constructors

 o RingReply
 public RingReply(String callerUID,
                  String calleeUID,
                  EndPointInfo calleeEndPointInfo,
                  byte response)
Constructor.

Parameters:
callerUID - the caller Iceberg Uniqued ID
calleeUID - the callee Iceberg Uniqued ID
response - ANS, NOANS or BUSY

Methods

 o getCalleeEndPointInfo
 public EndPointInfo getCalleeEndPointInfo()
 o getResponse
 public byte getResponse()
Get the response code

 o setPathInfo
 public void setPathInfo(String pathInfo)
 o getPathInfo
 public String getPathInfo()
Get the path info specific to the device that is ring.

 o getCallerUID
 public String getCallerUID()
Get the caller Iceberg Unique ID.

 o getCalleeUID
 public String getCalleeUID()
Get the callee Iceberg Unique ID.

 o toString
 public String toString()
Generate the string form of the ring reply.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index