|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.owasp.webscarab.model.AbstractConversationModel
public abstract class AbstractConversationModel
| Constructor Summary | |
|---|---|
AbstractConversationModel(FrameworkModel model)
Creates a new instance of AbstractConversationModel |
|
| Method Summary | |
|---|---|
void |
addConversationListener(ConversationListener listener)
adds a listener to the model |
protected void |
fireConversationAdded(ConversationID id,
int position)
tells listeners that a new Conversation has been added |
protected void |
fireConversationChanged(ConversationID id,
int position)
fired to tell listeners that a particular conversation has had a property change |
protected void |
fireConversationRemoved(ConversationID id,
int position)
tells listeners that a conversation has been removed, after the fact |
protected void |
fireConversationsChanged()
fired to tell listeners that a particular conversation has had a property change |
abstract ConversationID |
getConversationAt(int index)
|
abstract int |
getConversationCount()
|
java.util.Date |
getConversationDate(ConversationID id)
|
java.lang.String |
getConversationOrigin(ConversationID id)
|
abstract int |
getIndexOfConversation(ConversationID id)
|
Request |
getRequest(ConversationID id)
|
java.lang.String |
getRequestMethod(ConversationID id)
|
HttpUrl |
getRequestUrl(ConversationID id)
|
Response |
getResponse(ConversationID id)
|
java.lang.String |
getResponseStatus(ConversationID id)
|
abstract EDU.oswego.cs.dl.util.concurrent.Sync |
readLock()
|
void |
removeConversationListener(ConversationListener listener)
adds a listener to the model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConversationModel(FrameworkModel model)
| Method Detail |
|---|
public abstract int getConversationCount()
getConversationCount in interface ConversationModelpublic abstract ConversationID getConversationAt(int index)
getConversationAt in interface ConversationModelpublic abstract int getIndexOfConversation(ConversationID id)
getIndexOfConversation in interface ConversationModelpublic abstract EDU.oswego.cs.dl.util.concurrent.Sync readLock()
readLock in interface ConversationModelpublic java.lang.String getConversationOrigin(ConversationID id)
getConversationOrigin in interface ConversationModelpublic java.util.Date getConversationDate(ConversationID id)
getConversationDate in interface ConversationModelpublic java.lang.String getRequestMethod(ConversationID id)
getRequestMethod in interface ConversationModelpublic java.lang.String getResponseStatus(ConversationID id)
getResponseStatus in interface ConversationModelpublic HttpUrl getRequestUrl(ConversationID id)
getRequestUrl in interface ConversationModelpublic Request getRequest(ConversationID id)
getRequest in interface ConversationModelpublic Response getResponse(ConversationID id)
getResponse in interface ConversationModelpublic void removeConversationListener(ConversationListener listener)
removeConversationListener in interface ConversationModellistener - the listener to addpublic void addConversationListener(ConversationListener listener)
addConversationListener in interface ConversationModellistener - the listener to add
protected void fireConversationAdded(ConversationID id,
int position)
id - the conversationposition - the position in the list
protected void fireConversationRemoved(ConversationID id,
int position)
id - the conversation IDposition - the position in the overall conversation list prior to removal
protected void fireConversationChanged(ConversationID id,
int position)
id - the conversationproperty - the name of the property that was changedprotected void fireConversationsChanged()
id - the conversationproperty - the name of the property that was changed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||