|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
Task is a job that can be ran by the Session when certain types of events are received. This class is very much like IRCEventListener , but it can be associated with Types of events. See Session's onEvent methods for details. Task Tutorial
Session.onEvent(Task)
,
Session.onEvent(jerklib.tasks.Task, jerklib.events.IRCEvent.Type...)
,
IRCEvent.Type
Method Summary | |
---|---|
void |
cancel()
Cancel a task. |
String |
getName()
Gets the name of a task |
boolean |
isCanceled()
|
Methods inherited from interface jerklib.listeners.IRCEventListener |
---|
receiveEvent |
Method Detail |
---|
String getName()
void cancel()
boolean isCanceled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |