|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.opennap.net.OpenNapBrowse
public class OpenNapBrowse
Implements an OpenNap search on set of servers.
Constructor Summary | |
---|---|
OpenNapBrowse(OpenNapUser user)
|
Method Summary | |
---|---|
void |
exceptionThrown(java.lang.Exception e)
|
javax.swing.Action[] |
getActions()
Returns null . |
SearchFilter |
getFilter()
Returns null . |
java.lang.String |
getName()
Returns the name of the user that is browsed. |
BrowseRequestMessage |
getRequest()
|
java.lang.String |
getStatus()
Returns a string that describes the current status. |
boolean |
isDone()
Returns true, if this search can not be canceled. |
boolean |
isFailed()
Returns true, if the browse failed. |
void |
messageReceived(ServerMessage msg)
|
boolean |
showTree()
Returns true . |
void |
start(SearchHandler handler)
Starts this search. |
void |
stop()
Cancels this search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenNapBrowse(OpenNapUser user)
Method Detail |
---|
public void exceptionThrown(java.lang.Exception e)
exceptionThrown
in interface ExceptionListener
public javax.swing.Action[] getActions()
null
.
getActions
in interface Search
public SearchFilter getFilter()
null
.
getFilter
in interface Search
public java.lang.String getName()
getName
in interface Search
public BrowseRequestMessage getRequest()
public boolean showTree()
true
.
showTree
in interface Search
public java.lang.String getStatus()
getStatus
in interface Search
public boolean isDone()
isDone
in interface Search
public boolean isFailed()
OpenNapBrowseInterface
isFailed
in interface OpenNapBrowseInterface
public void start(SearchHandler handler)
start
in interface Search
handler
- the object that handles the resultspublic void stop()
stop
in interface Search
public void messageReceived(ServerMessage msg)
messageReceived
in interface MessageListener
xnap.plugin.nap.net.msg.server.MessageListener#messageReceived(xnap.plugin.nap.net.msg.server.ServerMessage)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |