jChatBox.Chat.Event
Interface ChatroomTimerListener

All Superinterfaces:
ChatroomListener, java.io.Serializable

public interface ChatroomTimerListener
extends ChatroomListener

ChatroomTimerListener adds time-based events notification to ChatroomListener. trigger() method is called periodically through an underlying ChatroomTimer (Thread).

Since:
2.6

Method Summary
 long getPeriod()
          Return Timer period.
 void trigger(ChatroomTimer timer)
          This method will be called periodically.
 
Methods inherited from interface jChatBox.Chat.Event.ChatroomListener
actionPerformed, getDescription, getID, getName, init
 

Method Detail

getPeriod

public long getPeriod()
Return Timer period.

Returns:
period in milliseconds (should be greater than 1000)

trigger

public void trigger(ChatroomTimer timer)
This method will be called periodically.

Parameters:
timer -