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).
-
ANS
- The callee answers the phone.
-
BUSY
- The callee is busy on the phone.
-
ERR
- Some error occurred during ring.
-
NOANS
- The callee does not answer the phone.
-
RingReply(String, String, EndPointInfo, byte)
- Constructor.
-
getCalleeEndPointInfo()
-
-
getCalleeUID()
- Get the callee Iceberg Unique ID.
-
getCallerUID()
- Get the caller Iceberg Unique ID.
-
getPathInfo()
- Get the path info specific to the device that is ring.
-
getResponse()
- Get the response code
-
setPathInfo(String)
-
-
toString()
- Generate the string form of the ring reply.
ANS
public static final byte ANS
- The callee answers the phone.
NOANS
public static final byte NOANS
- The callee does not answer the phone.
BUSY
public static final byte BUSY
- The callee is busy on the phone.
ERR
public static final byte ERR
- Some error occurred during ring.
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
getCalleeEndPointInfo
public EndPointInfo getCalleeEndPointInfo()
getResponse
public byte getResponse()
- Get the response code
setPathInfo
public void setPathInfo(String pathInfo)
getPathInfo
public String getPathInfo()
- Get the path info specific to the device that is ring.
getCallerUID
public String getCallerUID()
- Get the caller Iceberg Unique ID.
getCalleeUID
public String getCalleeUID()
- Get the callee Iceberg Unique ID.
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