|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mitre.jsip.SipCall
Constructor Summary | |
SipCall(SipUser local,
java.lang.String id)
Creates a new call for a given SipUser |
|
SipCall(SipUser local,
java.lang.String id,
int ctype)
|
Method Summary | |
void |
callStatusUpdated()
Triggered whenever the call status changes. |
java.lang.String |
getCallId()
Returns the associated call ID |
int |
getCallStatus()
getCallStatus |
int |
getCallType()
|
SipCallMember |
getMember(SipUri uri)
Tries to find a SipCallMember for the given URI. |
java.util.ArrayList |
getMemberList()
Returns an iterator for the list of all current members of this call. |
java.lang.String |
getSubject()
Returns the subject for this call. |
java.util.ArrayList |
getTransactionList()
getTransactionList |
SipUri |
localAddress()
Returns the local URI that we are known by for this call. |
SipTransaction |
newRegister(SipUri registerserver,
boolean clear)
Sends a SIP register under this call to the given call member. |
SipTransaction |
newRegister(SipUri registerserver,
boolean clear,
java.lang.String authentication,
java.lang.String proxyauthentication,
java.lang.String body,
MimeContentType bodytype)
|
SipTransaction |
newRequest(SipCallMember member,
int meth,
java.lang.String body,
MimeContentType bodytype)
Sends a SIP request under this call to the given call member. |
SipTransaction |
newRequest(SipCallMember member,
int meth,
java.lang.String body,
MimeContentType bodytype,
SipUri transferto)
|
void |
setCallType(int newtype)
setCallType |
void |
setSendAddress(SipUri sendAddress)
Sets the address that messages will be sent to for this call member |
void |
setSubject(java.lang.String newsubject)
Set the subject for this call. |
static void |
statusUpdated()
statusUpdated - do this for now |
void |
subjectChanged()
Triggered whenever the call subject changes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SipCall(SipUser local, java.lang.String id)
public SipCall(SipUser local, java.lang.String id, int ctype)
Method Detail |
public int getCallStatus()
public int getCallType()
public void setCallType(int newtype)
newtype
- public SipUri localAddress()
public java.lang.String getCallId()
public SipCallMember getMember(SipUri uri)
uri
- public java.lang.String getSubject()
public void setSubject(java.lang.String newsubject)
newsubject
- public java.util.ArrayList getTransactionList()
public void setSendAddress(SipUri sendAddress)
public SipTransaction newRequest(SipCallMember member, int meth, java.lang.String body, MimeContentType bodytype)
public SipTransaction newRequest(SipCallMember member, int meth, java.lang.String body, MimeContentType bodytype, SipUri transferto)
public SipTransaction newRegister(SipUri registerserver, boolean clear)
public SipTransaction newRegister(SipUri registerserver, boolean clear, java.lang.String authentication, java.lang.String proxyauthentication, java.lang.String body, MimeContentType bodytype)
public java.util.ArrayList getMemberList()
public void callStatusUpdated()
public void subjectChanged()
public static void statusUpdated()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |